Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Timeline for aix list by climagic

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

    ohssh # Out of band shell to help recover a system after screwing up firewall rules or something like that. #fakecommand

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

    Unix Bands: GNUs Not U2, UINXS, Smooth Operator from Hell, Jay-Zsh, Symlinkin Park, R Sync # Thx @mister_ozinski & @iiSeymour

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

    Malicious hacker = Looks to exploit you out of your precious resources. Sales people = same

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

    If running a command twice destroys all your data, try it a third time to really screw shit up.

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

    cd . # Might seem useless, but if your shell's CWD is in a directory that was deleted/recreated, this will put you in the new directory.

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

    apt-file search /usr/bin/apxs2 # On Debian, find out which non-installed package provides a file. Need to install apt-file package first.

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

    topcount() { sort | uniq -c | sort -rn | head -n ${1:-10}; } # Make a top instance counting function that you can pipe through. Default=10

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

    man xsel | sed -n '/DESCRIPTION/,/Input options/p' # Read this and you may better understand the mess that is X server select/copy/paste.

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

    mv -v www.example.com{,-oldsite} && mv -v {dev,www}.example.com # Swap out the old website and replace with the dev site in one move.

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

    exec -a vim nethack # Now if your boss runs ps aux on your system, they will think you're working, not playing a game.

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

    exec su - $USER # Restart your login again with same $SHLVL in place. Allows new group assignments to take effect.

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

    !tar:p # Print out the last tar command used in your history. Then type !tar to run it again.

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

    sshfs user@remotehost:/remotedir mydir # sshfs is a nice util that uses FUSE and SSH to mount a remote directory as a local one.

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

    777 are great numbers in Vegas, but horrible numbers on your files and directories.

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

    http://ur1.ca/dy9i0 # A site that performs static analysis of your shell code and shows warnings and errors inline. Thx @kultapanda

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

    egrep -v "^#|^$" httpd.conf # display the httpd.conf file contents and exclude blank lines and lines that start with comment character.

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

    paste <(cal 2013) <(cal 2014) # Look at the full year calendar for 2013 and 2014 side by side.

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

    On that last one I should have clarified, it counts number of lines with URLs, not total URLs if there are more than one per line.

    about 7 days ago from Net::Twitter
  19. 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 7 days ago from Net::Twitter
  20. 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 9 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