http://www.technicalpage.net/search/label/SQL

>> touch command

touch command:

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.
Above command will create the file fileName inside dir3.


GoTo_Main UNIX Page


NEXT


.

No comments:

Post a Comment