Search Results

Search: Posts Made By: r1omen
1,805
Posted By r1omen
Works! I don't know what this printf does...
Works!

I don't know what this printf does but will soon find out.

Thank You Scrutinizer!
1,805
Posted By r1omen
I tried eval. The problem is that scrip I'm...
I tried eval. The problem is that scrip I'm listing is sql and there are things like: "/*" "(c)" which gives:

=> if line of script starts with /* (begin of sql comment) it gives list of...
1,805
Posted By r1omen
List file with variables expanded
Hello,

I have this problem.

I have script file, e.g.

#!/usr/bin/ksh
echo $MY_DIR
ls -lt $MY_DIR

I want to list the script but with MY_DIR variable expanded. E.g.

MY_DIR=/abc/xyz (in...
4,269
Posted By r1omen
Thanks for the link - this is very useful info. ...
Thanks for the link - this is very useful info.

It does also what I already found out. I just need to set PATH for the script to match the one in my .profile file.

Thanks!
4,269
Posted By r1omen
sftp in cron
Hi,

I am running simple script to automate sftp transfer to remote box. I have setup public/private keys to have sftp connect automatically and have test script that list remote directory:

...
Showing results 1 to 5 of 5

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