Search Results

Search: Posts Made By: frijofranco
2,141
Posted By frijofranco
The simplest way you can do this is like this ...
The simplest way you can do this is like this

for ex:
CMD="ls -l | wc -l"

echo $CMD | /bin/sh
2,991
Posted By frijofranco
If you do not have any kind of permission the...
If you do not have any kind of permission the last method is to run your script as a daemon process... but use it as a last measure..
Forum: HP-UX 02-24-2009
6,427
Posted By frijofranco
The simplest way is to grep for any error message...
The simplest way is to grep for any error message in the log file and print the message accordingly. Pls let me if you need the syntax.
1,757
Posted By frijofranco
use find command. the simplest syntax iss ...
use find command. the simplest syntax iss

find . -name "*.*"

if you want to find the text inside the files

find . -name "*.*" | xargs grep -i "txt to search for"

change "." to any base...
6,101
Posted By frijofranco
Try this
#!/usr/bin/ksh
ls -1 *file.txt | while read FILENAME
do
DIRNAME=`echo "$FILENAME" | sed -n 's/........\(.*\)file.txt/\1/p'`
echo "starting FTP of $FILENAME to Directory /tmp/$DIRNAME...
30,827
Posted By frijofranco
Before doing this there are some settings needs...
Before doing this there are some settings needs to be done, else you can only use interactive mode for entring password. If you need to incorporate the ssh in batch mode you have to have the keys...
Showing results 1 to 6 of 6

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