Results 1 to 3 of 3
Hi,
I am Niraj. Was stuck in between one of my assignment.
Requirement:- while passing argument through the shell script program , argument should be a regular file and should ...
- 05-05-2009 #1Just Joined!
- Join Date
- Apr 2009
- Location
- Bangalore,India
- Posts
- 10
shell script to check the argument pased is which file type
Hi,
I am Niraj. Was stuck in between one of my assignment.
Requirement:- while passing argument through the shell script program , argument should be a regular file and should exist in the pwd.
So my questing is how to check the current argument passed in regular file or directory or symbolic link etc.
- 05-05-2009 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
- 05-05-2009 #3Just Joined!
- Join Date
- Apr 2009
- Location
- Bangalore,India
- Posts
- 10
Thanks a lot.. it was solved.


Reply With Quote