Command Line Magic

@climagic

Cool Unix/Linux Command Line tricks you can use in 140 characters or less.

BASHLAND
Tilmeldt november 2009

@climagic er blokeret

Er du sikker på, at du vil vise disse tweets? At vise tweets vil ikke fjerne blokering af @climagic.

  1. "Planetext? Is that like what they use to write NO STEP on the wings and stuff?"

    Oversat fra engelsk af

  2. rsync -nav -e ssh /etc root@remotehost:/etc # Just see what files under /etc are different between the local host and remotehost.

    Oversat fra engelsk af

  3. grep -h LoadModule *.conf | awk '{print }' | xargs ls > /dev/null # Check which Apache modules aren't installed.

    Oversat fra engelsk af

  4. :%! awk '{print $2}' # In vim command mode, this will replace ALL the text in the buffer with just the second column from the buffer.

    Oversat fra engelsk af

  5. The reason English is used so much in computers is because this rich language allows for the creation of so many damn acronyms.

    Oversat fra engelsk af

  6. diff <(sed 's/-[0-9].*$//' old-rpms.txt) <(sed 's/-[0-9].*$//' new-rpms.txt) | grep '< ' # Show most of the rpms I'm missing on new server.

    Oversat fra engelsk af

  7. Need to replace a server called drumroll. So what do I call it? Rimshot of course.

    Oversat fra engelsk af

  8. Command Line Magic fulgte og
    • @cryptoishard

      OSINT / Android / Hacking / Hardware / Cryptography / Forensics / Virtualization hire me? cryptographyishard(@)gmail cryptoishard(@)tuta.io

    • @sys_coding

      Tutorials and tools for sysadmins and developers

  9. printf "\033];VPS control\007" # Relabel your terminal window to "VPS control". May have to disable any existing title updating functions.

    Oversat fra engelsk af

  10. Sorry, I mean specifically I'm at the NSF Cybersecurity Summit 2015. Its at the Westin Arlington Gateway.

    Oversat fra engelsk af

  11. I'm at NSF Summit 2015 this week in DC / Arlington. If you are here too, let me know and we can meet up.

    Oversat fra engelsk af

  12. look bro # Find all the other words that start with bro for your software project names.

    Oversat fra engelsk af

  13. Thank you all so much for following, reading, contributing and everything you do. I really appreciate it.

    Oversat fra engelsk af

  14. Imagine a huge stadium filled with over 100,000 people all rooting for the command line. Don't imagine it anymore, you're here!

    Oversat fra engelsk af

  15. The name of my first pet was Kaithohhooyied. I also went to Wohd7hepale2Boochi High School. Go Trojans!

    Oversat fra engelsk af

  16. date -d '2010-04-16 + 1946 days' # Anyone remember this?

    Oversat fra engelsk af

  17. ssh timeserver sudo date 08141659 # Hey, can we make this work day end sooner because some of you probably can really do this.

    Oversat fra engelsk af

  18. Famous last words: "Ah, I don't have time to test this command first..."

    Oversat fra engelsk af

  19. head -2 program.pl | hexdump -c # Look at the two first lines of file program.pl and print each character including newlines, tabs, etc.

    Oversat fra engelsk af

  20. Chuck Norris as a shell user. (Description: )

    Oversat fra engelsk af

Indlæsning ser ud til at tage noget tid.

Twitter kan være overbelastet eller have en midlertidig forstyrrelse. Prøv igen eller besøg Twitter-status for mere information.

    Du vil måske også kunne lide

    ·