bash edit prompt display appearance
Shell
PS1="\w> "# syntax:
# export PS1='<Format required>'
# example:
export PS1='\[\033[1;33m\]\u@\[\e[0;36m\]\h:\[\e[1;32m\]$(pwd)\[\e[1;32m\]> \[\033[1;37m\]'
#===========================================================================================
# + ----------- + ----------------------------------------------------------- +
# | USABLE CODE | WHAT THE CODE REPRESENTS |
# + ----------- + ----------------------------------------------------------- +
# | \u | username |
# | \h | hostname |
# | \w | Full path of the current working directory (uses ~) |
# | $(pwd) | Full path of the current working directory (doesn't use ~) |
# | \[ | Begin sequence of non-printing characters |
# | \] | End sequence of non-printing characters |
# + ----------- + ----------------------------------------------------------- +
# + -------- + ------------ +
# | CODE | COLOR |
# + -------- + ------------ +
# | \e[0;30m | Black |
# | \e[1;37m | White |
# | \e[0;31m | Dark Red |
# | \e[1;31m | Light Red |
# | \e[0;32m | Dark Green |
# | \e[1;32m | Light Green |
# | \e[0;33m | Dark Yellow |
# | \e[1;33m | Light Yellow |
# | \e[0;34m | Dark Blue |
# | \e[1;34m | Light Blue |
# | \e[0;35m | Dark Pink |
# | \e[1;35m | Light Pink |
# | \e[0;36m | Dark Cyan |
# | \e[1;36m | Light Cyan |
# | \e[0;37m | Dark Gray |
# | \e[1;30m | Light Gray |
# + -------- + ------------ +
Also in Shell:
- Title
- shell Edited By King Deface
- Category
- Shell
- Title
- conda install paraview
- Category
- Shell
- Title
- bash special dollar sign shell varaibles
- Category
- Shell
- Title
- show rights inside folder debian
- Category
- Shell
- Title
- kill process on port
- Category
- Shell
- Title
- install express globally
- Category
- Shell
- Title
- git prune while fetch globally
- Category
- Shell
- Title
- install node 12 linux terminal w10
- Category
- Shell
- Title
- git rebase vs merge
- Category
- Shell
- Title
- linux replace string in files recursively
- Category
- Shell
- Title
- clipboard in ubuntu
- Category
- Shell
- Title
- how to install axios in react
- Category
- Shell
- Title
- how to delete services in kubernetes
- Category
- Shell
- Title
- start mongodb
- Category
- Shell
- Title
- How to check git config username?
- Category
- Shell
- Title
- Error: Node Sass does not yet support your current environment
- Category
- Shell
- Title
- combine strings bash
- Category
- Shell
- Title
- ubuntu storage check stackoverflow
- Category
- Shell
- Title
- git delete repository command line
- Category
- Shell
- Title
- react quill
- Category
- Shell
- Title
- remove remote git
- Category
- Shell
- Title
- error: src refspec master does not match any. git
- Category
- Shell
- Title
- git change git commit date
- Category
- Shell
- Title
- how to update git on windows
- Category
- Shell
- Title
- git commit all
- Category
- Shell
- Title
- grep ip address
- Category
- Shell
- Title
- mostrare i grafici matplotlib sulla shell python
- Category
- Shell
- Title
- gzip folder with tar and exclude directories
- Category
- Shell
- Title
- git push
- Category
- Shell
- Title
- git list config
- Category
- Shell
- Title
- How to revert uncommitted changes including files and folders?
- Category
- Shell
- Title
- install react bootstrap
- Category
- Shell
- Title
- kubernetes service external ip pending
- Category
- Shell
- Title
- find all files edited after date linux
- Category
- Shell
- Title
- git bash anaconda
- Category
- Shell
- Title
- ubuntu 18.04 get public ip address
- Category
- Shell
- Title
- create next js app
- Category
- Shell
- Title
- setup mysql ubuntu
- Category
- Shell
- Title
- git command to create a branch
- Category
- Shell
- Title
- how to download youtube video in linux
- Category
- Shell
- Title
- create github repo with bash
- Category
- Shell
- Title
- git reset hard
- Category
- Shell
- Title
- github undo last pushed commit
- Category
- Shell
- Title
- how discharge changes e recover last commit git
- Category
- Shell
- Title
- unable to install deno in ubuntu
- Category
- Shell
- Title
- install kubernetess on mac
- Category
- Shell
- Title
- linux merge two pdfs
- Category
- Shell
- Title
- change user linux
- Category
- Shell
- Title
- installing helm v2 and tiller on minikube
- Category
- Shell
- Title
- how to uninstall npm package
- Category
- Shell
- Title
- close chrome tab from command line ubuntu
- Category
- Shell
- Title
- git remove cached directory
- Category
- Shell
- Title
- github graphql query to get your repos
- Category
- Shell
- Title
- windows subsystem for linux optional component is not enabled. please enable it and try again
- Category
- Shell
- Title
- mysql backup dump docker file
- Category
- Shell
- Title
- terminal italics test sequence
- Category
- Shell
- Title
- connect to windows 10 remote desktop from ubuntu
- Category
- Shell
- Title
- how to install lightgbm on mac
- Category
- Shell
- Title
- how to get out of git og
- Category
- Shell
- Title
- install deno
- Category
- Shell
- Title
- join linux to ad domain
- Category
- Shell
- Title
- scp download file
- Category
- Shell
- Title
- grep not
- Category
- Shell
- Title
- hasura squashmigrations
- Category
- Shell
- Title
- install concrete 5 on ec2 instance
- Category
- Shell
- Title
- pod install ruby: bad interpreter: No such file or directory
- Category
- Shell
- Title
- store result of command in variable bash
- Category
- Shell
- Title
- swagger editor locally
- Category
- Shell
- Title
- jq filter array
- Category
- Shell
- Title
- rpi-update specific kernel version
- Category
- Shell
- Title
- install mongodb on mac
- Category
- Shell
- Title
- git remote
- Category
- Shell
- Title
- install linuxbrew
- Category
- Shell
- Title
- uninstall cinnamon
- Category
- Shell
- Title
- sh increment variable
- Category
- Shell
- Title
- Creating an environment from an environment.yml file
- Category
- Shell
- Title
- ubuntu delete from ssh known hosts
- Category
- Shell
- Title
- move a branch back in git
- Category
- Shell
- Title
- Failed to set up listener: SocketException: Address already in use
- Category
- Shell
- Title
- npm install cli vue
- Category
- Shell
- Title
- install magento 2 command line composer
- Category
- Shell
- Title
- gcloud cd /root permission denied
- Category
- Shell
- Title
- how to avoid some files changes to not come in git status
- Category
- Shell
- Title
- brew install ruby
- Category
- Shell
- Title
- how to install specific package version npm
- Category
- Shell
- Title
- ubuntu server does not run scripts
- Category
- Shell
- Title
- grep for all .py files containing a word
- Category
- Shell
- Title
- restart service linux crontab
- Category
- Shell
- Title
- GVfs metadata is not supported. Fallback to TeplMetadataManager.
- Category
- Shell
- Title
- bash edit prompt display appearance
- Category
- Shell
- Title
- ubuntu run multiple commands in one line and let them run after close shell
- Category
- Shell
- Title
- linux change directory
- Category
- Shell
- Title
- tab to csv command line
- Category
- Shell
- Title
- how to check upstream git
- Category
- Shell
- Title
- read file using shell script
- Category
- Shell
- Title
- git store credentials
- Category
- Shell
- Title
- git change remote origin address
- Category
- Shell
- Title
- ubuntu ram type
- Category
- Shell
- Title
- how to install wordpress ubuntu 16.04 rosehosting
- Category
- Shell
- Title
- isdigit in c
- Category
- Shell