Search Results

Search: Posts Made By: aerosols
29,752
Posted By aerosols
thanks a lot! It works when I drop off '-f'. ...
thanks a lot! It works when I drop off '-f'.

One more question: why does it work when I use '-f' in c shell?
29,752
Posted By aerosols
This is not a problem in my case, since all files...
This is not a problem in my case, since all files in my current directory do not have a name starting with ".".



---------- Post updated at 10:00 AM ---------- Previous update was at 09:55 AM...
29,752
Posted By aerosols
See my script below(I did not quote it at all): ...
See my script below(I did not quote it at all):



it gave the error message in my last post. But if replace 'ls ./*' with 'ls ./', it works. thanks a lot!
29,752
Posted By aerosols
When I run the script, it gives the following...
When I run the script, it gives the following message:
"ls: ./*: No such file or directory"

I can not understand why (I directly type "ls ./*" at command line, it works).
29,752
Posted By aerosols
wildcard in bash shell script
I tried to use the wildcard '*' in my bash script, but I can not get it work. Here is a simple example (list file names in current directory):
ls ./*
does not work in my bash script. But it works...
56,766
Posted By aerosols
thanks a lot!
thanks a lot!
56,766
Posted By aerosols
how to format a number in bash
Say I have a number x=123, but I want to it be x=000123, because I need to use it in as a file name. thanks!
Showing results 1 to 7 of 7

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