Answers for "how to overwrite file linux cli"


how to overwrite file linux cli

# The >> redirection operator will append lines to the end of
# the specified file, where-as the single greater than > will
# empty and overwrite the file.

echo "text" > 'Users/Name/Desktop/TheAccount.txt'
Posted by: Guest on July-20-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language