Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Questions | Answers | Discussions | Knowledge sharing | Communities & more.
Which of the following commands is used to update access and modification times of a file?
In Unix, the touch command is used to update access and modification times of a file. If the file specified doesn't exist, touch creates an empty file with the specified name. So, touch is the correct command to update access and modification times of a file
In Unix, the touch command is used to update access and modification times of a file. If the file specified doesn’t exist, touch creates an empty file with the specified name. So, touch is the correct command to update access and modification times of a file
See lessWhich of the following commands is used to list contents of directories?
The ls command The ls command is used to list files. "ls" on its own lists all files in the current directory except for hidden files.
The ls command
See lessThe ls command is used to list files. “ls” on its own lists all files in the current directory except for hidden files.
The agency that sits between the user and the UNIX system is called the
In Unix, the agency that sits between the user and the UNIX system is called the shell. The shell is a command-line interpreter that takes commands from the user and executes them.5 Mar 2016
In Unix, the agency that sits between the user and the UNIX system is called the shell. The shell is a command-line interpreter that takes commands from the user and executes them.5 Mar 2016
See lessWhich symbol is used to separate more than one command in the same command line?
The semicolon ( ; ) character is used to separate multiple commands on a single line.
The semicolon ( ; ) character is used to separate multiple commands on a single line.
See lessThe command which transcribes the standard input to the standard output and also makes a copy of the same in a file is
The tee command The tee command, used with a pipe, reads standard input, then writes the output of a program to standard output and simultaneously copies it into the specified file or files
The tee command
See lessThe tee command, used with a pipe, reads standard input, then writes the output of a program to standard output and simultaneously copies it into the specified file or files
Which command is used to remove a file?
The rm command The rm command is used to delete files. rm -i will ask before deleting each file. Some people will have rm aliased to do this automatically (type "alias" to check).
The rm command
See lessThe rm command is used to delete files. rm -i will ask before deleting each file. Some people will have rm aliased to do this automatically (type “alias” to check).
Which command is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric characters?
In Unix, the command cat emp[! 0-9] is used to concatenate all files beginning with the string 'emp' and followed by a non-numeric character.
In Unix, the command cat emp[! 0-9] is used to concatenate all files beginning with the string ’emp’ and followed by a non-numeric character.
See lessYou want to view the contents of autoexec.bat on the screen using the "type" command, but it scrolls by too quickly, what switch do you use to make it pause?
The AUTOEXEC. BAT file is used to set defaults and to run programs that should be executed upon startup (comparable to the . login file on Unix accounts).
The AUTOEXEC. BAT file is used to set defaults and to run programs that should be executed upon startup (comparable to the . login file on Unix accounts).
See lessWhich command is used to suppress the prompt that asks you to confirm that you want to delete the directory?
Delete a Directory in Linux Using the rm Command The different rm command options include: - f : Forces the removal of all files or directories. -i : Prompts for confirmation before removing. -I : Prompts once before removing more than three files or when removing recursively.
Delete a Directory in Linux Using the rm Command
See lessThe different rm command options include: – f : Forces the removal of all files or directories. -i : Prompts for confirmation before removing. -I : Prompts once before removing more than three files or when removing recursively.
In DOS, which of the following keys will bypass the CONFIG.SYS and AUTOEXEC.BAT files?
In DOS 6.0 and 6.2, you can bypass your CONFIG. SYS and AUTOEXEC. BAT files by pressing F5 immediately after seeing the "Starting MS-DOS" message on the screen. You can also press F8 , which will cause DOS 6 to ask, for each line in the CONFIG.
In DOS 6.0 and 6.2, you can bypass your CONFIG. SYS and AUTOEXEC. BAT files by pressing F5 immediately after seeing the “Starting MS-DOS” message on the screen. You can also press F8 , which will cause DOS 6 to ask, for each line in the CONFIG.
See less