Linux/2-Config/bashrc

From Wiki
< Linux‎ | 2-Config
Revision as of 14:26, 16 October 2020 by Marcluer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Ubuntu 20.04

  • ~/.bashrc
-
  • /root/.bashrc
force_color_prompt=yes     # uncomment

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

  # change first "32m" to "31m"

~/.bash_aliases

touch .bash_aliases
  • systemctl without page breaks
alias systemctl='systemctl --no-pager'