diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2023-03-06 10:31:37 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2023-03-06 10:31:37 +0800 |
| commit | 50ec29a77a2e0a4b557510338dd01c259052b5d1 (patch) | |
| tree | 80c6588f86ac65584e51db79c55cd104b995fc58 /alias | |
| parent | 7b216a5bd117a048283acae113253e19f905e6dc (diff) | |
Update
Diffstat (limited to 'alias')
| -rw-r--r-- | alias | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -112,6 +112,7 @@ port() { sudo lsof -i :$1; } | |||
| 112 | alias ports='sudo lsof -i -Pn | grep LISTEN' | 112 | alias ports='sudo lsof -i -Pn | grep LISTEN' |
| 113 | alias ll='ls -lh' | 113 | alias ll='ls -lh' |
| 114 | alias lla='ls -lha' | 114 | alias lla='ls -lha' |
| 115 | alias lld='ls -lh -d */' | ||
| 115 | llw() { which $1 | xargs ls -alh; } | 116 | llw() { which $1 | xargs ls -alh; } |
| 116 | alias hg='history | grep' | 117 | alias hg='history | grep' |
| 117 | trash() { mv $@ /tmp/ 2>/dev/null || rm -rf $@; } | 118 | trash() { mv $@ /tmp/ 2>/dev/null || rm -rf $@; } |