Search Results

Search: Posts Made By: qasim
2,187
Posted By qasim
Get the last value in the input stream
Hello Everyone,
The situation is:

$ alias rm="sh abc.sh"


#abc.sh:
read input
echo "The input was: " $input



$ rm xyz.txt

should return
"The input was:...
Forum: Programming 08-04-2009
2,369
Posted By qasim
Thanks a lot guys
Thanks a lot guys
Forum: Programming 08-03-2009
2,369
Posted By qasim
Assign a command to execute a file
Hi all,
I want to assign a command name to a file.e.g.
suppose I have a .sh file "xyz.sh". I want to execute the file by typing in "abc".
The desired output is:
$ abc
should execute the...
3,005
Posted By qasim
That's lovely.Thank you very much. I 'll really...
That's lovely.Thank you very much.
I 'll really appreciate if somebody would let me know what's wrong with my code (so i could improve my scripting skills)
Regards,
Qasim
3,005
Posted By qasim
Listing directories and sub directories
Hi,
I am trying to get the following output:
-(0)
/home/<user-name>-(1)
..........a-(2)
....................codetest-(3)
..............................oracle-(4)
...
Showing results 1 to 5 of 5

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