Search Results

Search: Posts Made By: Kwanghyun Lee
Forum: Solaris 09-17-2011
9,718
Posted By Kwanghyun Lee
# pkginfo | grep -i volume # pkginfo -l SUNWvolr
# pkginfo | grep -i volume
# pkginfo -l SUNWvolr
2,557
Posted By Kwanghyun Lee
remove files..
If you want to delete files accessed by yesterday,


A=$(date | awk '{print substr($0,5,7)}')
ls -alu /tmp | egrep -v "${A}|^total" | awk '{print "rm -rf /tmp/"$9}' | sh -


(be careful...
1,228
Posted By Kwanghyun Lee
maybe...
I think keyword END must be in front without blank.
How about this?

ftp -n $SECONDARY << END
quote USER $USER
quote PASS $PASSWD
cd $PORTOUT_ERRORDIR
...
4,827
Posted By Kwanghyun Lee
You should use "Command"
Hello~ ;)

I think you should use only "Command" with ssh.

So if you want to call function, it is better to make a script.
For example...

1) yourcommand.sh
---> ssh $LOGNAME@$ServerName...
Showing results 1 to 4 of 4

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