The cake is a lie

Linux Love, part 2

(Continuation of Why I Love Linux)

  1. Need to make a quick ISO image of your CD or DVD?
    dd if=/dev/cdrom of=/tmp/output.iso
  2. Your minion co-worker is leaving the office for an alleged 5 minutes, you believe David he is a liar and need to prove him wrong? time read in your nearest terminal, then hit ctrl+d whenever he’s back, and tada, instant stopwatch.
  3. Need to SSH but don’t feel like using ol’ cd and ls? Fire up KDE's fish:// protocol and SSHing is the same as browsing your local files. Even edit things in-place.
  4. You're doing something long and CPU-intensive in a terminal but you feel like playing a game that needs said CPU? ctrl+z to pause the process, do your thing, then fg to resume.
  5. Need to make a quick backup of something and too lazy to type it twice? cp foo{,.bak} is equivalent to cp foo foo.bak. Great for those /super/long_paths/that\ everyone.dreads.
  6. Bonus Super-Useful Alias: alias p='ps aux | grep -i'. Need to check if your rogue daemon process is still alive? p foo

Much of this was written about a year ago and I never got around to posting it. Yay for agelessness of Linux.

No comments

No comments yet. Be the first.

Leave a reply

Preview: