Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Command-line Fu (commandlinefu3)

  1. Command-line Fu Command-line Fu Command-line Fu

    Timer with sound alarm: $ say(){ mplayer -user-agent Mozilla "http://translate.google.com/translate_t... http://tinyurl.com/3j589o6 !clf

    Monday, 25-Apr-11 16:49:40 UTC from twitterfeed
  2. Command-line Fu Command-line Fu Command-line Fu

    Timer with sound alarm: $ sleep 3s && espeak "wake up, you bastard" 2>/dev/null I'd prefer this one, ... http://tinyurl.com/42x47q7 !clf

    Wednesday, 20-Apr-11 15:08:28 UTC from twitterfeed
  3. Command-line Fu Command-line Fu Command-line Fu

    Concating pdf files: $ pdftk inp1.pdf inp2.pdf inp3.pdf cat output out.pdf View this command to comm... http://tinyurl.com/3krontk !clf

    Wednesday, 20-Apr-11 06:54:59 UTC from twitterfeed
  4. Command-line Fu Command-line Fu Command-line Fu

    Timer with sound alarm: $ sleep 15m; yes > /dev/dsp Just replace 15m with desired time. no suffix or ... http://tinyurl.com/3cfkogo !clf

    Monday, 18-Apr-11 16:59:01 UTC from twitterfeed
  5. Command-line Fu Command-line Fu Command-line Fu

    Find out current working directory of a process: $ eval ls -l /proc/{$(pgrep -d, COMMAND)}/cwd This i... http://tinyurl.com/3cvdpge !clf

    Friday, 15-Apr-11 23:18:30 UTC from twitterfeed
  6. Command-line Fu Command-line Fu Command-line Fu

    GRUB2: set Super Mario as startup tune: $ echo "GRUB_INIT_TUNE=\"1000 334 1 334 1 0 1 334 1 0 1 261 1... http://tinyurl.com/44czwnl !clf

    Wednesday, 13-Apr-11 13:30:21 UTC from twitterfeed
  7. Command-line Fu Command-line Fu Command-line Fu

    Indent a one-liner.: $ type <function name> Bash builtin type also indents the function. View this co... http://tinyurl.com/3hklgv6 !clf

    Tuesday, 12-Apr-11 10:41:02 UTC from twitterfeed
  8. Command-line Fu Command-line Fu Command-line Fu

    clear screen, keep prompt at eye-level (faster than clear(1), tput cl, etc.): $ c() printf "\33[2J" t... http://tinyurl.com/3kc3d3c !clf

    Wednesday, 06-Apr-11 13:12:58 UTC from twitterfeed
  9. Command-line Fu Command-line Fu Command-line Fu

    Create a 5 MB blank file via a seek hole: $ dd if=/dev/zero of=testfile.seek seek=5242879 bs=1 count=... http://tinyurl.com/3zcs23w !clf

    Tuesday, 05-Apr-11 18:40:40 UTC from twitterfeed
  10. Command-line Fu Command-line Fu Command-line Fu

    Load average + API google chart: $ limite="5";load5=$(awk '{print $1}' /proc/loadavg);echo "http://ch... http://tinyurl.com/3jckaoa !clf

    Monday, 04-Apr-11 16:05:45 UTC from twitterfeed
  11. Command-line Fu Command-line Fu Command-line Fu

    monitor a tail -f command with multiple processes: $ tail -f somefile |tee >(grep --line-buffered '1'... http://tinyurl.com/3mqq4b6 !clf

    Monday, 04-Apr-11 15:45:56 UTC from twitterfeed
  12. Command-line Fu Command-line Fu Command-line Fu

    Load average + API google chart: $ limite="5";load5=$(awk '{print $1}' /proc/loadavg);echo "http://ch... http://tinyurl.com/3jckaoa !clf

    Monday, 04-Apr-11 15:44:57 UTC from twitterfeed
  13. Command-line Fu Command-line Fu Command-line Fu

    mirrors directory to a ftp server: $ lftp -ulogin,passwd -e "mirror --reverse /my/from/dir/ /ftp/targ... http://tinyurl.com/3dswmpy !clf

    Friday, 01-Apr-11 18:14:37 UTC from twitterfeed
  14. Command-line Fu Command-line Fu Command-line Fu

    Poor's man Matrix script: $ while (true) ; do pwgen 1 ; done This creates a matrix of letters that ru... http://tinyurl.com/4pgptru !clf

    Thursday, 31-Mar-11 22:37:23 UTC from twitterfeed
  15. Command-line Fu Command-line Fu Command-line Fu

    Stop All Wine Apps and Processes: $ wineserver -k kills all wine running apps and processes. Make a h... http://tinyurl.com/67v7wer !clf

    Thursday, 31-Mar-11 18:29:05 UTC from twitterfeed
  16. Command-line Fu Command-line Fu Command-line Fu

    Watch Aljazeera live: $ rtmpdump -v -r rtmp://livestfslivefs.fplive.net/livestfslive-live/ -y "aljaze... http://tinyurl.com/5w7dodu !clf

    Thursday, 31-Mar-11 18:29:00 UTC from twitterfeed
  17. Command-line Fu Command-line Fu Command-line Fu

    Selecting a random file/folder of a folder: $ shuf -n1 -e * I used only shuf command. View this comma... http://tinyurl.com/4vn4wzc !clf

    Wednesday, 23-Mar-11 18:11:15 UTC from twitterfeed
  18. Command-line Fu Command-line Fu Command-line Fu

    Watch RX/TX rate of an interface in kb/s: $ while [ /bin/true ]; do OLD=$NEW; NEW=`cat /proc/net/dev ... http://tinyurl.com/4spkde4 !clf

    Wednesday, 23-Mar-11 10:20:09 UTC from twitterfeed
  19. Command-line Fu Command-line Fu Command-line Fu

    List your MACs address: $ lsmac() { ifconfig -a | sed '/eth\|wl/!d;s/ Link.*HWaddr//' ; } View thi... http://tinyurl.com/495nn57 !clf

    Sunday, 20-Mar-11 05:29:54 UTC from twitterfeed
  20. Command-line Fu Command-line Fu Command-line Fu

    ROT13 using the tr command: $ alias rot13="tr a-zA-Z n-za-mN-ZA-M" View this command to comment, vot... http://tinyurl.com/46vy6za !clf

    Friday, 18-Mar-11 10:25:15 UTC from twitterfeed
  • Before

User actions

  • Subscribe
  • List
Command-line Fu

Command-line Fu

http://commandlinefu.com

Command line diamonds - the hottest UNIX nuggets on the web. These commands have a vote of 3 or higher.

Tags
  • (None)

Site notice

Identi.ca is converting to pump.io on 1 June 2013

Following 0

    (None)

    Followers 23

    • David England dwland2k
    • Elias S. Snow elias45
    • لینوکس‌شاپ linuxshop
    • Rove Monteux rovemonteux
    • David Whitman davidglennwhitman
    • michael ramirez radicalmichael
    • Narendra Sisodiya nsisodiya
    • Soroosh Azary Marhabi sazary

    Groups 1

    • Command-line Fu clf

    Statistics

    User ID
    46263
    Member since
    30 Mar 2009
    Notices
    1208
    Daily average
    1

    Feeds

    • Activity Streams
    • RSS 1.0
    • RSS 2.0
    • Atom
    • FOAF
    • Help
    • About
    • FAQ
    • TOS
    • Privacy
    • Source
    • Version
    • Contact

    Identi.ca is a microblogging service brought to you by E14N. It runs the StatusNet microblogging software, version 1.1.0-release, available under the GNU Affero General Public License.

    Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

    Switch to mobile site layout.

    Built in Montreal