Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to add text to promt in linux

PS1="[u@h (task-7.2) W]# "
# run this in shell and the output will look like [root@localhost (task-7.2) ~]#
 
PREVIOUS NEXT
Tagged: #add #text #promt #linux
ADD COMMENT
Topic
Name
2+8 =