Skip to content
Snippets Groups Projects
Commit 82e2ff34 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

feat: use findmnt(8) to list NFS shares. The mount(8) manpage recommends this:...

feat: use findmnt(8) to list NFS shares. The mount(8) manpage recommends this: 'For more robust and customizable output use findmnt(8), especially in your scripts.'. So yeah, we do it.
parent 38722922
Branches
No related tags found
No related merge requests found
Pipeline #9788 failed
...@@ -15,7 +15,7 @@ alias mc='mc -x' # Midnight Commander with tmux mouse support ...@@ -15,7 +15,7 @@ alias mc='mc -x' # Midnight Commander with tmux mouse support
alias mload='nload -u M' # nload with default units in MByte alias mload='nload -u M' # nload with default units in MByte
# alias please='sudo' # by special request by Andreas :-) # alias please='sudo' # by special request by Andreas :-)
alias please='sudo $(fc -ln -1)' # https://twitter.com/zzaaho/status/1160825118597292032 alias please='sudo $(fc -ln -1)' # https://twitter.com/zzaaho/status/1160825118597292032
alias nfsmounts='mount | sort | column -t -s" " | grep nfs' # pretty print all nfs mounts alias nfsmounts='findmnt --list --types nfs' # pretty print all nfs mounts
alias nfserrors="dmesg -T | grep -i nfs" alias nfserrors="dmesg -T | grep -i nfs"
alias chx='chmod 0755' alias chx='chmod 0755'
alias chr='chmod 0644' alias chr='chmod 0644'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment