TAILIEUCHUNG - The Linux bash and C Shells

This lab will be using the Linux ps command. The ps command gives a snapshot of the current processes (or jobs) that are running. Before starting this lab, learn more about the ps command by typing: man ps What are some significant switches that can be used with the ps command? | Lab The Linux bash and C Shells Estimated Time 15 minutes Objective In this lab the student will learn how to use the following shells bash csh Equipment The following equipment is required for this exercise Computer with Linux Red Hat installed and booted CLI window open. Scenario Log-in and run the bash shell and the C shell. Initiate various commands to compare and contrast the two shells. Procedures Step 1 Shell Background Information Answer the following questions 1. What is a shell 2. Who wrote the bash and the C shells 1 - 5 IT Essentials II - Lab Copyright 2002 Cisco Systems Inc. This lab will be using the Linux ps command. The ps command gives a snapshot of the current processes or jobs that are running. Before starting this lab learn more about the ps command by typing man ps What are some significant switches that can be used with the ps command Note All Linux shells have many common attributes. For example the following keystrokes will do the following functions Ctrl-C Sends an interrupt signal to terminate a process. Ctrl-D Sends an end of file to the running command. Ctrl-Z Suspends the currently running program. Step 2 Shell Operations If not already logged in log in now with a student user account and password. To determine the current shell try typing in the following commands ps and echo SHELL The echo command will reply back to the monitor or echo information about the current running shell. studentAl@systemAl studentAlJi ps PID TTY TIME CMD 3914 pts 1 00 00 00 bash 3944 pts 1 00 00 00 ps studentAl@systemAl studentAlJi echo iSHELL bin bash studentAl@systemAl studentAlJi I Does the screen look like this What is the shell that is currently running 2 - 5 IT Essentials II - Lab Copyright 2002 Cisco Systems Inc. Step 3 The C Shell 1. Switch to the C shell. At the prompt type csh What does the prompt look like How is it different from the bash shell 2. Run the ps command again type ps Describe the output of this .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.