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

Please where should I type the following commands to find the indicated info. Th

ID: 3745719 • Letter: P

Question

Please where should I type the following commands to find the indicated info. Thank you.

Command for OS: cat/etc/os-release

Command for kernel number: uname -a

Command to know unix shell: echo “$$”

Command to know unix shell version: echo $SHELL.- -version

Command to find out Mac address: if config-a

Command to find out CPU information: $more/proc/cpuinfo or $cat/proc/cpuinfo or $less/proc/cpuinfo

NOTE: With vim installed (you don't need to show the commands to install vim), how you will find the absolute path to the executable vim in your $PATH?

Command: /usa/bin/vi

export path = /usa/local/sbin;/usa/10

Explanation / Answer

Command for OS: cat/etc/os-release

Command for kernel number: uname -a

Command to know unix shell: echo “$$”

Command to know unix shell version: echo $SHELL.- -version

Command to find out Mac address: if config-a

Command to find out CPU information: $more/proc/cpuinfo or $cat/proc/cpuinfo or $less/proc/cpuinfo

For all these commands, you just need to do the same thing :-

1) Open terminal

In case of remote server login ; after opening terminal please use this command
ssh user@server-name

After this type your provided commands, it will work

For finding the absolute path to the executable vim in your $PATH ; then we can use "which"

Example :- which vim

Note :- You can also use whereis but it will show all path for vim files not necessarily executable