Added printuuid and printpartuuid because blkid syntax escapes me

This commit is contained in:
David Thurstenson 2020-07-02 20:11:55 -05:00
parent e83342bdc9
commit 42c3744ad3
1 changed files with 6 additions and 0 deletions

View File

@ -17,3 +17,9 @@ alias nmap='sudo -E nmap'
# Switch $TERM temporarily (for logging into machines that don't have tmux-256color terminfo) # Switch $TERM temporarily (for logging into machines that don't have tmux-256color terminfo)
alias screenterm='TERM=screen-256color' alias screenterm='TERM=screen-256color'
# Output only the UUID of the target device
alias printuuid='blkid -o value -s UUID'
# Output only the PARTUUID of the target device
alias printpartuuid='blkid -o value -s PARTUUID'