LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2015, 03:11 AM   #1
spezdaz
LQ Newbie
 
Registered: Mar 2015
Posts: 1

Rep: Reputation: Disabled
Writing a shell script, Uni first year


Hi, we were given a list of instructions to follow and all was going well until I got to a particular problem.

http://s14.postimg.org/uh30pax2p/201...57_Capture.png

I'm stuck as I can only use each command once. Any help is much appreciated! (sorry for being a noob)
 
Old 03-10-2015, 04:14 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

show us what you have tried (but doesn't meet the criteria) and we can probably help steer you towards a solution.

Evo2.
 
Old 03-10-2015, 05:24 AM   #3
fatmac
Senior Member
 
Registered: Sep 2011
Location: Surrey/Hants Border, UK
Distribution: BSD & Linux - As long as they are Lightweight
Posts: 1,500

Rep: Reputation: Disabled
Here you will find a listing of commands available to you to use
http://www.linuxdevcenter.com/cmd/

The ones I suggest you look at are :-
pwd
cat
grep/egrep/fgrep
ls
wc

All the best.
 
Old 03-10-2015, 08:40 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,096
Blog Entries: 10

Rep: Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522Reputation: 1522
Please post your attempted script and also be aware of LQ Rules

Quote:
Do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and searches) and we'll do our best to help. Keep in mind that your instructor might also be an LQ member.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need a help for writing shell script suboss87 Linux - Server 3 08-01-2012 02:58 AM
need a help for writing shell script suboss87 Red Hat 1 07-30-2012 09:00 AM
Need help in writing a shell script khandu Programming 7 12-02-2011 04:29 AM
[SOLVED] Writing a shell script mattz40 Debian 5 04-13-2005 07:56 PM
writing my first shell script speedhead34 Linux - Newbie 4 12-20-2004 01:50 AM


All times are GMT -5. The time now is 10:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration