Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

bash here document example

cat << EOF > file.txt
The current working directory is: $PWD
You are logged in as: $(whoami)
EOF
Comment

PREVIOUS NEXT
Code Example
Shell :: bash script assign array to variable 
Shell :: change default location screen mac 
Shell :: delete file with cmd 
Shell :: error: insufficient permission for adding an object to repository database .git/objects fatal: failed to write object fatal: unpack-objects failed 
Shell :: connect to git repo with ssh-rsa 
Shell :: wsl import 
Shell :: trash linux command 
Shell :: show hidden files mac 
Shell :: create react and rails app 
Shell :: .gitignore everything except 
Shell :: git pull new branch from remote 
Shell :: docker run 
Shell :: linux file full permission 
Shell :: print folder permissions linux 
Shell :: github quick reference 
Shell :: sngrep printed lines correctly 
Shell :: apache2 enable xml extension 
Shell :: how to paste the lines in the buffer into the text after the current line in vi 
Shell :: crontab reload 
Shell :: kazam or simplescreenrecord Recording the Black Screen in linux. 
Shell :: roundcube cannot connect to storage server 
Shell :: shell commands 
Shell :: noetic catkin tools install 
Shell :: how to install clipman for linux 
Shell :: check files created in the last x days linux 
Shell :: view recently installed apps linu 
Shell :: remove google chrome linx 
Shell :: ubuntu dock setting 
Shell :: softwareupdate mac bash 
Shell :: determine if command exists 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =