Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Timeline for comedy list by climagic

Command Line Magic climagic comedy Friday, 30-Nov-01 00:00:00 UTC
  • Subscribe
Listed 1 Subscribers 0
  1. Command Line Magic Command Line Magic

    awk '$1>250 { x++ } END {print x}' data # Print the number of lines in the file data where the first column is a number greater than 250.

    about 20 hours ago from Net::Twitter
  2. Command Line Magic Command Line Magic

    RT @jamesmslocum: Draw from the commmand line convert -size 100x100 xc:white -fill black -draw 'circle 50,50 60,60' circle.png

    about 21 hours ago from Net::Twitter
  3. Command Line Magic Command Line Magic

    li(){ space=$(printf "%${1:-2}s");sed "s/^/$space/"; } # This will turn it into a function you can pipe too. Example: ls -1 | li 5

    about 2 days ago from Net::Twitter
  4. Command Line Magic Command Line Magic

    ls -l | sed 's/^/ /' # Indent every line by two characters on a console display where the far left side is hard to see.

    about 2 days ago from Net::Twitter
  5. Command Line Magic Command Line Magic

    http://bit.ly/17SUs09 # Inspiring story about a child from a broken home who through perseverance became a leader in Comp. Sci.

    about 2 days ago from Net::Twitter
  6. Command Line Magic Command Line Magic

    Apple: Do --everything different.

    about 2 days ago from Net::Twitter in context
  7. Command Line Magic Command Line Magic

    for i in $(seq 2012 -1 1950);do [ $( diff <(ncal -h 6 2013|tail -n+2) <(ncal -h 6 $i|tail -n+2) |wc -l ) == 0 ] && echo $i;done # June match

    about 2 days ago from Net::Twitter in context
  8. Command Line Magic Command Line Magic

    http://bit.ly/12LhDIC # What a mom's keyboard might look like. Then again, some moms know 68K Assembly.

    about 5 days ago from Net::Twitter
  9. Command Line Magic Command Line Magic

    Famous user quotes: I didn't change anything. I swear!

    about 5 days ago from Net::Twitter
  10. Command Line Magic Command Line Magic

    http://bit.ly/RnlsNV # Find yourself typing gti instead of git, this will "train" you just like sl does.

    about 5 days ago from Net::Twitter
  11. Command Line Magic Command Line Magic

    sudo apt-get install sl # This will "train" you. Thanks @Scooter789

    about 5 days ago from Net::Twitter
  12. Command Line Magic Command Line Magic

    find . -printf "%TY\n" | sort -n | uniq -c # Show a file count by year file last modified starting from the current directory descending.

    about 6 days ago from Net::Twitter
  13. Command Line Magic Command Line Magic

    sudo tcpdump -n -w- | play --buffer 10000 -r 8000 -b 8 -c 1 -e signed-integer -t raw - band 2k # *Turn volume down* and listen to network.

    about 6 days ago from Net::Twitter
  14. Command Line Magic Command Line Magic

    ffmpeg -f x11grab -s wxga -r 25 -i :0.0 -sameq ./out.mpg # Using ffmpeg to Record screen buffer content as video. Thanks @_gowdru

    about 7 days ago from Net::Twitter
  15. Command Line Magic Command Line Magic

    du -hxd1 . # Show space usage of one level deep subdirectories of CWD without descending into other filesystems.

    about 8 days ago from Net::Twitter
  16. Command Line Magic Command Line Magic

    detach_smallest(){ tmux detach -t$(tmux list-clients |awk -F'[:[x ]' 'BEGIN {l=99999}{s=$5*$6;if (s<l){l=s;t=$1}} END{print t}'); } #tmux

    about 8 days ago from Net::Twitter
  17. Command Line Magic Command Line Magic

    ssh you@friendscomputer 'write friend <<<"You want to have lunch? -- $USER"' # Be sure nobody else sees private communication.

    about 9 days ago from Net::Twitter
  18. Command Line Magic Command Line Magic

    while ! pgrep -f trigger ; do sleep 1 ; done ; fg # Wait for trigger to show up in process list and then fg the current backgrounded job.

    about 10 days ago from Net::Twitter
  19. Command Line Magic Command Line Magic

    sha1sum access_log <(zcat access_log.gz) # See if access_log and the decompressed form of access_log.gz are actually the same.

    about 11 days ago from Net::Twitter
  20. Command Line Magic Command Line Magic

    find . -maxdepth 1 -type d -empty # Find directories directly below the current one that are empty. BTW, omitting '.' is a GNU only thing.

    about 12 days ago from Net::Twitter in context
  • Before
  • List
  • Listed
  • Subscribers

Site notice

Identi.ca is converting to pump.io some time this week

Listed

  • Command Line Magic climagic

Subscribers

    (None)

    Feeds

    • Activity Streams
    • RSS 2.0
    • Atom
    • 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