Transcribed TextTranscribed Text

QUESTION 1 cd to my home directory Create command string that will list ALL of the files entries with last modification date of October Save the output to file in your home directory called listing Note The command string should include the grep command A) What command string did you use? Is 41 grep "October 1' Is -la grep "Oct 1' Is -la grep /listing O Is -la grep "Oct ~/listing QUESTION 2 cd to my home directory. Generate a command string that will cat the file called $special file! You may need to quote the special characters to make this work What command string did you use? cat $special filel cat '$special filel' cat "$special filel" cat $special' file!" QUESTION 3 cd to my home directory. Will the following command string will list all the directories that have a size of 512 bytes? Is -la grep '512' True False QUESTION 4 Which UNIX shell operator will perform which function? (Append output to file A, VII B v/ C Recall last command Neutralize a single metacharacter D. Re direct input into a command string from a file QUESTION 5 cd to the letc directory Execute the following command Is au* .[mn]* The output is the following: -rw-r--r-- root root 675 Jan 24 19:04 auto master -rw-r--[-- root root 524 Mar 22 2012 auto misc rwxr-xr- root root 1374 Mar 22 2012 auto net This is exactly the output was hoping for What function are the performing? They look good and balance the command string. The uniquely match the m and n characters to ensure only the desired output is generated They neutralize the m and characters to hide the output They were used by mistake and have no meaning QUESTION 6 Create an alias called II. When executed will generate long listing of files including the file i-node numbers Will the following alias do this? alias II='Is li' True False QUESTION 6 Create an alias called II. When executed it will generate long listing of files including the file i-node numbers Will the following alias do this? alias II='Is li' True False QUESTION 7 You have an alias that is defined to be: alias pw-'ypcat passwd grep $USER' When executed, will this alias grep the passwd file for your username and output the passwd file entry for your account? Yes No QUESTION 8 When you execute the printenv command, the value asigned to HOSTNAME is cyberserver True False? True False QUESTION 9 Execute the command called printenv This will display the currently defined environment variables Does the PATH variable contain the path /usr/sbin? Yes No QUESTION 10 Execute the printenv command The value of your current command line shell is defined in what variable?

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

Answer 1: D. ls -la | grep ‘Oct 1’ > ~/listing...

By purchasing this solution you'll be able to access the following files:

for this solution

or FREE if you
register a new account!

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available IT Audit and Security Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Upload a file
Continue without uploading

We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats