Search Results

Search: Posts Made By: rdogadin
5,935
Posted By rdogadin
scp error when using wildcard
Hello,

Every time my script runs I want it to go and copy all the files from a remote server directory to my local directory. Whenever I have files in the remote directory the command scp -p...
1,813
Posted By rdogadin
Thank you so much for the clarification
Thank you so much for the clarification
1,813
Posted By rdogadin
Thank you for the replies. So since man pages are...
Thank you for the replies. So since man pages are shell independent, does this mean that the syntax I get from running e.g. man test will work in any shell script if I run it on the same server?
1,813
Posted By rdogadin
MAN command for various shells
Whenever I run manual page on a command I get information about arguments, syntax and so on. However, I wounder if that information is valid only for a certain shell and if yes, then for which one? ...
1,762
Posted By rdogadin
Thank you guys. This is very helpful.
Thank you guys. This is very helpful.
1,762
Posted By rdogadin
ksh on UNIX and Linux
Hello,

Would the same version of Korn Shell (let's say ksh93) would use the same syntax on UNIX and LINUX and work exactly the same? Thanks
1,701
Posted By rdogadin
Thank you! this was really helpful. It all makes...
Thank you! this was really helpful. It all makes sense now. My UNIX is ksh88.
1,701
Posted By rdogadin
Thank you all for your replies. I guess one thing...
Thank you all for your replies. I guess one thing I am confused about is if I run my script under Korn Shell (#!/bin/ksh) on both unix and linux then why does it matter if I have BASH installed and...
1,701
Posted By rdogadin
Thanks guys, My linux bash version is GNU...
Thanks guys,
My linux bash version is
GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.

For unix, I can't even find one. I tried ...
1,701
Posted By rdogadin
Why statement works in LINUX and not UNIX?
Hello,

I have a ksh script that uses code below. For some reason it works under linux but fails in unix. Any idea why?
if [[ "$instance" =~ "DEV" ]]; then ...

Thanks
854
Posted By rdogadin
New advice on error checking
HI All,

Whenever I write a shell script I always check if a command got executed successfully, even for the commands like cd, mv, rm and others, and even for the cases when there is ALMOST nothing...
1,042
Posted By rdogadin
Do not understand grep output
In my directory I have two files and one subdirectory. When I run

ls -l |grep -v ^d I get the following output:

total 8
-rwxrwxrwx 1 qms qms 254 Oct 3 16:00 file1.txt
-rwxrwxrwx 1 qms qms...
2,959
Posted By rdogadin
CRON job still running?
Hi All,

I am writing a script that will eventually be executed by a cron job every 15 minutes. I want to make sure that my logic/script doesn't get executed if a previous job is still running....
1,009
Posted By rdogadin
Thanks, I was actually thinking about how to...
Thanks, I was actually thinking about how to handle ssh errors in this case.
1,009
Posted By rdogadin
INPUT/OUTPUT question
Hi All,

Is it wrong to do something like this:

ssh -T $PROXY_USER@$PROXY_SERVER < script.txt > ssh_output.log

I ran and it works fine and does what I need. I wanted to pass a set of commands...
Showing results 1 to 15 of 15

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