Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

creating new files in linux

// To create a new file run the cat command followed by the redirection operator > and the name of the file you want to create.
// Press Enter type the text and once you are done press the CRTL+D to save the files.
cat > file1.txt
Source by phoenixnap.com #
 
PREVIOUS NEXT
Tagged: #creating #files #linux
ADD COMMENT
Topic
Name
3+2 =