Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Timeline for programming list by climagic

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

    for f in * ; do l=$( grep http:// "$f" | wc -l ) ; echo "$l $f" ; done > urls-in-files-count.txt # Count number of URLs in each file.

    about 48 minutes ago from Net::Twitter
  2. Command Line Magic Command Line Magic

    o="";while [[ -z $o ]];do o=$(curl -s example\.com|grep 'Some text you are expecting eventually' );sleep 5m;done # Check website for text.

    about a day ago from Net::Twitter
  3. Command Line Magic Command Line Magic

    Unix Bands: The Whois, Ctrl-Z top, AC/DC++, Iron RAIDen, /bin/joevi, Dev Leopard, Run-BSD, The Piping Heads, YES (of course) #geekbandnames

    about a day ago from Net::Twitter
  4. Command Line Magic Command Line Magic

    mplayer -vo null pianoconcert.mp4 # Play just the audio track of a video by setting the video output to null.

    about a day ago from Net::Twitter
  5. Command Line Magic Command Line Magic

    ip addr show # And so can you! (Only if you're a Linux user though)

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

    http://bit.ly/16kf7tU # @runmoore sent in his command line cheat sheet. Nice penguin. Share yours too and I'll forward good ones.

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

    awk '/listinfo/{print $1}' mailman-access_log |egrep -v "(yourdomain\.com|^1.2.3.4)$"|sort|uniq # Who besides you has been visiting mailman

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

    time cat # A simple stopwatch that works more universally. Use Ctrl-D to stop. Check elapsed or real time in output.

    about 3 days ago from Net::Twitter in context
  9. Command Line Magic Command Line Magic Matt

    for d in /proc/[0-9]*; do echo $(< $d/oom_score) $(tr '\0' ' ' < $d/cmdline);done |sort -rn|head # Top Linux OOM score cmds. Thx @brimston3

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

    http://bit.ly/x0j9Uz # A reminder since its still a problem. Don't use libvte based terms (gnome-terminal, Terminator and others) until read

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

    OIFS=$IFS;IFS=$'\n';vim $( grep -l '$fill' *.pl );IFS=$OIFS # Edit the set of files that contain the variable $somevar.

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

    rpm -qa --queryformat "%{BUILDHOST} %{NAME}\n"|awk '$1!~/(redhat\.com|fedoraproject\.org)$/' # List RPMs from unofficial repos. #redhat

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

    wget mirror\.server/centos5.9/disc{2,4}of9.iso # Get disc 2 and 4 using brace expansion. Because they couldn't fit "basic stuff" on disc1.

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

    zcat dump.sql.gz | sed -n '5000,7500p' > newdump.sql # Put lines 5000 through 7500 from a large compressed SQL file into a new file.

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

    ps aux |grep vm1 |cut -c 1-$COLUMNS # ps sends full line when output is a pipe so you can grep past the line and then cut it to term width.

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

    Don't you love it when you're watching some new documentary and all the scientists are using the command line for their work.

    about 6 days ago from Net::Twitter in context
  17. Command Line Magic Command Line Magic

    Eventually the developers will add every option for every purpose to every program and I'll be out of a job and Unix will be no fun.

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

    df -Pl -t ext3 -t ext4 | tail -n+2 | awk '{ sum+=$3 } END { print sum/2**20 }' # Print disk space used on all ext3 or 4 FS in GiB.

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

    http://ur1.ca/90xl2 # ASCII art stereogram generated using aa3d. Focus past the text on the screen.

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

    echo "Would you like to play a game?" | (espeak || say -v Fred) # Well would you? #wargames30

    about 8 days ago from Net::Twitter
  • Before
  • List
  • Listed
  • Subscribers

Site notice

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

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