News for hackers. Stuff that matters.
Re:Less Commonly Used Unix Commands by VLM on Monday February 17, 2014 @11:52AM (#7252905)
Site's non-responsive now, wonder what the list was?

I'll vote for "yes" which at least seems intuitively useful in a "yes | rm -i something" kind of way. Well that specific example is useless... Also over two decades ago if you obtained access to someones account it was considered highly amusing to end their .profile with a call to /bin/yes. Oh and before the newfangled /dev/urandom (or /dev/zero) we used to redirect "yes" out to media to wipe them or test overall system thruput.

Now for one thats truly obscure and ripe for abuse because no one ever runs it anymore, try RMT the remote magtape manipulator.

Re:Less Commonly Used Unix Commands by JadeNB on Monday February 17, 2014 @12:47PM (#7253251)
> I'll vote for "yes" which at least seems intuitively useful in a "yes | rm -i something" kind of way.

I use it when I want to compile a LaTeX document and ignore errors:

    $ yes ^M | pdflatex document
(useful because TeX tools hate accepting command-line options).
Re:Less Commonly Used Unix Commands by mzs on Monday February 17, 2014 @01:15PM (#7253446)

    column: create columns from text input
    tr: translate/substitute/delete input
    join: like a database join but for text
    comm: file comparison like a db join
    paste: put lines in a file next to each other
    rs: reshape arrays
    jot: generate data
    expand: replace spaces and/or tabs
    time: track how long a task takes to run
    watch: execute something on a schedule in realtime
    xargs: execute something on all inputs
    iftop: visually show network traffic
    htop: show system stats more powerfully
    xxd: manipulate files in hex
    mtr: powerful traceroute replacement
    mdfind: osx find replacement that uses spotlight
    brew: osx package manager
    df: disk usage
    du: disk usage
    dig: dns queries
    host: dns queries
    man ascii: lookup your ascii
    sshfs: mount a directory through ssh
    wget: get w’s
    tmux: a better screen
    pushd: push your pwd to a stack
    popd: pop pwd off your stack
    lsof: godlike
    ncat: use this instead of nc
    fuser: kills locking processes
    vim: attack yourself
    tac: cat in reverse
    rename: change spaces to underscores in names
    open .: in osx, open finder in the current dir
    lsmod: show kernel modules
    printf: change the format of output
    timeout: execute something and kill it soon after
    disown: protect a job from disconnect
    fc: edit your last command in your editor and execute it
    sudo !!: repeat last command with sudo
    tee: send output to stdout as well
    pgrep: greps through processes
    pkill: kills processes based on search
    fmt: text formatter
    bc: an interactive calculator language
    apropos: info on commands
    strace: the uber debug tool
    man units: interesting
    pstree: shows processes in a…well…tree
    ddate: wtf
    zgrep: grep within compressed files
    zless: look at compressed files
    readlink: read values of links
    atop: another top
    split: break a file into pieces
    dd: disk writing
    ndiff: show differences in mmap scans
    ss: show apps using the internet
Re:Less Commonly Used Unix Commands by cellover on Monday February 17, 2014 @01:44PM (#7253631)
whatis <cmd> when unsure of what a command does is quite helpful and displays short manual page descriptions, for instance some metaphysical question: > whatis time