In regards to UNIX 2.) If a command\'s executable file resides in a directory th
ID: 3714335 • Letter: I
Question
In regards to UNIX
2.) If a command's executable file resides in a directory that is not defined in your PATH environment variable, how can you still execute it? Provide an example.
4.) Write commands to:
a. list the contents of the current directory in reversed alphabetic order, from z to a, in
long format
b. list the contents of the directory but send the output of the listing to a file named
dirlist.txt.
c. count the number of files in a directory (but not including the . and .. files)
5.) Write a command to compare the contents of files named list1 and list2 and show
only the lines they have in common.
6.) Will the command cp tmp1 tmp2 work if:
a. tmp1 is an ordinary file and tmp2 is a directory?
b. Both tmp1 and tmp2 are directories?
7.) Can you always delete a file with the permissions set to 777? Explain.
Explanation / Answer
2) c:> echo %userprofile%
c:> users Your name
7) There will be 3 sets of 'rwx'
user, group and other
6) create, copy, rename
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.