Answers for "how to add text to a file in linux terminal"

7

bash add text to file

echo "hello world" >> my_file.txt
Posted by: Guest on February-24-2020
0

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) ~]#
Posted by: Guest on November-11-2020

Code answers related to "how to add text to a file in linux terminal"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language