unix 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...




unix



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



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here