User Tools

Site Tools

tools:bash:customization

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
tools:bash:customization [2024/06/04 02:58] โ€“ [Aliases] Humphrey Boa-Garttools:bash:customization [2025/01/04 03:40] (current) โ€“ Humphrey Boa-Gart
Line 72: Line 72:
   PS1='\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[00m\] \[\033[01;32m\]\$\[\033[00m\] '   PS1='\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[00m\] \[\033[01;32m\]\$\[\033[00m\] '
  
-Here is a <wrap em>red version</wrap> of the same prompt, which you can add to the aliases file for a root user or superuser, so you can more easily tell at a glance when you are in an account with escalated privs:+Here is a separate <wrap em>red version</wrap> of the same prompt, which you can add to the aliases file for a root user or superuser, so you can more easily tell at a glance when you are in an account with escalated privs:
  
   PS1='\[\033[01;31m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[00m\] \[\033[01;31m\]\$\[\033[00m\] '   PS1='\[\033[01;31m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[00m\] \[\033[01;31m\]\$\[\033[00m\] '
Line 104: Line 104:
   /home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin   /home/user/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
      
-This above line shows that bash will look in your personal **~/.local/bin** directory, as well as a list of common locations for globally-accessible binaries. Your system may have other locations appended here as well for things like games, [[tools:flatpak|Flatpak]] or [[tools:snap|Snap]].+This above line shows that bash will look in your personal **~/.local/bin** directory, as well as a list of common locations for globally-accessible binaries. Your system may have other locations appended here as well for things like games, [[tools:flatpak|Flatpak]] or [[tools:flatpak#snap|Snap]].
  
 To enable bash to run a custom application (such as a freshly downloaded [[tools:appimage|AppImage]] file) without having to type out the whole directory it is located in, you should place the file into your personal **~/.local/bin** directory. Or, you could put a symlink into that directory like so: To enable bash to run a custom application (such as a freshly downloaded [[tools:appimage|AppImage]] file) without having to type out the whole directory it is located in, you should place the file into your personal **~/.local/bin** directory. Or, you could put a symlink into that directory like so:
Line 232: Line 232:
 | 03   | Italics         | | 03   | Italics         |
 | 04   | Underlined text | | 04   | Underlined text |
 +
 +
  
 ---- ----
  
 +  * Previous Page: [[tools:bash:files-archives|โ† Managing Files & Archives]]
   * [[tools:bash|Back to Index]]   * [[tools:bash|Back to Index]]
 +
 +
 +{{wst>cli}}
tools/bash/customization.1717469897.txt.gz ยท Last modified: 2024/08/06 05:54 (external edit)

Find this page online at: https://bestpoint.institute/tools/bash/customization