Question

6. [Total 10 pts] Short answer: a. (4 pts) Why do you need /before the file name to run an executable file in your current directory? cuse answer sheet> a. (6 pts) Explain the difference of the outputs of the following two commands if any. man 1s > 1s.txt; grep 1s1s.txt and man 1s | grep 1s cuse answer sheet>
0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
6. [Total 10 pts] Short answer: a. (4 pts) Why do you need /before the file...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • do numbers 4-8 4. Given any directory, use the Is command to display: • all files...

    do numbers 4-8 4. Given any directory, use the Is command to display: • all files and sub-directories starting with the letter "D" (note do not list anything in any sub-directory) • its immediate sub-directories (sub-directories only, and no other ordinary files) its immediate hidden sub-directories only - take a screenshot (#3-3) that clearly shows the command and the result. 5. Assume that the following files are in the working directory: $ ls intro notesb ref2 section 1 section3 section4b...

  • [1] How can you change the inode associated with a regular file? Specifically, what commands can...

    [1] How can you change the inode associated with a regular file? Specifically, what commands can you run that will result in a file that has exactly the same name as before but has a different inode? Please give the commands and explain what each does. [1] Does a "hole" in a UNIX file affect its logical size? What about its physical size? Explain briefly. [1] To setup key-based login using ssh, what file do you have to create or...

  • Copy/Paste your script from 5b here. 4. Let's look at a more complicated script executable. a....

    Copy/Paste your script from 5b here. 4. Let's look at a more complicated script executable. a. Write the following as script6.sh and change its permissions to count for num in d do if num eq 100 then count (count+1) done echo The number 10 was found $count times What is the output? Run the script as ./script6.sh 10 20 30 10 40 20 50 10 60 <enter Summarize what the script does r using the read command. The following script...

  • 1. Short Answer Questions (15 points): a) (6 pts) How do you classify flow into supercritical...

    1. Short Answer Questions (15 points): a) (6 pts) How do you classify flow into supercritical flow and subcritical flow? Without any instrument, how would you judge whether flow in a stream you are passing on a hiking trip is supercritical or subcritical? b) (3pts) Write down the mass conservation equation for 2-D incompressible flow in the form of velocity gradient. c) (6 pts) What is the physical meaning of the Navier-Stokes Equation? Write the Navier-Stokes Equation in the x-direction,...

  • Completion is a screenshot of the batch file showing all of the steps to create the file system s...

    Completion is a screenshot of the batch file showing all of the steps to create the file system shown below. Instructions Create a batch file clifilesystem.cmd using Notepad which performs the following steps to create the file system shown below. Also use a proper comment for each step before the command. Proof your work. Finally submit the clifilesystem.cmd file in Blackboard Figure 1. The clijfilesystem.cmd file system Work from Desktop unless using an absolute path Desktop NOS110 OS Labs Homework...

  • Question 2 0/1 point (graded) What happens when you remove a directory using the command rm...

    Question 2 0/1 point (graded) What happens when you remove a directory using the command rm -r? You cannot remove a directory using the rm command. You permanently remove the entire directory, including all files and subdirectories. You move the entire directory to a trash folder, but it can be restored later. You get a warning message asking if you want to proceed, then you delete the directory. incorrect Answer Incorrect: Try again. Unix does not warn you before permanently...

  • Problem #4 – 15 pts Use sheet “Problem 4" You are considering a possible investment opportunity...

    Problem #4 – 15 pts Use sheet “Problem 4" You are considering a possible investment opportunity which will return $10,000 a year, each year, for the next 20 years. To help you evaluate this opportunity, use a two-way data table to calculate the Net Present Value based on various possible discount rates and up-front investment costs. Use the following values: Discount rates Investment costs 3% $70,000 4% $90,000 5% $100,000 6% $120,000 7% 150,000 E23 Name Box Interest rate Two-way...

  • please explain why the answer is what it is! thank you! 6. (4 pts) What is...

    please explain why the answer is what it is! thank you! 6. (4 pts) What is the value of K for the b for the hypothetical reaction: athetical reaction: 2D = A + 2B If the following information is known about the following elementary rxns: A + 2B Sc K = 3.3 CS2D K = 0.041 A) 81 B) 24 [041] C) 7.4 D) 0.45 E) 0.012 [3.3] 7. 14 pts) For the above Q6 hypothetical reaction, calculate the AG...

  • Need this in C The starter code is long, if you know how to do it...

    Need this in C The starter code is long, if you know how to do it in other way please do. Do the best you can please. Here's the starter code: // ----------------------------------------------------------------------- // monsterdb.c // ----------------------------------------------------------------------- #include #include #include // ----------------------------------------------------------------------- // Some defines #define NAME_MAX 64 #define BUFFER_MAX 256 // ----------------------------------------------------------------------- // Structs typedef struct { char name[NAME_MAX]; int hp; int attackPower; int armor; } Character; typedef struct { int size; Character *list; } CharacterContainer; // ----------------------------------------------------------------------- //...

  • answer all the questions in a type format thank you 100 pts Question 1 Write an...

    answer all the questions in a type format thank you 100 pts Question 1 Write an essay that answers the following questions about utility theory. (In your essay, select the appropriate graphs from the file of graphs found at: https://drive.google.com/file/d/1pYKDpKZ5WQYZCICKYeWJ9Z vgeVO v/view? usp=sharinge. Be sure to explain whatever graphs you refer to in terms of your overall essay) 1. How is utility measured? 2. Explain the difference between total utility and marginal utility. 3. Explain the law of diminishing marginal...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT