100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Linux Practice Exercises- Questions and Answers 100% Solved $11.99   Add to cart

Exam (elaborations)

Linux Practice Exercises- Questions and Answers 100% Solved

 6 views  0 purchase
  • Course
  • NPower
  • Institution
  • NPower

Linux Practice Exercises- Questions and Answers 100% Solved

Preview 2 out of 6  pages

  • October 21, 2024
  • 6
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • NPower
  • NPower
avatar-seller
TheeGrades
Linux Practice Exercises- Questions and Answers 100%
Solved

mv /tmp/cars.txt /tmp/vehicles.txt Correct Ans-11. Without leaving your home directory
rename file cars.txt

located in /tmp to vehicles.txt in /tmp




cat cars.txt humans.txt > carsandhumans.txt Correct Ans-12. Concatenate the contents of
files 'cars.txt' and 'humans.txt'

into file 'carsandhumans.txt'




mkdir series3 Correct Ans-13. Create directory 'series3'.




mv cars.txt humans.txt series3 Correct Ans-14. Move files cars.txt and humans.txt into
directory 'series3'




ls -l series3 Correct Ans-15. List contents of 'series3' directory in details.




cp -r/home/hope/files Correct Ans-16. Search the web or use manual page by issuing: man
cp

on how to copy a directory with all its contents.




cp -r series3/ series3copy Correct Ans-17. In one commandls make a copy of directory
'series3'

, Linux Practice Exercises- Questions and Answers 100%
Solved
and all its contents under name 'series3copy'.



ls -l series3

ls -l series3copy Correct Ans-18. List contents of series3 and series3copy directories

in two separate commands to verify copying was successful.




cd Correct Ans-19. How do you get to the home folder from anywhere




cd ../../etc Correct Ans-20. Change directory to /etc but using RELATIVE path only, in one
command.




cat passwd Correct Ans-21. Display the contents of 'passwd' file on the screen.




less passwd Correct Ans-22. Display the contents of 'passwd' file on the screen
interactively (so you can search, scroll up and down)




cd ../var/log Correct Ans-23. Change directory to /var/log but using RELATIVE path only, in
one command (assuming you're in etc)




Less syslog

cat syslog | less Correct Ans-24. Display the contents of 'syslog' file on the screen
interactively (so you can search, scroll up and down)

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller TheeGrades. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $11.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77254 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.99
  • (0)
  Add to cart