Command Line Magic

@climagic

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

BASHLAND
加入2009年11月

已封鎖 @climagic

你確定要查看這些推文嗎?檢視推文並不會解除封鎖 @climagic。

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

    翻譯自 英文

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

    翻譯自 英文

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

    翻譯自 英文

  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.

    翻譯自 英文

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

    翻譯自 英文

  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.

    翻譯自 英文

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

    翻譯自 英文

  8. Command Line Magic 已跟隨
    • @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.

    翻譯自 英文

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

    翻譯自 英文

  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.

    翻譯自 英文

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

    翻譯自 英文

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

    翻譯自 英文

  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!

    翻譯自 英文

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

    翻譯自 英文

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

    翻譯自 英文

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

    翻譯自 英文

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

    翻譯自 英文

  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.

    翻譯自 英文

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

    翻譯自 英文

看來要一段時間讀取資料。

Twitter 可能容量超過負荷,或是發生暫時性的小問題。請再試一次,或瀏覽 Twitter 狀態以取得詳細資訊。

    你也可能也會喜歡

    ·