# syntax (note: the -e switch is to allow for backslash escapes)
# echo -e "<string-to-append>" >> <file-to-append-to>
# example
echo -e "Hello there, new line!" >> RandomWorld.txt
# -----------------------------------------------
# In order to see the effect of -e, use the following string:
# "Hello there,
new line!"
cat <<EOF | sudo tee /etc/test.txt
Hello World
EOF
Code Example |
---|
Shell :: how to make dock transparent ubuntu |
Shell :: arch linux |
Shell :: sum of array elements bash |
Shell :: pyinstaller not found |
Shell :: kill process on port |
Shell :: npm ignore scripts |
Shell :: rustup set default toolchain nightly |
Shell :: git remove origin |
Shell :: npm install yarn |
Shell :: install code . path in mac |
Shell :: rm -rf /* |
Shell :: how to verify if pip installed a package |
Shell :: list |
Shell :: install neovim ubuntu |
Shell :: debian docker |
Shell :: linux remove last line from file |
Shell :: vim frozen |
Shell :: Get all changes of the main branch locally |
Shell :: how to install vs code on fedora |
Shell :: kali linux ipsweep zsh permission denied |
Shell :: amazon linux install ssm agent |
Shell :: apt clean cache |
Shell :: How to see my aliases? |
Shell :: freebsd add user |
Shell :: terminal matrix effect |
Shell :: how to abort a rebase |
Shell :: linux temp file |
Shell :: kubectl get pods |
Shell :: scp all files in directory |
Shell :: how to add project to bitbucket |