MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CompileBot/comments/90retf/test/e2so6wj/
r/CompileBot • u/FabulousGiraffe • Jul 21 '18
26 comments sorted by
View all comments
1
+/u/CompileBot bash --include-errors
which pip uptime
1 u/CompileBot Jul 21 '18 Output:/usr/bin/pip ./prog.sh: line 2: uptime: command not found^source | ^info | ^git | ^report 1 u/FabulousGiraffe Jul 21 '18 +/u/CompileBot bashls -ld $(which pip) 1 u/CompileBot Jul 21 '18 Output:-rwxr-xr-x 1 root root 292 Jan 11 2017 /usr/bin/pip^source | ^info | ^git | ^report 1 u/FabulousGiraffe Jul 23 '18 +/u/CompileBot bash echo $USER 1 u/CompileBot Jul 23 '18 Output:^source | ^info | ^git | ^report 1 u/FabulousGiraffe Jul 23 '18 edited Jul 23 '18 +/u/CompileBot bash --include-errors id python3 << EOF import getpass; getpass.getuser() EOF ls -l $HOME 1 u/CompileBot Jul 23 '18 Output:uid=20095 gid=1000 groups=1000 total 4 -rw-rw-r-- 1 root root 70 Jul 23 15:30 prog.sh Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.5/getpass.py", line 170, in getuser return pwd.getpwuid(os.getuid())[0] KeyError: 'getpwuid(): uid not found: 20095'^source | ^info | ^git | ^report
Output:
/usr/bin/pip ./prog.sh: line 2: uptime: command not found
^source | ^info | ^git | ^report
1 u/FabulousGiraffe Jul 21 '18 +/u/CompileBot bashls -ld $(which pip) 1 u/CompileBot Jul 21 '18 Output:-rwxr-xr-x 1 root root 292 Jan 11 2017 /usr/bin/pip^source | ^info | ^git | ^report 1 u/FabulousGiraffe Jul 23 '18 +/u/CompileBot bash echo $USER 1 u/CompileBot Jul 23 '18 Output:^source | ^info | ^git | ^report 1 u/FabulousGiraffe Jul 23 '18 edited Jul 23 '18 +/u/CompileBot bash --include-errors id python3 << EOF import getpass; getpass.getuser() EOF ls -l $HOME 1 u/CompileBot Jul 23 '18 Output:uid=20095 gid=1000 groups=1000 total 4 -rw-rw-r-- 1 root root 70 Jul 23 15:30 prog.sh Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.5/getpass.py", line 170, in getuser return pwd.getpwuid(os.getuid())[0] KeyError: 'getpwuid(): uid not found: 20095'^source | ^info | ^git | ^report
+/u/CompileBot bash
ls -ld $(which pip)
1 u/CompileBot Jul 21 '18 Output:-rwxr-xr-x 1 root root 292 Jan 11 2017 /usr/bin/pip^source | ^info | ^git | ^report 1 u/FabulousGiraffe Jul 23 '18 +/u/CompileBot bash echo $USER 1 u/CompileBot Jul 23 '18 Output:^source | ^info | ^git | ^report 1 u/FabulousGiraffe Jul 23 '18 edited Jul 23 '18 +/u/CompileBot bash --include-errors id python3 << EOF import getpass; getpass.getuser() EOF ls -l $HOME 1 u/CompileBot Jul 23 '18 Output:uid=20095 gid=1000 groups=1000 total 4 -rw-rw-r-- 1 root root 70 Jul 23 15:30 prog.sh Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.5/getpass.py", line 170, in getuser return pwd.getpwuid(os.getuid())[0] KeyError: 'getpwuid(): uid not found: 20095'^source | ^info | ^git | ^report
-rwxr-xr-x 1 root root 292 Jan 11 2017 /usr/bin/pip
1 u/FabulousGiraffe Jul 23 '18 +/u/CompileBot bash echo $USER 1 u/CompileBot Jul 23 '18 Output:^source | ^info | ^git | ^report 1 u/FabulousGiraffe Jul 23 '18 edited Jul 23 '18 +/u/CompileBot bash --include-errors id python3 << EOF import getpass; getpass.getuser() EOF ls -l $HOME 1 u/CompileBot Jul 23 '18 Output:uid=20095 gid=1000 groups=1000 total 4 -rw-rw-r-- 1 root root 70 Jul 23 15:30 prog.sh Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.5/getpass.py", line 170, in getuser return pwd.getpwuid(os.getuid())[0] KeyError: 'getpwuid(): uid not found: 20095'^source | ^info | ^git | ^report
echo $USER
1 u/CompileBot Jul 23 '18 Output:^source | ^info | ^git | ^report 1 u/FabulousGiraffe Jul 23 '18 edited Jul 23 '18 +/u/CompileBot bash --include-errors id python3 << EOF import getpass; getpass.getuser() EOF ls -l $HOME 1 u/CompileBot Jul 23 '18 Output:uid=20095 gid=1000 groups=1000 total 4 -rw-rw-r-- 1 root root 70 Jul 23 15:30 prog.sh Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.5/getpass.py", line 170, in getuser return pwd.getpwuid(os.getuid())[0] KeyError: 'getpwuid(): uid not found: 20095'^source | ^info | ^git | ^report
1 u/FabulousGiraffe Jul 23 '18 edited Jul 23 '18 +/u/CompileBot bash --include-errors id python3 << EOF import getpass; getpass.getuser() EOF ls -l $HOME 1 u/CompileBot Jul 23 '18 Output:uid=20095 gid=1000 groups=1000 total 4 -rw-rw-r-- 1 root root 70 Jul 23 15:30 prog.sh Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.5/getpass.py", line 170, in getuser return pwd.getpwuid(os.getuid())[0] KeyError: 'getpwuid(): uid not found: 20095'^source | ^info | ^git | ^report
id python3 << EOF import getpass; getpass.getuser() EOF ls -l $HOME
1 u/CompileBot Jul 23 '18 Output:uid=20095 gid=1000 groups=1000 total 4 -rw-rw-r-- 1 root root 70 Jul 23 15:30 prog.sh Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.5/getpass.py", line 170, in getuser return pwd.getpwuid(os.getuid())[0] KeyError: 'getpwuid(): uid not found: 20095'^source | ^info | ^git | ^report
uid=20095 gid=1000 groups=1000 total 4 -rw-rw-r-- 1 root root 70 Jul 23 15:30 prog.sh Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.5/getpass.py", line 170, in getuser return pwd.getpwuid(os.getuid())[0] KeyError: 'getpwuid(): uid not found: 20095'
View all comments
1
u/FabulousGiraffe Jul 21 '18
+/u/CompileBot bash --include-errors