this is my script...
However... I am not getting any input from server #4. This is my output.
abhmq01.abh-sort.us.dhl.com fail
abhxdb01d.abh-sort.us.dhl.com fail
admpae1-65.phx-dc.dhl.com fail
---> (I am missing input from server #4) this line was added by me to explain
/tmp/ /var/tmp/ /var/spool/mqueue /var/spool/sockets /usr/tmp/ /cdrom/ /SD_CDROM/ /mnt/ /tmp_mnt/ /dev/fd/ /proc/ /INFORMIXTMP/ /etc/mnttab core
However, the content of the file is written to the excludedata!
How would I pass awk output to a perl variable?
For example, I want to save the value in the 4th column into the variable called test. My best guess is something as follow, but I am sure this isn't correct.
$test = system("awk '/NUMBER/{print \$4}' $_"); (8 Replies)
hi all i am trying to save an awk value into an array in bash:
total=`awk '{sum+=$3} END {print sum}' "$count".txt"`
((count++))
the above statement is in a while loop..
$count is to keep track of file numbers (1.txt,2.txt,3.txt,etc.)
i get the following error:
./lines1:... (1 Reply)
Hello,
I have a shell script containing a command string in the following format:
command1 | command2 | cut -c9-16
The output from this is a record number (using characters 9-16 of the original output string) e.g. ORD-1234
I wish to save this value to a variable for use in later commands... (4 Replies)
Good morning everyone,
i am looking to know how to save the output of a command and reuse it again within a script
i already tired this one but it didn't work
TEMPDIR=/dir1/dir2
My_command> $TEMPDIR/$TEMPFILE
rm $TEMPDIR/$TEMPFILE*
it keeps saying "cannot write to a... (15 Replies)
Hi all........
Plss do help me.......in a big trouble... :wall::wall::wall:
I have 3 directories named as :1. /home/shuchi/source
2./home/shuchi/destination
3./home/shuchi/filter
now the problem is /home/shuchi/source has say 2 files with extension .txt as given below :
A.txt
Code:
... (0 Replies)
Hi all........
Plss do help me.......in a big trouble... :wall::wall::wall:
I have 3 directories named as :1. /home/shuchi/source
2./home/shuchi/destination
3./home/shuchi/filter
now the problem is /home/shuchi/source has say 2 files with extension .txt as given below :
A.txt
msisdn ... (5 Replies)
I have been trying this program for a long time. I am trying to read a file named "odon" line by line; read the first line, send it to do a command saved in a file "perm", once the first line has finished going through the content of the file perm, the result is saved with the number of the line.... (17 Replies)
Shell : bash
OS : Oracle Linux 6.4
I want to save the ouput of a nohup command to file other than nohup.out . Below are my 3 attempts.
For both Attempt1 and Attempt2 , the redirection logs the output correctly to the output file. But I get the error "ignoring input and redirecting stderr to... (7 Replies)
Hi,
i need help with a file creation of an output program. I've got a program that with #find creates an output for each files in a directory.
If i give this command :
-o spec$(date -u +%Y%m%dt%H%M)
it creates just one file, overwriting all the others since it is the creation date .... (2 Replies)
Hi,
I am working on a script where I am adding adding colors to few of the info in the output.
Now , after that is done , I see colour codes in log files which I don't want to see.:mad::mad::mad::mad:
So , I tried using sed command in script as below which gives me o/p (new.log) as blank file... (7 Replies)
Discussion started by: Dream4649
7 Replies
LEARN ABOUT DEBIAN
sss_ssh_knownhostsproxy
SSS_SSH_KNOWNHOSTSPR(1) SSSD Manual pages SSS_SSH_KNOWNHOSTSPR(1)NAME
sss_ssh_knownhostsproxy - get OpenSSH host keys
SYNOPSIS
sss_ssh_knownhostsproxy [options] HOST [PROXY_COMMAND]
DESCRIPTION
sss_ssh_knownhostsproxy acquires SSH host public keys for host HOST, stores them in a custom OpenSSH known_hosts file (see the
"SSH_KNOWN_HOSTS FILE FORMAT" section of sshd(8) for more information) /var/lib/sss/pubconf/known_hosts and estabilishes connection to the
host.
If PROXY_COMMAND is specified, it is used to create the connection to the host instead of opening a socket.
ssh(1) can be configured to use sss_ssh_knownhostsproxy for host key authentication by using the following directives for ssh(1)
configuration:
ProxyCommand /usr/bin/sss_ssh_knownhostsproxy -p %p %h
GlobalKnownHostsFile2 /var/lib/sss/pubconf/known_hosts
This is an experimental feature, please use http://fedorahosted.org/sssd to report any issues.
OPTIONS -p,--port PORT
Use port PORT to connect to the host. By default, port 22 is used.
-d,--domain DOMAIN
Search for host public keys in SSSD domain DOMAIN.
-h,--help
Display help message and exit.
SEE ALSO ssh(8), ssh_config(5), sss_ssh_authorizedkeys(1).
AUTHORS
The SSSD upstream - http://fedorahosted.org/sssd
SSSD 03/04/2013 SSS_SSH_KNOWNHOSTSPR(1)