Reputation
895
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
1 7 15
Newest
 Curious
Impact
~76k people reached

28m
comment Copying latest file from remote server
Why rsync? As opposed to, say, scp abc@xyz:$(ssh abc@xyz ls -ht /tmp/*.doc | head -n 1) .. Anyway, I have the same problem, and this solves it, so thank you :)
2d
comment sshd not starting after boot on embedded linux built with buildroot?
Can't help directly, but: add some logging to the init script, restart again, then retrieve the logs. At least you can figure out if the script is even being run or if it's exiting early due to no ssh-keygen or something. Oh, and you are probably interested in ssh*d*_config.
May
19
comment Can anyone explain this command?
from man netstat: -p, --program Show the PID and name of the program to which each socket belongs.
May
19
awarded  Curious
May
18
asked How can I find the list of packages available in Chrome OS?
Apr
9
comment My /var/log/ is mysteriously filling up GBs in minutes! Any cure before I re-install Debian 7?
@learnerX that's part of a stack trace. tail -f /var/log/syslog will scroll the syslog (until it rotates) and let you see a little more of what's happening (don't post the whole thing here, but watch it and get a feel for what's repeating, so you know what to investigate). ath9k might be a wifi chipset, maybe try disabling your wifi as a troubleshooting step (also try unplugging any peripherals).
Mar
10
comment can a super user steal passwords from other users with keylogging?
It's not useless if the user has a difficult-to-crack password they use on multiple sites.
Mar
5
accepted How do I move a line in a text file up or down by one line?
Mar
4
comment How do I prevent just 'exit' from being saved when I close an SSH connection?
HISTIGNORE=exit in .bashrc (search around here for examples)
Mar
4
asked How do I move a line in a text file up or down by one line?
Feb
24
comment how to express line feed in shell?
or echo -e...
Feb
6
comment Help with script over a list of files
as long as they're sequential and you're using bash: mkvmerge -o newfile.mkv 1.mkv +{2..5}.mkv
Feb
6
comment Create list of folders with a matching (but not identical) ending
@Costas go ahead. And thanks for teaching me about uniq -d
Feb
6
comment Create list of folders with a matching (but not identical) ending
that will do pre OR post, but I think OP asked for AND. So maybe along the same lines, for f in *.ctpre; do x=${f%.ctpre}; test -d "$x.ctpost" && echo $x; done
Feb
4
comment How do I troubleshoot networking on Debian
browse /var/log/apt* and /var/log/dpkg* for any upgrades that happened since your previous restart, i.e. anything that might have gotten changed but not taken effect until you restarted. Kind of a long shot, but maybe you installed something you forgot about.
Feb
3
awarded  Yearling
Jan
24
comment Is there way to see `man` document only for specified option of a command
And then n goes to the next instance.
Jan
9
answered Using grep for listing certain lines from a file
Jan
9
comment How do I make grep list the count of matches before the filename?
sounds like an X-Y problem..‌​. (I'm not going to pass up an opportunity to say that to someone with more rep than me ;))
Jan
6
comment Restore from lost+found
It won't restore the old hierarchy but if they are pictures, some photo organizer programs will read the EXIF data from the pictures and can import the files into a year/month/day hierarchy for you.