MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

CLOUD COMPUTING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
____ command is used to create a file
A
touch
B
man
C
mkdir
D
mv
Explanation: 

Detailed explanation-1: -The touch command’s primary function is to modify a timestamp. Commonly, the utility is used for file creation, although this is not its primary function. The terminal program can change the modification and access time for any given file. The touch command creates a file only if the file doesn’t already exist.

Detailed explanation-2: -The touch command is the simplest way to create a new file from the command line. We can create multiple files by executing this command at once. To create a file, execute the touch command followed by the file name as given below: touch test1.

Detailed explanation-3: -The touch command updates the access and modification times of each file specified by the File parameter of each directory specified by the Directory parameter. If you do not specify a value for the Time variable, the touch command uses the current time.

Detailed explanation-4: -The touch command is a standard program for Unix/Linux operating systems, that is used to create, change and modify timestamps of a file.

There is 1 question to complete.