Search Results

Search: Posts Made By: mark_s_g
2,627
Posted By mark_s_g
Thanks, typo on my part - I'd better start using...
Thanks, typo on my part - I'd better start using vim instead of vi ...

---------- Post updated at 07:48 AM ---------- Previous update was at 07:37 AM ----------

Is it also possible to extract...
2,627
Posted By mark_s_g
populate a bash variable from an awk operation
Hi,

I'm trying to populate bash script variable, data_size with the
size of the largest file in my current directory

data_size=$(ls -lS | grep -v "total" | head -1) | awk '{ print $5 }'
...
1,193
Posted By mark_s_g
Thanks for the fast reply.
Thanks for the fast reply.
1,193
Posted By mark_s_g
search for latest file
Hi,
In need to write a bash script which will be run periodically to check the files in a target directory. This receives files on an ad hoc basis and the script need to compare the time stamp of...
Showing results 1 to 4 of 4

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