added optimalbufsize alias for determining optimal buffer size for read/write operations
This commit is contained in:
parent
1cd9099fb5
commit
4d4b6e3cca
1 changed files with 4 additions and 1 deletions
5
aliases
5
aliases
|
|
@ -49,7 +49,6 @@ alias kmnt="doas mount /dev/sda /mnt/media/kobo"
|
|||
alias kumnt="doas umount /dev/sda /mnt/media/kobo"
|
||||
alias rm="newrm -vi"
|
||||
alias cal="newcal"
|
||||
alias {rcrm,rrm}="doas xargs -d\\n rm -r -v" # when piped after locate or find command, recursively removes outputted files
|
||||
alias mv="mv -v"
|
||||
alias ln="ln -i"
|
||||
alias {doasedit,sudoedit}="doas rnano"
|
||||
|
|
@ -180,6 +179,10 @@ alias nb="newsboat"
|
|||
alias sudoku="sku"
|
||||
# pip list and pip freeze command list pip packages
|
||||
|
||||
#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 {rcrm,rrm}="doas xargs -d\\n rm -r -v" # when piped after locate or find command, recursively removes outputted files
|
||||
|
||||
# get top process eating memory
|
||||
alias psmem="ps auxf | sort -nr -k 4 | head -5"
|
||||
# get top process eating cpu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue