Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help with these questions for my homework. This is all UNIX/Linux stuff.

ID: 3599257 • Letter: I

Question

I need help with these questions for my homework. This is all UNIX/Linux stuff.

1. Identify the three parts of the UNIX command ls -l /usr/bin

2. The shell scans each command you type several times before execution. What symbols can you use to prevent the shell from scanning certain parts?

3. What command shows you the PIDs of your current processes?

4. Identify redirection symbols used in UNIX commands dor specifying what to do with input and output.

5. This command shows you a periodically updated list of which processes are using the most system resources. It uses lots of resources itself.

Explanation / Answer

1.

There are 3 Parts of UNIX, which are:

Shell (user interface)
Kernel (operating system)
File System.

ls -l /usr/bin
list the contents of /usr/bin and only show filenames.

2.

# - Marks the command as a comment, which the shell ignores.

3.

You have to utilize the ps command.It give data about the at present running processes, including their processes identification numbers (PIDs). Both Linux and UNIX bolster the ps summon to show data about all running procedure.The ps command gives a preview of the present processes.In the event that you need a tedious refresh of this status, use top, atop, as well as htop command

4.

You can redirect the input of a command away from your keyboard, and you can redirect the output of a command away from your screen.

The redirection can be to or from a file using the shell meta-characters ‘>’ or ‘<’ (angle brackets) or it can be to or from a program using the shell meta character ‘|’ (the pipe symbol).

5. top command

The Unix top command is useful for monitoring systems continuously for processes that take more system resources like the CPU time and the memory.top periodically updates the display showing the high resource consuming processes at the top.