Register
It is currently Fri Aug 01, 2014 1:46 am

This is the simple one. About


All times are UTC - 6 hours


Post new topic Reply to topic  [ 4 posts ] 
Author Message
 PostPosted: Wed Sep 01, 2010 7:35 am   

Joined: Wed Sep 01, 2010 7:30 am
Posts: 1
Write a bash script called "lsstderr.sh" which will execute ls on the first argument and output the result to STDERR.

i made the script and all..just dunno wht to write in it

My first line

#!/bin/bash
its something like ls $1>&2 ????
Im not sure cause ls $1>&2 didnt work

and its well it asked for ls first arguemt

and all i know its simple. Sorry for inconvenience.


Top
 Profile  
 PostPosted: Wed Sep 01, 2010 11:39 am   
User avatar

Joined: Sun Jun 27, 2010 12:57 am
Posts: 192
I guess you should have paid more attention during class when your teacher was explaining this.
You're better off apologizing to your teacher and asking him for help.


Top
 Profile  
 PostPosted: Wed Sep 01, 2010 2:32 pm   
Site Admin

Joined: Tue May 17, 2005 7:31 pm
Posts: 251
Location: Georgia
Patsie is correct, this isn't a "submit your homework and we will do it" forum...

You are correct saying this is a simple one, even if you didn't pay attention in class, you could figure it out with just a few Google searches..

Happy Hunting!


Top
 Profile  
 PostPosted: Wed Sep 01, 2010 5:31 pm   
User avatar

Joined: Tue Apr 27, 2010 2:28 pm
Posts: 172
Location: Czech Republic
What do you mean by "didn't work"?


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP