📝 Added rlast/dlast alias, remove last line of file
This commit is contained in:
parent
8d3cc1cb99
commit
9252514bbc
1 changed files with 1 additions and 0 deletions
1
aliases
1
aliases
|
|
@ -190,6 +190,7 @@ alias sudoku="sku"
|
||||||
#Particularly useful commands more to remember than to use as alias:
|
#Particularly useful commands more to remember than to use as alias:
|
||||||
alias optimalbufsize= 'stat -c "%o"' # followed by filename will give you the optimal read/write BUFSIZE for a file
|
alias optimalbufsize= 'stat -c "%o"' # followed by filename will give you the optimal read/write BUFSIZE for a file
|
||||||
alias {rcrm,rrm}="doas xargs -d\\n rm -r -v" # when piped after locate or find command, recursively removes outputted files
|
alias {rcrm,rrm}="doas xargs -d\\n rm -r -v" # when piped after locate or find command, recursively removes outputted files
|
||||||
|
alias {rlast,dlast}="sed -i '$ d'" # removes last line of file
|
||||||
alias athena="athena-jot"
|
alias athena="athena-jot"
|
||||||
alias view-in-tty="fim"
|
alias view-in-tty="fim"
|
||||||
alias snarfsnarf="snarf"
|
alias snarfsnarf="snarf"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue