Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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'
Comment

PREVIOUS NEXT
Code Example
Shell :: git delete local branch 
Shell :: git create tag and push 
Shell :: how to view hidden files and folders on terminal 
Shell :: cp all files except one 
Shell :: linux rename 
Shell :: curl upload to artifactory with basic auth 
Shell :: restart odoo service ubuntu 
Shell :: generate github access token 
Shell :: could not open lock file "/tmp/.s.PGSQL.5432.lock": Permission denied 
Shell :: install chocolatey on windows 
Shell :: docker container with powershell 
Shell :: push the project to github 
Shell :: EsLint global installation 
Shell :: git revert all commits to pervious commit 
Shell :: appimage 
Shell :: install cp in windows cmd 
Shell :: remove trailing slash from nginx 
Shell :: port forward kubernetes 
Shell :: recursive dir batch 
Shell :: check all running processes linux 
Shell :: ss in linux command stands for 
Shell :: git branch from current branch 
Shell :: mkdir with permissions 
Shell :: netlify cli 
Shell :: ffmpeg reduce video size 
Shell :: delete all files in a directory command 
Shell :: bash script comment 
Shell :: net speed monitor for ubuntu 
Shell :: git add remote 
Shell :: shorten the linux terminal path 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =