Added printuuid and printpartuuid because blkid syntax escapes me
This commit is contained in:
parent
e83342bdc9
commit
42c3744ad3
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue