Ch 2 Using Linux Flashcards

  • 7,000
  • Tác giả: admin
  • Ngày đăng:
  • Lượt xem: 7
  • Tình trạng: Còn hàng

Students also studied

Study guides

Practice questions for this set

The symbolic links still exist in your home
directory, but they are useless because the liên kết
has been broken.

Which of the following commands would you enter to tướng view info node information about the sysctrl command?

Which awk/sort command combination displays a sorted list of usernames in the /etc/passwd file?

According to tướng the Filesystem Hierarchy Standard (FHS), which of the following directories contains information about the system state and processes?

You create symbolic links in your trang chính directory to tướng a mix of files in their /data directory using the ln -s command. Later, a system administrator deletes the files in the /data directory.
What happens to tướng the symbolic links that you created?

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

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

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

Bourne again shell (bash)

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

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

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

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

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

What would you enter at the command prompt to tướng display the current working directory?

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

You have just entered the apropos grep command at the command prompt. What can you expect to tướng be displayed?

A one-line man page mô tả tìm kiếm for the grep command.

Which of the following man page sections shows a list of options available for a Linux command and explains what the options do?

You have forgotten what information is provided by the whoami command, and simply want a short mô tả tìm kiếm of the command.
Which of the following help commands could you enter to tướng view that short description?

If you are viewing the contents of a man page, which key can you press to tướng get back to tướng the beginning of the page?

Which of the following commands would you enter to tướng view info node information about the sysctrl command?