Arama Sonuçları: "#ShellTips"

20 sonuç
Anshika Sharma
Anshika Sharma@anaiii_1517·
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
Anshika Sharma tweet media
English
0
0
2
257
Emindu Udam
Emindu Udam@EminduU·
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
English
0
0
0
27
Tim Chase
Tim Chase@gumnos·
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
English
8
2
24
2.2K
软件匹夫
软件匹夫@wswch19941012·
#shelltips 查看 tcp 链接状态统计 ```shell netstat -atn|awk '/^tcp/{++count[$NF]} END {for(a in count) print a,count[a]}' ```
Jiangsu, People's Republic of China 🇨🇳 中文
0
0
0
36
Jinson Varghese
Jinson Varghese@JinsonCyberSec·
#IfYouDidntKnow You can reuse an argument from the previous command by using !!:[index]. Example: $ file Documents/noteA Documents/noteB Documents/noteA: ASCII text Documents/noteB: ASCII text $ cat !!:1 !!:2 cat Documents/noteA cat Documents/noteB [1/3] #linux #shelltips
English
1
2
0
0
Jinson Varghese
Jinson Varghese@JinsonCyberSec·
#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
Jinson Varghese tweet media
English
7
30
142
0