Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 354 Bytes

unix_shell_commands.md

File metadata and controls

19 lines (13 loc) · 354 Bytes

####Shell Variables

$ echo $SHELL    # environment variable
/bin/bash

$ echo $PATH     # most powerful shell variable, where unix looks for files

$ echo $PS1      # gives what my prompt is
reshama$         # host name


$ export PS1=''     # this sets prompt to blank

# colorize prompt
$ export PS1='\e[0;34m\ \h:\W \u\$
34 = blue
30 = black