Search Results

Search: Posts Made By: dmilks
3,100
Posted By dmilks
Comparing last modified dates
Hi All.

Can someone please give me an example of how I'd do a comparison to find out if the last modified date of a file is newer than yesterday (i.e. today - 1 day)?

Example:

if [ last...
41,399
Posted By dmilks
Removing substring from a string
Hi. I want to remove a substring from a string. If I use the "tr" command, it doesn't seem to to what I want it to:

echo './somestring.dat' | tr -d './'
results in
somestringdat

I want it...
27,545
Posted By dmilks
Find files based on permissions
Hi. I want to get a list of files, in a given folder, that aren't world readable (a+r). I've looked at the documentation on the FIND command, however I don't see how to list files by excluding...
13,438
Posted By dmilks
Thanks. If I open a Putty session and logon to...
Thanks. If I open a Putty session and logon to the server where the KSH script runs from, and type in "ping mgftp01", it does nothing - it just hangs. I know the server is up because I can logon to...
13,438
Posted By dmilks
Testing ssh connection from KSH script
Hi. I have a kornshell script that runs on a daily basis as a cron job. Part of what the script does is copy the folder contents from another server to the current server (server where KSH script...
Showing results 1 to 5 of 5

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