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
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
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)