UNIX (I use Putty)  I answered some of this but I am honestly confused.      List of commands to read and use: use of wild card characters (*, ? and set []), mkdir, rmdir, touch, cd, pwd, ls, .. and .  Change working directory to your login directory $ cd directory_name Create a subdirectory for this question under your login directory Mkdir sub_directory_name Change working directory to the newly created directory CD new_created dir Cd sub -changes to the subdirectory with the login directory. Cd /-Follows the root/login directory with a new directory path: Cd sub Display the pathname of the working directory Pwd Use touch command(s) to create the files: intro, notea, noteb, notex, ref1, ref2, ref3, section1, section2, section3, section4x, section4y, section4z $ touch intro notea noteb notex ref1 ref2 ref3 section1 section2 section3 section4x section4y section4z Using one or more of the wild card charaters *, ? and range (also called set) like [abx] and [1-3] in the file pathname, issue appropriate command(s) to do the following.  Note: You must show the use of the above three wild card characters individually in one or more commands for part (6) to 11) below.   list all files that begin with section using wildcard character List only the files section1, section2, and section3 using wildcard character List the intro files only using a wild card character List the files section1, section3, ref1 and ref3 using set/range Change the permission to all files that begin with section to rwxrw-rw-. Display the file attributes to show that file permissions changed Change working directory to the parent directory using relative path Display pathname of working directory Issue command to delete the directory you created for Q2 without using –r option Using echo command answer whether you are able to delete a non-empty directory Change working directory to the directory you created Delete all the files using wild card characters without using –r option Change working directory to parent directory Delete the directory yo

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

UNIX (I use Putty) 

I answered some of this but I am honestly confused. 

    List of commands to read and use: use of wild card characters (*, ? and set []), mkdir, rmdir, touch, cd, pwd, ls, .. and . 

  • Change working directory to your login directory $ cd directory_name
  • Create a subdirectory for this question under your login directory Mkdir sub_directory_name
  • Change working directory to the newly created directory

CD new_created dir

Cd sub -changes to the subdirectory with the login directory.

Cd /-Follows the root/login directory with a new directory path:

Cd sub

  • Display the pathname of the working directory

Pwd

  • Use touch command(s) to create the files: intro, notea, noteb, notex, ref1, ref2, ref3, section1, section2, section3, section4x, section4y, section4z

$ touch intro notea noteb notex ref1 ref2 ref3 section1 section2 section3 section4x section4y section4z

Using one or more of the wild card charaters *, ? and range (also called set) like [abx] and [1-3] in the file pathname, issue appropriate command(s) to do the following.  Note: You must show the use of the above three wild card characters individually in one or more commands for part (6) to 11) below.

 

  • list all files that begin with section using wildcard character
  • List only the files section1, section2, and section3 using wildcard character
  • List the intro files only using a wild card character
  • List the files section1, section3, ref1 and ref3 using set/range
  • Change the permission to all files that begin with section to rwxrw-rw-.
  • Display the file attributes to show that file permissions changed
  • Change working directory to the parent directory using relative path
  • Display pathname of working directory
  • Issue command to delete the directory you created for Q2 without using –r option
  • Using echo command answer whether you are able to delete a non-empty directory
  • Change working directory to the directory you created
  • Delete all the files using wild card characters without using –r option
  • Change working directory to parent directory
  • Delete the directory you created
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY