Question: UNIX/ Linux II class Please need help 1 Wnte a command to display the contents of your ennent directory the lasting should show the permissions

UNIX/ Linux II class
Please need help  UNIX/ Linux II class Please need help 1 Wnte a command
to display the contents of your ennent directory the lasting should show
the permissions on each entry and should include any 'hidden' files in
the directory 2 Write the command to move to the sta directory,

1 Wnte a command to display the contents of your ennent directory the lasting should show the permissions on each entry and should include any 'hidden' files in the directory 2 Write the command to move to the sta directory, which is inside the root directory: use an absolute path in your answer 3. What command could you issue to create a new system group called ideesroup on your system: 4. What command could you use to install the lynx program on your fedora (red hat) system, assuming you had not yet downloaded any package files needed for the application: 5. Assume a file called 'newdata is in the home directory while you are currently in the /homemyname directory. Using relative paths, write a single command to copy the file newdata to your current directory: 6. Write the command to display the contents of a file called 'notes' so that you have forward and backward page control and the display shows line numbers on each line 7. Write a command to display only the 22nd line of the 'notes' file: 8. Assume there is a file called trorlog in the root directory (ie, a directory called 'root' inside the actual system root directory) and you wish to display the contents, but do not have permission to read the file. You are, however, a member of the admin group. Write a command to display the file (while logged in as your current user) You wish to set the permissions on a file called prog in your current director to AC-X-X. Write the shimod command to do this using octal syntax I 10. Assuming you have separate files called: filel, program, and script in your current directory, write a single command to put copies of each of these files in the directory: allfles which is a subdirectory of the toot directory (you have required permissions) 11. Assume you have two files called PantA and Parts in your current directory, and you wish to combine these files vertically (one after the other without a break) into a file called PartBA such that the contents of file Parts appear first followed by the contents of file Parts, Write the command for this: 12. After logon, what command do you issue to change to the system admin user (root user): 13. A file called 'actionlog' is in the boot directory (you are in your home directory) and you wish to display all lines from that file which have the word 'linux' in them; write the command to do this without changing directories: 14. Write a command that will put you in your home directory, regardless of where you currently are in the file system: 15. You wish to add the contents of file notes (in your current directory) to the file allnotes (also in your current directory. Write a command to perform this using redirection of output: 16. Write a single command to create a new directory tree called 'mystuff old which is to be a subdirectory of your current directory (neither of the new directories exist): 17. Write the command to run top in the background: 18. After running top in the background, you now type 'ps' and receive the following result: PID TTY TIME CMD 13698 pts/3 00:00:00 bash 13742 pts/3 00:00:00 top 13744 pts/3 00:00:00 PS. Write the command to terminate the top process (make sure it will terminate, regardless of system status) 19. Assume that you wish to delete the directory called 'garbage' and all its subdirectories, and that garbage' is a subdirectory of your current directory, but you do not know if garbage has any other files in it. Write the command 20. If you are in your home directory and you are the owner of a script called UpdateStats (also in your home directory) and you try to run the script but receive a 'file not found'error message, write an alternate command which should work (assuming the file has read, write, and execute permissions): 21. Assume that you attempt to execute a script called ShowStats but receive the message permission denied Write an alternate command that should work without actually changing permissions on the file (assume you have read permission on the file): 22. After logon, write the command to check whether a service called 'sarpald' is running and active on your system: 23. Write the command to display the available network interfaces on your machine including the current MAC and IP addresses: 24. Using relative paths, type the command to copy the file 'somethingnew which is in your current directory into your parent directory changing the name to somethingeld. After the operation the file somethingnew should no longer exist in your current direction. Also, the command will warn you if you are about to overwrite an existing file 25. Write the combined) command such that script 'adddata will run only if the script datacheck runs successfully before trying to run adddata

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!