Reputation
1,722
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 21 31
Impact
~262k people reached

Jun
5
comment Where are the default error/debug log files of smbclient located?
After trying this a bit,.seems -d does output to stdout, but I'm still unsure about where these logfiles are..
Jun
5
asked Where are the default error/debug log files of smbclient located?
Jun
4
awarded  Yearling
May
19
comment Saving a email as file in mutt?
also, this saves the attachments in the exported email file, as well.
May
19
comment Saving a email as file in mutt?
Just a note: if your email message contains attachments, then saving just the first entry from the attachments list will save the message - but without the attachments included inside.
May
1
awarded  Notable Question
Apr
2
awarded  Popular Question
Apr
1
awarded  Good Question
Mar
24
awarded  Famous Question
Mar
14
asked Hexdump of a string starting at new lines?
Feb
24
awarded  Popular Question
Feb
23
comment Using process substitution to trick programs expecting files, with specific extensions as argument?
Many thanks for that @Gilles - I accepted this answer, because it answer the question generically. Unfortunately, I couldn't quite get scriptfs to work - here is a command log I saved at the time (AFAICR, stackexchange crashed that day :)) gist.github.com/anonymous/e9ee5e8c53d1b4c3c736 - so I ended up using a bash script approach which I posted below. Cheers!
Feb
23
accepted Using process substitution to trick programs expecting files, with specific extensions as argument?
Feb
23
answered Using process substitution to trick programs expecting files, with specific extensions as argument?
Feb
5
comment “Last resort” Linux terminal command to reboot (over ssh) in case of a kernel bug?
Just a note: I just tested several times with sudo reboot -f from ssh (both typed manually and in a script), and realized late that actually there are several instances of reboot -f shown in ps axf with status D which is uninterruptible sleep (usually IO); probably the kernel bug freezes the reboot commands as well...
Feb
5
revised Running a “scheduled”/delayed script as sudo on server, via ssh - and right before ssh exit
fix title
Feb
5
comment Running a “scheduled”/delayed script as sudo on server, via ssh - and right before ssh exit
Many thanks for that, @StephenKitt, that seems to work great! Just a note: if I forget to do say sudo ls before I execute the command, so that my password is asked for and temporarily remembered, then I might get [1]+ Stopped sudo bash /home/user/testsleep.sh from_end ; logout ; There are stopped jobs., so I had to do fg until I saw and answered the password prompt. Btw, in syslog I get mypc user: Pre sleep: root...but mypc logger: Post sleep: root... - any idea why "pre sleep" has user and "post sleep" has logger as username?
Feb
5
accepted Running a “scheduled”/delayed script as sudo on server, via ssh - and right before ssh exit
Feb
5
comment Running a “scheduled”/delayed script as sudo on server, via ssh - and right before ssh exit
Thanks, @StephenKitt - well spotted, fixed in OP now; unfortunately the sudo bash /home/user/testsleep.sh from_end & exit still doesn't print anything in syslog even with this change (I guess I didn't notice the mistake since I invoke bash explicitly here, which will ignore the shebang). Cheers!
Feb
5
revised Running a “scheduled”/delayed script as sudo on server, via ssh - and right before ssh exit
fix