Itec | ITEC | Towson University - Towson, MD

3. Working with files, directories and sub directories in Linux command line

· Start another Linux command line session - you will be placed in your home (~) directory · Determine the actual path of your home (~) directory a. What is the actual path of your home (~) directory? Answer: ________________________ b. What command did you use to find your home directory? Answer: ________________________ c. Show the contents of your home directory? (include permissions, file / directory names, size, date and time stamps) Answer: ________________________ Hint: use long option [Paste a screen shot showing the contents of your home directory…] [2 pts] d. What command did you use to show the contents of your home directory? Answer: ________________________ · Use a text editor (in Applications / Accessories) to create a text file containing your name on line 1 and your course.section on line 2 · Name the file mytextfile.txt and be sure to put it in your home (~) directory · Be sure to close the file you just created (and exit from the editor) e. Show the contents of your home (~) directory now? (include the same detail as above) [Paste a screen shot showing the new contents of your home directory…] [2 pts] · Note that the d in the first character of each directory listing line indicates that the entry is a directory If there is no d, then the entry is a file (such as mytextfile.txt) f. What size (in bytes) is your mytextfile.txt? Answer: ________________________ g. What is the date/time stamp of your mytextfile.txt? Answer: ________________________ · Use wildcards to be more selective when working with files

  • - represents zero or more characters

? - represents a single character [ ] - represents a range of characters For example : ls –l *.txt lists all file with an extension of txt ls –l MyFile?.txt lists all .txt files beginning with MyFile regardless of the 7th character in file name …MyFile1.txt, MyFile2.txt, MyFileA.txt, etc. h. Show the listing of all items in your home (~) directory that begin with Do Note use –d option of ls command to show directory listing rather than directory contents [Paste a screen shot showing the results…] [2 pts] i. What command did you use to show the listing above? Answer: ________________________ j. Show the listing of all items in your home (~) directory in which the second letter of the name contains an i (lower case i) [Paste a screen shot showing the results…] [2 pts] k. What command did you use to show the listing above? Answer: ________________________ l. What command did you use to update the date/time stamp? Answer: ________________________ [Paste a screen shot showing the results…] [2 pts]

7,534views
4.2
(38 ratings)

Related Study Guides

15 slides power point 225 words of explanatory text in the “notes” | Computer Science homework help

15 slides power point 225 words of explanatory text in the “Notes” area below your slides excluding the title page and refencie page Lisa apThis assignment will be submitted to Turnitin™. Instructions...

communicationart-design

3 Assignment Remote Work Environments in a Global Corporation. | CSIS 343 - Cybersecurity

2. Secure Remote Access Solutions: Recommend secure remote access solutions for employees working from various locations. Discuss the importance of Virtual Private Networks (VPNs), multi-factor authen...

educationhuman-resources

4 questions | Applied Sciences homework help

5. Prospective clients should receive a detailed list of all fees and costs. A study of 31 people whose photograph and testi- monial had appeared in newspaper ads for a weight-loss clinic found that 2...

communicationeducation

Applying the "eight steps to sound ethical decision making" to a real | Education homework help

4. Conclude by comparing the outcomes recommended by the Eight Steps with your initial response stated in the first step. How are they similar? How are they different? - 6 years ago - 10 Purchase the...

communicationeducation

Assessment 3 | Nursing homework help

assessment 3 marialex.perez55Develop a 10–12 slide power point presentation - 3 months ago - 20 assessment3.docx - Nurs4065__Ethical_and_Policy_Factors_in_Care_Coordination.mp4 - assessment3.docx asse...

political-sciencenursing

Assignment 5 Securing Industrial Control Systems in a Manufacturing Facility | CSIS 343 - Cybersecurity

5. Incident Response Plan for ICS Security Incidents: Develop an incident response plan specific to cyber threats affecting industrial control systems. Outline procedures for detecting and responding...

human-resourcescommunication

Bcn3611 term project | BCN 3611 | Florida International University, Modesto A. Maidique Campus - Miami, FL

BCN3611 Term Project lalaloopsUnsure of how to approach this and analyze plans. - 2 years ago - 35 BCN3611_ProjectDescriptionMAKUResidence-1.pdf BCN3611_ProjectDescriptionMAKUResidence-1.pdf - BCN3611...

communicationinformation-systems

BMAL 500 Discussion Board week 3 Paper..pdf | BMAL 500 - Organizational Behavior

Running head: DISCUSSION BOARD 4 BMAL 500 DB 4 David E. Brown Liberty University 1 Running head: DISCUSSION BOARD 4 Step 1, Define the Problem: Jennifer was seen as a top performer, the term top perfo...

leadershipcommunication

Need Help With A Similar Question?

Our experts deliver perfect solutions with guaranteed A+ grades

A+
Student Grade
98%
Success Rate
12h
Delivery Time
Join 1,000+ students who got their perfect solutions
Rated 4.9/5 by satisfied students

Need Help With This Question?

Academic Expert

Subject Matter Specialist

98%
Success Rate
24/7
Support

Why Students Trust Us

  • PhD-Level Expertise
  • Original Work Guarantee
  • Better Grade or Free

"Got an A+ on my assignment. Exactly what I needed!"

Recent Student