DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash here document example
cat << EOF > file.txt The current working directory is: $PWD You are logged in as: $(whoami) EOF
Source by linuxize.com #
PREVIOUS
NEXT
Tagged:
#bash
#document
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit