User Tools

Site Tools


bash_profile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bash_profile [2024/08/23 16:28] stevebash_profile [2025/11/29 11:49] (current) steve
Line 51: Line 51:
 alias D='lsblk -i -f -o size,fstype,name,mountpoint,uuid' alias D='lsblk -i -f -o size,fstype,name,mountpoint,uuid'
 alias I='ip a | grep -E "inet|inet6"' alias I='ip a | grep -E "inet|inet6"'
-alias F='df -hlBM --output=source,iavail,avail,target'+alias F='df -lBM --output=source,iavail,avail,target -h'
  
 # And, if you want the weather; # And, if you want the weather;
Line 70: Line 70:
 fi fi
  
-This line lists out the aliases with capital letters +For a multi-line prompt that can easily be copied and pasted; 
-echo 'Aliases available =' $(alias | grep -E '^alias [A-Z]' | cut -c 7| cut -d "=" -f1)+export PS1=
 +# \u in \w on \h at \D{%Y-%m-%d-%H-%M} # 
 +"
  
 # vim:ts=4:sw=4 # vim:ts=4:sw=4
 </code> </code>
bash_profile.1724430497.txt.gz · Last modified: by steve