The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Shell Script Required? Pls. help me ntgobinath Shell Programming and Scripting 22 05-29-2008 08:09 AM
Shell Script Required ntgobinath Shell Programming and Scripting 3 05-06-2008 02:04 PM
shell script required sethunath Linux 1 07-07-2007 06:04 AM
shell script required sethunath Shell Programming and Scripting 4 07-06-2007 04:39 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 08-27-2007
vats vats is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 10
Shell Script Required!

Hi people,

I am new to this forum. I have taken unix this semester in my college and i am new to it. I am finding shell scripting a bit hard and i need a little help.

I require a shell script to delete files that end as .bak , .BAK, #, ~ and files with the name core.The Script should accept a command a line argument the name of the starting directory in either absolute or relative notation. For example if the present working directory is /home and we wanted to process the directory /home/vats then the command line could be :
cleanup /home/vats or
cleanup vats or
cleanup ./vats
All of them should work.

Can anyone please help me...

Thanks
Vats

Last edited by vats; 08-28-2007 at 03:29 AM..
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:18 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0