Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

custom prompt in shell / bash

# Temporary method

export PS1="Your Custom Prompt"

# Permanant method

sudo nano ~/.bashrc
#Type your password
#Then in nano go to the last line, press ENTER and type PS1="Your Custom Prompt"
#Press CTRL+X and press y and save the file as .bashrc

source ~/.bashrc
Comment

PREVIOUS NEXT
Code Example
Shell :: filesystem mounting and unmounting in linux 
Shell :: fedora doesnt recognise hard disk 
Shell :: eslint script in package.json 
Shell :: how to make terminal close after running code command 
Shell :: Shell script to adjust screen mode 
Shell :: expo install safe area provider 
Shell :: sc stop 
Shell :: upgrade appwrite 
Shell :: print each filename in a newline in ls 
Shell :: download ubuntu 20 from gdrive 
Shell :: yaml reuse block 
Shell :: separate a line using sed 
Shell :: powershell create multiple variables of the same type 
Shell :: how to increase the resources allocated to windows subsystem linux 
Shell :: jq select where value starts with 
Shell :: antlr example java 
Shell :: install web3modal 
Shell :: fish function to change php version devilbox 
Shell :: installingf 
Shell :: Provide file / folder access to a user in Linux 
Shell :: get folder size in lnux 
Shell :: how to check if tab was pressed in bash 
Shell :: add user to sudoer "zsh" customization 
Shell :: connect to host gitlab.com port 22: Connection refused deploy key 
Shell :: grep expresion generetor 
Shell :: ubuntu find file except name 
Shell :: dächen auf linux in terminal 
Shell :: cpickle 
Shell :: mac find path of executable 
Shell :: where is zshrc in big sur 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =