303 reputation
211
bio website
location
age
visits member for 1 year, 11 months
seen Sep 8 at 13:37

Sep
16
awarded  Popular Question
Aug
6
awarded  Notable Question
Jul
2
awarded  Curious
Feb
25
awarded  Popular Question
Jan
20
accepted How can I use tee to print the input stream?
Jan
19
comment How can I use tee to print the input stream?
Ideally, I'd like to print the results of tee to stdout and have it appear before the results of my perl script.
Jan
19
asked How can I use tee to print the input stream?
Jan
2
comment How can I find and/or print sudo's lecture file?
Yes, in theory, this is exactly what I'm looking for; however, I do not get this output on Ubuntu or OS X.
Jan
2
comment How can I find and/or print sudo's lecture file?
It shows a bunch of text. Here's a sample: --prefix=/usr -v --with-all-insults --with-pam --with-fqdn --with-logging=syslog --with-
Jan
2
comment How can I find and/or print sudo's lecture file?
I'm on Ubuntu 12.04.3 LTS (Precise Pangolin).
Jan
2
awarded  Commentator
Jan
2
comment How can I find and/or print sudo's lecture file?
Thanks. This is starting to make some sense. However, on Ubuntu, the command you provided does not output anything.
Jan
2
comment How can I find and/or print sudo's lecture file?
Yes, I read the man page, but I still dont understand. If I try: nano /etc/sudoers.lecture there is no file present. How do I print or open the default lecture file?
Jan
2
asked How can I find and/or print sudo's lecture file?
Dec
9
comment Command working from CLI but not from script
Thank you! I would have never figured that out, your response is most appreciated. This worked!
Dec
9
accepted Command working from CLI but not from script
Dec
9
comment Command working from CLI but not from script
I've added the output from /bin/bash -x script.sh above. So strange. The command works just fine from the CLI, just not in a script.
Dec
9
revised Command working from CLI but not from script
added 3234 characters in body
Dec
9
comment Command working from CLI but not from script
thanks for the help, unfortunately this doesn't work.
Dec
9
asked Command working from CLI but not from script