Exercise SHELL SCRIPTING

Completed Posted Dec 4, 2014 Paid on delivery
Completed Paid on delivery

E X E R C I S E

NOTE: Write Shell Script for the following before writing any script make your current directory your home directory (use cd command without argument to do this):

Exercise 5:

1. Determine your login shell and change it to BASH and determine your current path and set it for your home directory. (and if it is already BASH)

2. Use the who command and redirect the result to a file called myfile1 and display the contain of myfile1.

3. Verify that you are in your home directory, make the directory named mydir under your home directory, enter into mydir and verify that you are into the myfile directory.

4. Make a file named testfile under mydir, verify that the file testfile exists and list the contents of the file testfile to the screen.

5. Make a copy of the file testfile with the name secondfile, verify that the files testfile and secondfile both exist, list the contents of both testfile and secondfile to the monitor screen.

6. Delete the file testfile, verify that testfile has been deleted, clear the window.

7. Enter into mydir rename secondfile to thefile, copy thefile to your home directory, remove thefile from the current directory, verify that thefile has been removed.

Shell Script

Project ID: #6824472

About the project

11 proposals Remote project Active Dec 5, 2014

Awarded to:

athoscribeiro

Hi, I will write this for you in a few minutes. I can also add comments around the code explaining each step.

$10 USD in 1 day
(0 Reviews)
0.0

11 freelancers are bidding on average $19 for this job

kaloyan13

Hello, I can write your script in 15 min. Can do it immediately. I want you to create the milestone, before we start. Thanks.

$20 USD in 1 day
(53 Reviews)
5.0
linuxpakistan

As Salam O Alikum, Brother i can do these mentioned tasks for you. I am currently in Saudi Arabia. Please message me to discuss more about it. These are not shell scripting tasks these are the tasks which need to More

$25 USD in 0 days
(1 Review)
0.6
giampaolofolena

A proposal has not yet been provided

$25 USD in 1 day
(0 Reviews)
0.0
kevinnguyen27

A proposal has not yet been provided

$10 USD in 1 day
(0 Reviews)
0.0
nandaputra106574

I have more than 1yrs experience in shell scripting. Price is low. Will be delivering script in 1 day. Thanks.

$10 USD in 1 day
(0 Reviews)
0.0
jchellem

A proposal has not yet been provided

$25 USD in 1 day
(0 Reviews)
0.0
vw6947618vw

Developed several automation software for data processing, remote backup administration, file handling, different tools for automated reports and alarm system using Shell script. Besides can configure Linux based serve More

$20 USD in 1 day
(0 Reviews)
0.0
Keshav4427

Hey,I have already started doing your assignment and i will deliver this project in couple of hours Message me if you are interested :)

$18 USD in 1 day
(0 Reviews)
0.0
komden

Hi. I worked hosting company 4 years. Have experience in the administration of servers Linux, FreeBSD, Cisco etc. I am create scripts on sh, bash partially on perl

$25 USD in 1 day
(0 Reviews)
0.0