Slashdot Mirror


What's Your Command Line Judo?

lousyd asks: "We all have our CLI amor. That two- or three-letter command that fiddles our heartstrings. 'mv' is pedestrian, but 'mmv' is so cool. 'cp' can lug bits around all day to no applause, but 'cpio' will excite even the most jaded of command line linguists. 'How perfect!' you exclaim. So what's your poison? What turns you on? What little known command performs just the right function for you?"

4 of 272 comments (clear)

  1. hrm. by grub · · Score: 2, Funny


    foad works every time.

    --
    Trolling is a art,
  2. Here's mine by Henry+V+.009 · · Score: 5, Funny
    My most important tools as a system admin:
    alias rm 'rm -rf \!*'
    alias hose kill -9 '`ps -augxww | grep \!* | awk \'{print $2}\'`'
    alias kill 'kill -9 \!* ; kill -9 \!* ; kill -9 \!*'
    alias renice 'echo Renice\? You must mean kill -9.; kill -9 \!*'
  3. Re:can't eat just one by Anonymous Coward · · Score: 1, Funny

    I complained. They [Microsoft] showed me their (Microsoft's purchased from IBM) unix, "xenix", and their "grep" command. Ahhhhh, better. I typed: grep -i mystring *.* and it replied "unknown option -i". I complained about not having an "ignore case" option. They looked at me like I was crazy... "Why would you ever want to ignore case?"

    ARG! Microsoft asked why you'd ever want to ignore case!? Do they even know about FAT and NTFS?

    Which, by the way, also explains your first anecdote. In Windows land, it's the filesystem driver that interprets the globs, not the shell. Enjoy your Saturday night, thinking about a filesystem driver interpreting wildcards.

  4. Grossest commands... by Anonymous Coward · · Score: 1, Funny

    Personally, I like head. And getting tail is always fun. Of course, the classic sequence is:

    unzip ; strip ; touch ; nice ; finger ; grep; mount ; fsck ; more; yes ; umount ; make clean ; sleep ; dump