Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

echo with tee command

echo 'foo' | tee foo.txt
foo
cat foo.txt
foo
Comment

echo with tee command

# append
cat foo.txt
foo
echo 'bar' | tee -a foo.txt
bar
cat foo.txt
foo
bar
Comment

PREVIOUS NEXT
Code Example
Shell :: conda-forge install web_manager 
Shell :: docker run -d bash command not found 
Shell :: fix ubuntu certificates 
Shell :: chromeos linux reboot 
Shell :: mac terminal command suggestion history 
Shell :: checkout git 
Shell :: kubernetes add or remove label from existing resource 
Shell :: aws codedeploy logs 
Shell :: linux cli chart 
Shell :: ntp not starting after reboot 
Shell :: add yarn package globally 
Shell :: how to stop the node server from running 
Shell :: stop raid array linux 
Shell :: how to switch branches in git 
Shell :: how to avoid some files changes to not come in git status 
Shell :: linux split with filename extension 
Shell :: typescript compile specific file 
Shell :: github download all branches zip 
Shell :: ssh leave process running 
Shell :: shell basename 
Shell :: bash array number range from var 
Shell :: use docker redis remotely 
Shell :: what terminal command screen record on mac 
Shell :: how to ignore .idea in Github 
Shell :: recover a merged commit git 
Shell :: vimeo status video 
Shell :: git show log after date 
Shell :: what does worktree prune do 
Shell :: how to install cli50 
Shell :: check on cmd all installed version 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =