Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page I need a help to solve this problem....
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Closed Thread
 
Thread Tools Display Modes
Old 03-03-2008   #1 (permalink)
isurues
Just Joined!
 
Join Date: Mar 2008
Posts: 1
Smile I need a help to solve this problem....

1)Dir command in windows is used to displays a list of files and subdirectories in a directory. It allows following options with it.

a./D - Sort by coloumns
b./N - Show long list format
c./OD - Sort by oldest to newest
d./O-D - Sort by newest to oldest
e./P - Pause after each screenful of information
f./S - Recursive listing

Write a shell script that enables dir command on terminal.

Hint : Name your script by name “dir” and add the path of the script to the $PATH. Check the man page for ls command to find the equivalent linux options for the options stated above.

i dont wanna answer for this problem.. need some details ...and tha way i can find a solution
isurues is offline  
Old 03-03-2008   #2 (permalink)
MikeTbob
Linux Guru
 
MikeTbob's Avatar
 
Join Date: Apr 2006
Location: Cowtown, Texas
Posts: 2,288
Quote:
Originally Posted by isurues View Post
1)Dir command in windows is used to displays a list of files and subdirectories in a directory. It allows following options with it.

a./D - Sort by coloumns
b./N - Show long list format
c./OD - Sort by oldest to newest
d./O-D - Sort by newest to oldest
e./P - Pause after each screenful of information
f./S - Recursive listing

Write a shell script that enables dir command on terminal.

Hint : Name your script by name “dir” and add the path of the script to the $PATH. Check the man page for ls command to find the equivalent linux options for the options stated above.

i dont wanna answer for this problem.. need some details ...and tha way i can find a solution
Hiya isurues,
Welcome to the forums.
This sounds like a homework assignment, which is against the forum rules. But you're only asking for details, so I think thats ok.
All I can suggest to you is, read the man pages for ls and dir, try the info pages too. Good Luck.
__________________
Linux user #286065
Distro:Gentoo + KDE-3.5.9
MikeTbob is offline  
Old 03-03-2008   #3 (permalink)
devils casper
Ghost
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,108
Have you checked manpage of ls command?
Code:
man ls
It looks like HomeWork assignment only. Its against Forum Rules as mentioned by MikeTbob already.
Do start a new thread if you have any particular problem.
__________________
New Users: Read This First
If you woke up breathing, Congratulations! You get another chance.

devils casper is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows XP won't boot after using GAG, recommended to use Linux to solve problem dylan623 Slackware Linux Help 2 12-12-2006 06:09 PM
big problem ...i dont know how to solve it jan1024188 Redhat / Fedora Linux Help 1 12-08-2006 07:01 PM
Redhat ES4 installing problem please solve it dove2 Redhat / Fedora Linux Help 1 12-07-2006 09:12 AM
Wacom Intuos problem in SuSE 9.3 LaLinea Peripherals / Hardware 0 09-04-2005 08:03 PM
KDE 3.3 menu size problem, maybe recrof SuSE Linux Help 2 11-08-2004 05:52 PM




All times are GMT. The time now is 07:46 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0