#shelltips search results
#IfYouDidntKnow Running "cat /etc/passwd" gives an output that is a bit hard to read. Thanks to the column command, we can make it easier on the eyes. cat /etc/passwd | column -t -s : -t is used for creating a table -s defines the column delimiter, in this case ":" #ShellTips

Find average #RTT for a host #ping $ ping -c 10 host | tail -1 | awk -F "=" '{split($2,a,"/"); printf "%s ms\n", a[2]}' #shelltips #linux E.g:
![anvetsu's tweet image. Find average #RTT for a host #ping
$ ping -c 10 host | tail -1 | awk -F "=" '{split($2,a,"/"); printf "%s ms\n", a[2]}'
#shelltips #linux
E.g:](https://pbs.twimg.com/media/DsgzLGtUwAEY5qI.jpg)
Typing less isn’t lazy, it’s efficient. If you run the same commands daily, let your shell do the work. Use alias to set shortcuts like : • alias gs="git status" • alias ll="ls -la" • alias ..="cd .." Now gs runs git status. Small tweaks, big speed-ups. #ShellTips #Linux

Some tools forget to check is STDOUT isatty() before writing... Get rid of ansi #terminal colors with this command: sed -r "s/\x1B\[[0-9;]*?[m|K]//g" #shelltips #bash github.com/nil0x42/scripts
![nil0x42's tweet image. Some tools forget to check is STDOUT isatty() before writing...
Get rid of ansi #terminal colors with this command:
sed -r "s/\x1B\[[0-9;]*?[m|K]//g"
#shelltips #bash
github.com/nil0x42/scripts](https://pbs.twimg.com/media/EiIsQstXgAI0PiU.jpg)
💡 In Bash, pipes (|) send only stdout, not errors. ⚠️ stderr goes straight to the terminal. 👉 To include errors: cmd1 2>&1 | cmd2 🔧 Use set -o pipefail for safer scripts. #Bash #Linux #ShellTips #ALX_BE #ALX_SE #ALX_PDBE

Master Linux One Command at a Time Manage Jobs: jobs – View background and suspended tasks in your current shell session. Easily track what’s running, stopped, or waiting. #LinuxCommands #jobs #ShellTips #SysAdmin #CommandLine #OpenSource #TechGuide #MasterLinux

Close equivalent to 'netstat -tunap' on macOS: alias netstat='lsof -nP -i4 +c 15' #shelltips
alias fbb='foo bar buz' の代わりに、履歴からコマンド実行してる。 Ctrl+R に hook した fzf のおかげで頭文字で曖昧検索して引き当てられる #ShellTips
#shelltips 查看 tcp 链接状态统计 ```shell netstat -atn|awk '/^tcp/{++count[$NF]} END {for(a in count) print a,count[a]}' ```
Tired of typing cd back and forth? 🤯 Use pushd and popd! 🔹 pushd /etc → Switches to /etc & saves your previous dir 🔹 popd → Returns you to the last saved dir 🔹 dirs -v → Shows your directory stack Effortless navigation! 🚀 #Linux #ShellTips
ShellBench: Perform Benchmark Tests on Various Linux Shells #Linux #ShellTips #Shell #LinuxShell #Bash #Zsh linuxtldr.com/shellbench-too…
Inotifywait: Monitor Live Events on Files and Directories on Linux #Linux #CommandLine #ShellTips #ShellScript #SysAdmin #Scripting linuxtldr.com/install-inotif…
linuxtldr.com
Inotifywait: Monitor Live Events on Files and Directories on Linux
In this article, you will learn how to watch read, write, open, close, etc. events on a file or directory and get desktop notifications.
Sometimes I discover I need to quote a parameter after I've started typing it. Though it's ugly, $ echo first" second third" parses to the same as $ echo "first second third" saving me from alt+b, quote, alt+f #lazy #shellTips
#IfYouDidntKnow When you enter a command in Terminal and see "Permission denied" or "Operation not permitted" because you forgot to run it as sudo, just type: "sudo !!" !! will rerun the very last command you entered. !-2 will run the second last command and so on. #ShellTips
Tired of Ctrl+R roulette? Laurie Tratt proposes a smarter, linear shell history search—clear, intuitive, and effective. tratt.net/laurie/blog/20… #ShellTips #CLI #DeveloperExperience
💻 Tired of using the mouse to fix command errors in your terminal? Learn how GNU Readline shortcuts can simplify your workflow! Use Alt+B and Ctrl+T for quick edits. Embrace efficiency and ditch the mouse! #GNUReadline #ShellTips #Productivity @EuberABa… ift.tt/PFV3BaD
$ ls D{{Press ESC Key followed by the * Key}} $ ls Desktop Documents Downloads All the matching files/folders are now in the command line. #bashshelltips #shelltips #linux #macos #terminal #bash #bugbountytips #informationtechnology #informationsecurity #cybersecurity [3/3]
💡 In Bash, pipes (|) send only stdout, not errors. ⚠️ stderr goes straight to the terminal. 👉 To include errors: cmd1 2>&1 | cmd2 🔧 Use set -o pipefail for safer scripts. #Bash #Linux #ShellTips #ALX_BE #ALX_SE #ALX_PDBE

Master Linux One Command at a Time Manage Jobs: jobs – View background and suspended tasks in your current shell session. Easily track what’s running, stopped, or waiting. #LinuxCommands #jobs #ShellTips #SysAdmin #CommandLine #OpenSource #TechGuide #MasterLinux

Tired of Ctrl+R roulette? Laurie Tratt proposes a smarter, linear shell history search—clear, intuitive, and effective. tratt.net/laurie/blog/20… #ShellTips #CLI #DeveloperExperience
Typing less isn’t lazy, it’s efficient. If you run the same commands daily, let your shell do the work. Use alias to set shortcuts like : • alias gs="git status" • alias ll="ls -la" • alias ..="cd .." Now gs runs git status. Small tweaks, big speed-ups. #ShellTips #Linux

Tired of typing cd back and forth? 🤯 Use pushd and popd! 🔹 pushd /etc → Switches to /etc & saves your previous dir 🔹 popd → Returns you to the last saved dir 🔹 dirs -v → Shows your directory stack Effortless navigation! 🚀 #Linux #ShellTips
💻 Tired of using the mouse to fix command errors in your terminal? Learn how GNU Readline shortcuts can simplify your workflow! Use Alt+B and Ctrl+T for quick edits. Embrace efficiency and ditch the mouse! #GNUReadline #ShellTips #Productivity @EuberABa… ift.tt/PFV3BaD
ShellBench: Perform Benchmark Tests on Various Linux Shells #Linux #ShellTips #Shell #LinuxShell #Bash #Zsh linuxtldr.com/shellbench-too…
Inotifywait: Monitor Live Events on Files and Directories on Linux #Linux #CommandLine #ShellTips #ShellScript #SysAdmin #Scripting linuxtldr.com/install-inotif…
linuxtldr.com
Inotifywait: Monitor Live Events on Files and Directories on Linux
In this article, you will learn how to watch read, write, open, close, etc. events on a file or directory and get desktop notifications.
Counting Number of Files and Directories in a Specific Directory #Linux #ShellTips #LinuxTips #CLI #LinuxUbuntu ubuntushell.com/counting-numbe…
How to Empty Buffer and Cache Memory in Linux linuxshelltips.com/empty-buffer-c… via @linuxshelltips RT @linuxtoday #Linux #shelltips #linuxshelltips
Sometimes I discover I need to quote a parameter after I've started typing it. Though it's ugly, $ echo first" second third" parses to the same as $ echo "first second third" saving me from alt+b, quote, alt+f #lazy #shellTips
#shelltips 查看 tcp 链接状态统计 ```shell netstat -atn|awk '/^tcp/{++count[$NF]} END {for(a in count) print a,count[a]}' ```
#IfYouDidntKnow Running "cat /etc/passwd" gives an output that is a bit hard to read. Thanks to the column command, we can make it easier on the eyes. cat /etc/passwd | column -t -s : -t is used for creating a table -s defines the column delimiter, in this case ":" #ShellTips

Find average #RTT for a host #ping $ ping -c 10 host | tail -1 | awk -F "=" '{split($2,a,"/"); printf "%s ms\n", a[2]}' #shelltips #linux E.g:
![anvetsu's tweet image. Find average #RTT for a host #ping
$ ping -c 10 host | tail -1 | awk -F "=" '{split($2,a,"/"); printf "%s ms\n", a[2]}'
#shelltips #linux
E.g:](https://pbs.twimg.com/media/DsgzLGtUwAEY5qI.jpg)
#ShellTips Aprovecha este fin de semana y haz un chequeo general de tu auto antes de hacer cualquier viaje.

La posición inicial y para circular derecho debe ser tomando el volante a las 9 y 3 horas del reloj. #ShellTips

Some tools forget to check is STDOUT isatty() before writing... Get rid of ansi #terminal colors with this command: sed -r "s/\x1B\[[0-9;]*?[m|K]//g" #shelltips #bash github.com/nil0x42/scripts
![nil0x42's tweet image. Some tools forget to check is STDOUT isatty() before writing...
Get rid of ansi #terminal colors with this command:
sed -r "s/\x1B\[[0-9;]*?[m|K]//g"
#shelltips #bash
github.com/nil0x42/scripts](https://pbs.twimg.com/media/EiIsQstXgAI0PiU.jpg)
Planea tu hoja de ruta, para evitar tráfico y llegar a tu destino en la hora indicada! #ShellTips #ShellHelixUltra

Te recomendamos chequear las luces y el limpiaparabrisas para andar siempre seguros! #ViajeroShell #ShellTips

💡 In Bash, pipes (|) send only stdout, not errors. ⚠️ stderr goes straight to the terminal. 👉 To include errors: cmd1 2>&1 | cmd2 🔧 Use set -o pipefail for safer scripts. #Bash #Linux #ShellTips #ALX_BE #ALX_SE #ALX_PDBE

Cuando llueve, enciende la luz de lluvia trasera y los faros delanteros. No uses luces altas. #ShellTips

Cuando hay lluvia o la pista esté mojada, reduce la velocidad y siempre mantén una buena distancia con los demás. #ShellTips #ViajeroShell

Cargar equipaje en el techo del auto cambia el perfil aerodinámico de tu vehículo y consumirá más combustible. #ShellTips #ViajeroShell

Estando atento/a a los sonidos del auto al andar, puedes detectar y prevenir futuros problemas mecánicos. #ShellTips

Master Linux One Command at a Time Manage Jobs: jobs – View background and suspended tasks in your current shell session. Easily track what’s running, stopped, or waiting. #LinuxCommands #jobs #ShellTips #SysAdmin #CommandLine #OpenSource #TechGuide #MasterLinux

Por tu seguridad, controla siempre el líquido de frenos. Su nivel puede bajar debido al uso, desgaste y pérdidas. #ShellTips

Llegamos a la recta final del 2016 y se viene el verano. No olvides tu mantenimiento de fin de año antes de salir de vacaciones! #ShellTips

Something went wrong.
Something went wrong.
United States Trends
- 1. Bears 89.3K posts
- 2. Jake Moody 13.7K posts
- 3. Snell 24.3K posts
- 4. Caleb 49.2K posts
- 5. Falcons 51.3K posts
- 6. Bills 141K posts
- 7. Josh Allen 26.6K posts
- 8. Jayden 22.9K posts
- 9. #BearDown 2,369 posts
- 10. phil 175K posts
- 11. Swift 290K posts
- 12. Happy Birthday Charlie 8,474 posts
- 13. Ben Johnson 4,433 posts
- 14. Joji 29.7K posts
- 15. #Dodgers 15.3K posts
- 16. Turang 4,321 posts
- 17. Troy Aikman 6,517 posts
- 18. Roki 6,101 posts
- 19. Bijan 32.9K posts
- 20. Brewers 48.5K posts