Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The purpose of this project is to become more comfortable with the UNIX command line interface. Use the general.asu.edu RedHat Linux system. PART 1 :

The purpose of this project is to become more comfortable with the UNIX command line interface. Use the general.asu.edu RedHat Linux system.
PART 1: Read and review the following in your textbook:
Chapter 1: pages #3 to 24
Chapter 2: pages #25 to 55
Complete the Self Test and Exercises at the end of each chapter.
PART 2: Experiment with some basic Unix commands:
Log on as your regular user to the general.asu.edu
Notice the CLI default prompt components: [user @hostname | dir]
use the pwd command to identify your location
use the cd / command to get to the root of your directory tree structure
use the cd ~ command to get back to your home directory
HAND-IN: Screen Capture #1 of of the above activities
PART 3: Learn about commands to get help:
use the man ls command to review the ls command
use the info ls command to review the ls command
use the help command
HAND-IN: Screen Capture #2 of of the above activities
PART 4: Learn about commands to navigate the directory tree structure:
use the ls ali / command to review the contents of the / directory
Review the Linux Filesystem Standard (FSSTD) and document the following directories contents
/-------
|--bin
|--boot
|--dev
|--etc
|--home
|--lib
|--mnt
|--opt
|--root
|--sbin
|--tmp
|--usr
|--var
3. use the cd etc OR cd /etc to change your default directory to the etc directory
4. use the ls ali command to review the contents of the /etc directory
5. now, change your directory to /dev and use the ls ali command to review the contents of the /dev directory
6. get back to your home directory and use the mkdir test1 command to make a directory in your home directory
7. use the cd command to change into the test1 directory
8. create a file in the test1 directory by touch file1
9. use the ls command to view the details of the file1, What options do you use to see the detail?
10. rm file1
11. exit the test1 directory
12. rmdir test1
13. use the cd, mkdir, and cp commands to make a directory named test in your home directory and copy the /etc/passwd file to /home/test/passwd.bak file
type: cp /etc/passwd passwd.bak
14. HAND-IN: Screen Capture #3 of of the above activities
PART 5: Learn about commands used to view contents of files:
use the cat command to review the contents of the /home/test/passwd.bak
type: cat passwd.bak
2. now add the |more to the last command (see what happens when you push the up arrow curser key-it recalls the last command)
3. now try to cat the passwd.bak file but look at the first few lines and then the last few lines using the head and tail commands
type: head passwd.bak and tail passwd.bak
4. lets now add the n2 option to the head and tail commands and see what happens
5. lets look more at the cat command and redirection of output to a file:
type: cat > file1 and enter a paragraph about how you feel about Unix. Hit the ctrl and d to exit
6. create another file: ls -ali > file50
7. add to that file: cat /passwd.bak >> file50
8. review your work using the cat command
9. try to pull out any lines from the file50 with root: grep root file50
10. HAND-IN: Screen Capture #4 of of the above activities
PART 6: Lets practice utilizing files and directories in our file systems structure:
create the following hierarchical directory structures:
test
|
dir1 dir2 dir3 dir4
|

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions

Question

Solve the following 1,4 3 2TT 5x- 1+ (15 x) dx 5X

Answered: 1 week ago

Question

10-9 How have social technologies changed e-commerce?

Answered: 1 week ago