#shelltips hasil pencarian

Tidak ada hasil untuk "#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

NuelBilla's tweet image. 💡 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

crownclouds's tweet image. 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

anaiii_1517's tweet image. 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 @EuberABaift.tt/PFV3BaD

dev.to

GNU Readline: Uma experiência Shell mais agradável no seu terminal

O usual de iniciantes usando Shell em terminais, como o GNU Bash, após errar comandos, é usar...


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

JinsonCyberSec's tweet image. #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

Compartimos #ShellTips para cuidar tu sistema de enfriamiento! #ShellLubricants #ViajeroShell

shellparaguay's tweet image. Compartimos #ShellTips para cuidar tu sistema de enfriamiento! #ShellLubricants #ViajeroShell

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:

#ShellTips Aprovecha este fin de semana y haz un chequeo general de tu auto antes de hacer cualquier viaje.

GDisbattery's tweet image. #ShellTips Aprovecha este fin de semana y haz un chequeo general de tu auto antes de hacer cualquier viaje.

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

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

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

Using HereDoc and pipe together #ShellTips

ZakariszGhent's tweet image. Using HereDoc and pipe together #ShellTips

No sobrecargues tu vehículo para no forzar al motor y ahorrar combistible! #ShellTips #ViajeroShell

shellparaguay's tweet image. No sobrecargues tu vehículo para no forzar al motor y ahorrar combistible! #ShellTips #ViajeroShell

💡 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

NuelBilla's tweet image. 💡 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

Planea tu hoja de ruta, para evitar tráfico y llegar a tu destino en la hora indicada! #ShellTips #ShellHelixUltra

shellparaguay's tweet image. 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

shellparaguay's tweet image. Te recomendamos chequear las luces y el limpiaparabrisas para andar siempre seguros! #ViajeroShell #ShellTips

Manejá seguro en los días de lluvia: evitá los puntos críticos en Asunción! #ShellTips

shellparaguay's tweet image. Manejá seguro en los días de lluvia: evitá los puntos críticos en Asunción! #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

shellparaguay's tweet image. 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

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

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

shellparaguay's tweet image. Cuando llueve, enciende la luz de lluvia trasera y los faros delanteros. No uses luces altas. #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

crownclouds's tweet image. 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

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

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

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

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

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

anaiii_1517's tweet image. 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

Loading...

Something went wrong.


Something went wrong.


United States Trends