Search Results

Search: Posts Made By: balapobi
1,984
Posted By balapobi
Use double quotes bash-3.2$ abc=$(grep TR2...
Use double quotes

bash-3.2$ abc=$(grep TR2 /mydata/MISE/MAPPLI/USD/mytransfer/_SRY10566_124005.mail | cut -d "/" -f2-|cut -d ":" -f2)

#echo -n "abc=$(grep TR2...
16,764
Posted By balapobi
#!/bin/sh while true do hour=$(date...
#!/bin/sh
while true
do
hour=$(date +"%T")
if [ "$hour" == 18:30:00 ]; then
<Do the JOB>
fi
done
1,107
Posted By balapobi
changes values in a file
search and replace the new values in file

abc/xxx/456/desc_1 int integer = 4400000
acc/xxx/456/rss int integer = 400
abc/xxx/123/data_2 int integer = 5000000
acc/xxx/456/rss int integer =...
5,865
Posted By balapobi
Try This, find . -maxdepth 1 -name \*.log...
Try This,
find . -maxdepth 1 -name \*.log -mtime +13 -exec rm "{}" ;

This wil find the *.log files and delete files older than 13 days, to avoid searching the subdirectories use maxdepth option....
4,544
Posted By balapobi
Copying files to remote machine using rsync
sciprtfile | tee filename.log

this will copy the output into a file

or

scriptfile | mail -s "backup files" user@domain.com
Forum: HP-UX 02-09-2008
47,489
Posted By balapobi
showmount -e <ipaddress> wiil show you the...
showmount -e <ipaddress>

wiil show you the shared folder path on NFS Server
Showing results 1 to 6 of 6

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