How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask Steve Herrod Your Own Question

Steve Herrod
Steve Herrod, Masters Degree
Category: Homework
Satisfied Customers: 2624
Experience:  BA (Hons) & MA Qualifications
65126503
Type Your Homework Question Here...
Steve Herrod is online now
A new question is answered every 9 seconds

Hello, I need this worksheet completed for my Unix/Linux

Resolved Question:

Hello,

I need this worksheet completed for my Unix/Linux class. If the actual word document would be better for you, just let me know. Thank you

Linux® Script 1

Requirements

In the same folder as last week, create a new file titled week3prog1[name].scr.

Change the permissions on this new file to add the execute bit for user, group, and owner.

Edit your new file using Gedit or VI and change it so it performs the following actions:

• Display the date.
• Display the words Hello World.
• Display information about users that are currently logged in.

Note. Remember to include #!/bin/bash as the first line of your script.

Save the file and type your file name to execute.

Source Programs



Output Results





Linux® Script 2

Requirements

In the same folder as last week, create a new file called week3prog2[name].scr.

Change the permissions on this new file to add the execute bit for user, group, and owner.

Edit your new file using Gedit or VI and change it so it performs the following actions:

• Using a line after #!/bin/bash, take the output of the ps –e command and pipe it to the sort command.
• After it has been piped to the sort command, redirect that output to a file called psfile.

Note. Remember to include #!/bin/bash as the first line of your script.

Source Programs



Output Results





Linux® Script 3

Requirements

In the same folder as last week, create a new file called week3prog3[name].scr.

Change the permissions on this new file to add the execute bit for user, group, and owner.

Create two files.

• File1 has one line with the value of 5.
• File2 has one line with the value of 100.

Edit your new file using Gedit or VI and change it so it performs the following actions:

• Read the values from the two files above (file1 and file2).
• Divide the value from file2 by the value in file1.
• Output the result of this calculation to a new file called file3.

Note. Remember to include #!/bin/bash as the first line of your script.

Source Programs



Output Results
Submitted: 12 months ago.
Category: Homework
Expert:  Steve Herrod replied 12 months ago.

Steve Herrod :

Hi, I'll be happy to help with this and will send the scripts through later this morning

Steve Herrod :

Cheers

Steve Herrod :

Steve

Steve Herrod :

Zip file is attached

Steve Herrod :

Cheers

Steve Herrod :

Steve

Customer:

I am unable to open the zip file. Is there any other way for you to send it to me in another way. Thank you very much.

Steve Herrod :

Yes, I will upload them again shortly when back in front of laptop

Customer:

Ok thank you.

Steve Herrod :

Here is the first script

Steve Herrod :

DANGEROUS URL REMOVED

Steve Herrod :

Second script

Steve Herrod :

DANGEROUS URL REMOVED

Steve Herrod :

Third script

Steve Herrod :

DANGEROUS URL REMOVED

Steve Herrod :

Cheers

Steve Herrod :

Steve

Customer:

all three say dangerous URL Removed

Steve Herrod :

Ok - apologies the chat system is blocking the wikisend site

Steve Herrod :

if you go to wikisend.com

Customer:

It is alright....can you just email the document to my email address?

Steve Herrod :

unfortunately we can't use e-mail

Steve Herrod :

if you go to wikisend.com

Steve Herrod :

and choose Download

Steve Herrod :

it will ask for a file ID

Steve Herrod :

use the following for each script

Steve Herrod :

645030

Steve Herrod :

that is script 1

Steve Herrod :

691954

Steve Herrod :

that is script 2

Steve Herrod :

456366

Steve Herrod :

that is script 3

Customer:

None of them are working. I am getting an error message stating that this file could harm my computer

Steve Herrod :

what operating system are you using?

Customer:

windows 7

Steve Herrod :

ok - i'll rename them as just text files

Customer:

ok thank you

Customer:

sorry about all of this

Steve Herrod :

that's ok - not a problem

Steve Herrod :

Wikisend ID# XXXXX is script 1 as a text file

Customer:

I need to get some sleep so when I wake up, hopefully everything is good to go

Steve Herrod :

Wikisend ID# XXXXX is script 2 as a text file

Steve Herrod :

Wikisend ID# XXXXX is script 3 as a text file

Steve Herrod :

should all download ok now on Windows 7

Steve Herrod :

This is also the worksheet with screenshots attached etc

Steve Herrod :

Cheers

Steve Herrod :

steve

Customer:

Thank you for all your help.

Steve Herrod, Masters Degree
Category: Homework
Satisfied Customers: 2624
Experience: BA (Hons) & MA Qualifications
Steve Herrod and 6 other Homework Specialists are ready to help you

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4522
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4522
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3458
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3124
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2385
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1988
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1876
    Bachelors Degree and CPA with Accounting work experience
  • http://ww2.justanswer.com/uploads/avremote/photoa.jpg Seanna's Avatar

    Seanna

    Tutor

    Satisfied Customers:

    1781
    3,000+ satisfied customers, all topics, A+ work
 
 
 

Related Homework Questions

Chat Now With A Tutor
Steve Herrod
Steve Herrod
Tutor
2624 Satisfied Customers
BA (Hons) & MA Qualifications