touch command is used to create empty file or files.
touch filename -- will create empty file with given name in current directory.
touch filename.extension -- will
create empty file with the given filename with the given extension in current directory.
You can create more than one files at the same time as below.
touch fileName1, fileName2,
fileName3 -- this will create fileName1
, fileName2 , fileName3 in current directory.
Suppose you are in directory1 and you want to create file in some subdirectory ,
then;
touch dir2/dir3/fileName.
NEXT
.
No comments:
Post a Comment