2.1.7 Practice Questions Linux Pro

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which of the following is displayed when the uname -a command is run?

All system information

What would you enter at the command prompt to display the current working directory?

pwd

Which of the following is the standard shell for MOST Linux computers?

Bourne-again shell (bash)

A Linux user has an executable file named that can save a snapshot of network information with the date and time in a log file. The executable ni file is in the /root directory, and /root is the current working directory. Which of the following commands would run the executable file? (Select two.)

./ni /root/ni

In which of the following files is the user's preferred shell normally set?

/etc/passwd

You are managing a Linux server with a console (without a GUI installed). Which of the following key combinations would you press to switch to the fourth shell session?

Ctrl+Alt+F4

What would you enter at a command prompt to start a new Bourne again shell (Bash) session?

bash

Which of the following commands should a Linux user enter to see a list of all the commands the user recently ran at the command prompt?

history

You are at a terminal command prompt in a Linux GUI interface that someone else has been using and want to find out which shell type is currently being used by the terminal. What command can you enter to find out the current shell type?

echo $0

As a Linux user, you have access to an executable file named myapp. It's found in the current directory, but not in the command path. What would you enter at the command prompt to start the myapp file and replace the shell with myapp process?

exec ./myapp


Kaugnay na mga set ng pag-aaral

Creative Writing Final Exam Review

View Set

BUSMHR 3200 (Noe Ch.14, Benefits)

View Set

Ch 4: Common Reproductive Issues

View Set

Cardiovascular NCLEX-PN Questions

View Set

10年文法不白學49-was和were的疑問句

View Set

Chapter 32- Orthopaedic Injuries

View Set

4540 Exam 3: Cultural Influence, Competence & Public Health Nutrition

View Set

Bronfenbrenner's bioecological model

View Set

Solving Inequalities: District 10

View Set

upper & lower motor neuron disease

View Set

English Commentary Game~Frankenstein

View Set