Search Results

Search: Posts Made By: onlyc
6,267
Posted By onlyc
Trap
Thanx!
Didn't know i could have more than one statement inside the trap cmd.

Works!
:-)
14,724
Posted By onlyc
shell script: deleting files from a directory
i have the following problem:
use shell script:

Two directories have to be searched for files havin the same name.
then delete these files from one of these directories.
the directory names...
6,267
Posted By onlyc
I want to, both: 1. display a message and...
I want to, both:
1. display a message and then.
2. exit from the script.

How???
6,267
Posted By onlyc
trap command
i have the following script that displays the current time until the user presses CTR + c.... but it does not work properly....
Something is not right with the trap command...

Help plz... ...
31,142
Posted By onlyc
Thanx!
Thank you...
31,142
Posted By onlyc
last modification date
What i have done is: accepted user input and done validation to check if the file is a valid one.
But i cant retrieve the last modification date...


I have tried using :
ls -l , put it into a...
31,142
Posted By onlyc
Shell script: last modification date for a file
Hi i have a ques in Shell scripting:

ques: accept a filename as a command line argument. Validate the input and display the last modification date for that file.

Help pls.
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 01:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy