RHEL Lab 13 Linux Network Clients

Goal: Practice using a variety of tools to transfer files between your system and a remote system. System Setup: A working, installed Red Hat Enterprise Linux system with an unprivileged user account named student with a password of student. Lab Setup : Instructor should set up one of the...
Continue reading

Lab 12 Finding and Processing Files

Sequence 1: Using find Scenario: Log in as user student. Devise and execute a find command that produces the result described in each of the following problems, then write down the command in the space provided. You may need to refer to the man page for find. Remember...
Continue reading

Lab 11 Configuring the bash Shell

Sequence 1: Configuring the bash Shell Deliverable: A system with new aliases that clear the screen, and produce a useful timesorted ls listing. Instructions: You have decided to create an alias so that when you type c, the system will run the clear command to clear the screen....
Continue reading

Lab 10 Process Control

Sequence 1: Job Control [student@stationX ~]$ su - Begin some jobs in the background: [root@stationX ~]# tail -n0 -f /var/log/messages & [root@stationX ~]# updatedb & [root@stationX ~]# service syslog restart [root@stationX ~]# jobs [root@stationX ~]# kill %1 [root@stationX ~]# jobs Next, start an instance of vim [root@stationX ~]#...
Continue reading

Lab 9 Understanding the Configuration Tools

Sequence 1: Configuring the Network with system-config-network Select System-> Administration-> Network. Click New, highlight Ethernet Connection, and click Forward. Highlight the device associated with eth0 and click Forward. Enter 192.168.50.X where X is your station number in the Address field. Enter 255.255.255.0 in the Subnet Mask field. Leave...
Continue reading

Lab 8 Using vi Editor

Sequence 1: Navigating with vi Log in as user student [student@stationX ~]$ cp /etc/passwd ~ [student@stationX ~]$ vim ~/passwd First, try moving around using such as the arrows, PgUp, PgDn. They should all work as expected. Note, however, that on older systems they might not. moving from word...
Continue reading

Lab 7 Introduction to String Processing

Sequence 1: Exercises in string processing Other than the man page, how could you get a summary of options for the aspell command, displayed one page at a time? aspell –help | less How many files are in the directory /usr/bin? ls /usr/bin | wc -l List the...
Continue reading

Lab 6 Standard IO redirection Pipes and tee

Sequence 1: Check System Status and inform Super User (root) about the same. 1. Check the CPU Usage and Memory Utilization [student @ stationX ~] $ cat /proc/cpuinfo /proc /meminfo [Student @ stationX ~] $ cat /proc/cpuinfo /proc/meminfo | more 2. Mail the Details to root [student @...
Continue reading

Lab 5 Exploring the Bash Shell

Sequence 1: Directory and file organization Log in as user student with the password student. [student@stationX ~]$ pwd /home/student [student@stationX ~]$ touch {report,memo,graph}_{sep,oct,nov,dec}_{a,b,c}_{1,2,3} Use the ls command to examine the results of the last command. You should find that it created 108 new, empty files [student@stationX ~]$ mkdir...
Continue reading

Lab 4 File Permissions and Security

Sequence 1: Determining File Permissions 1. What is the symbolic representation 644                             rw-r – r– rwxr-xr-x                     755 000                             ——— 711                             rwx-x-x 700                             rwx——— 777                             rwxrwxrwx r-xr-xr-x                       555 111                             –x–x–x 600                             rw——- rwx-wx–x                   731 2. Given a File with permissions 755, What Would commands...
Continue reading

Show Buttons
Hide Buttons