Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
of the following command? mv file1 newdir/file2 file1 will be moved to newdir and renamed file2. file1 will be copied to newdir and named file2. An error will be reported, as this is an invalid command. Do not know. 2) What will this command return? ls -F A listing of items in the current directory unsorted. A listing of items in the current directory with file type indicators after some files. A listing of items in the current directory separated by commas on a single line instead of presented in columns. Do not know. 3) Considering the command below, which of the following statements is true? ln file1 file2 file2 will be symbolically linked to file1. Regardless of the size of file1, file2 will have a size of 5 bytes. file1 and file2 have the same inode number. Do not know.
grep -A1 -B1 -n -i expense report.txt grep --context=1 -N -i expense report.txt Do not know.
3) Which of the following commands could be used to configure a system's date and time? datetime date timeconf Do not know.
Suspend the job by typing Control-c and then place it in the background by sending kill -TSTP PID, where PID is the process ID number. Suspend the job by typing Control-z and then place it in the background by executing the bg command. Do not know. 3) In a process listing, what does a T indicate in the STAT column? The process execution has been suspended. The process is defunct. The process has no resident pages. Do not know.
ls -l pa and then hit the tab key. You are using the bash shell as your interactive shell. What happens? "pa" will be expanded to "parrot". Nothing. "pa" will be expanded to "parrot" and then the ls command will be executed. Do not know. 2) The following command returns a list of files. What best describes the files listed? ls *.* A list of all files in the present working directory. A list of all non-hidden files in the present working directory. A list of all files in the present working directory that have a dot in the name, but not as a first character. Do not know. 3) What command will be run by this sequence? !?cat The most recent cat command. The most recent command that has cat in the command name. The most recent command that has cat somewhere on the command line. Do not know.
Interrupt that particular time through the do loop and jump to the while statement to reevaluate the conditional statement. Jump past the done statement and continue executing. Do not know. 1) What is the proper way to call the at command to submit a job to run sometime in the future? at This will prompt you for the command you wish to run and the time you wish to run it.
at timespec timespec is the time that you want the command to run. You will be prompted for the command that you wish to run.
at timespec command This will run the command at the time timespec.
Do not know. 2) Considering this entry in a user's crontab file, how often will the command in this line run? 30 4 * * 3 mycmd Hourly. Weekly. Hourly in the month of March. Do not know. 3) Considering this entry in a user's crontab file, how often will the command in this line run? */5 * * * * mycmd Every five minutes. Five minutes past the hour every hour. This will not run, as the format is invalid. Do not know.