Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

linux create file without content

#solution 1
touch filename

#solution 2
> filename # or >> filename

#solution 3
cat > filename
 
PREVIOUS NEXT
Tagged: #linux #create #file #content
ADD COMMENT
Topic
Name
7+1 =