Business Final Test
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 student machines as an ftp server and [...]
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 that you can search man pages with [...]
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. Begin by logging in as user student [...]
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 ~]# vim While in vim, press Ctrl-z to [...]
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 the Gateway field blank. Click Forward, then [...]
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 to word with the w and b [...]
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 misspelled words in the /usr/share/doc/HTML/index.html file. aspell [...]
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 @ stationX ~] $ cat / proc /cpuinfo [...]
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 a_reports [student@stationX ~]$ mkdir september october november [...]