I have sometimes a problem when i want to copy files from a nas, it's the nas which have a problem when it is very requested by a lot of users, the command cp turn and don't stop (the file size does not increase) and it's lock.
Is it possible to verbose this command ?
I try with the flag -v but doesn't work
thank you.
---------- Post updated at 06:02 AM ---------- Previous update was at 01:59 AM ----------
hey all!
i'm looking how to render verbose python scripts.
what i'm looking for would be an equivalent to a "bash -xf" in bash script headers..
Any help? (2 Replies)
Sir,
I using the following commands in a file (part of a bigger script):
#!/bin/bash
cd /opt/oracle/bin
ls -lt | tail -1 | awk '{print $6}' >> /tmp/ramb.out
If I run this from the command prompt the result is:
2007-05-16
if I run it as a cron job then... (5 Replies)
We need to use sftp to replace the ftp on all our application scripts.
The command itself works, however,the output from the verbose is not giving us a success response with a transfer count. Our processes require that we interrogate the response to ensure the data transfer was successful.
... (2 Replies)
This is about to drive me crazy. What I want to do is simple:
output ALL the verbose information from curl to a file
I have read the manual, tried several options and searched this forum but no salvation...
I'm using
curl -k -Q "command" --user user:passwd --ftp-pasv --ftp-ssl -v... (1 Reply)
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Hi All,
In the script mentioned below uses a sftp command to login to the remote host and pull the files from the remote server. we want to log this inf to a log file . But it is not happening, the verbose information is just displayed on the screen but not to the log file when I run this... (1 Reply)
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
HI Guys,
I hope you are well. I am trying to write a script that gets executed every time i open a shell (cshell). I have two questions about that
1) I need to enter these commands
$ echo $DISPLAY
$ setenv $DISPLAY output_of_echo_$display_command
How can i write a... (2 Replies)
I'm confusing with this question. :wall: Can any one tell me how to do and use which command? :confused:
create a compressed archive of the "Test" directory and it's contents, called Test.tar.gz, and place it in the current directory. Use a non-verbose tar command with a single string, including... (5 Replies)
Hi,
I am trying to turn verbose on for sftp but i get message to look lftp options.
SFTP_LOG=`lftp -u $P_USERID,$P_PSWD sftp://$P_HOSTNAME <<EOF
cd $P_DEST_DIR
mput $P_FILE_PREFIX
bye
EOF`
The above one works fine but i don't see the debugging details\log details.
I want... (7 Replies)
Discussion started by: consat
7 Replies
LEARN ABOUT CENTOS
radtest
RADTEST(1) FreeRADIUS Daemon RADTEST(1)NAME
radtest - send packets to a RADIUS server, show reply
SYNOPSIS
radtest [-d raddb_directory] [-t pap/chap/mschap] [-x ] [-4 ] [-6 ] user password radius-server nas-port-number secret [ppphint] [nasname]
DESCRIPTION
radtest is a frontend to radclient(1). It generates a list of attribute/value pairs based on the command line arguments, and feeds these
into radclient. It's a fast and convenient way to test a radius server.
OPTIONS -d raddb_directory
The directory that contains the RADIUS dictionary files. Defaults to /etc/raddb.
-t pap/chap/mschap/eap-md5
Choose the authentiction method to use. e.g. "-t pap", "-t chap", "-t mschap", or "-t eap-md5",. Defaults to "pap". Using EAP-MD5
requires that the "radeapclient" program is installed.
-x Enables debugging output for the RADIUS client.
-4 Use NAS-IP-Address for the NAS address (default)
-6 Use NAS-IPv6-Address for the NAS address (default)
user Username to send.
password
Password of the user.
radius-server
Hostname or IP address of the radius server. Optionally, you may specify a port by appending :port
nas-port-number
The value of the NAS-Port attribute. Is an integer between 0 and 2^31, and it really doesn't matter what you put here. 10 will do
fine.
secret The shared secret for this client.
ppphint
If you put an integer > 0 here, radtest (or actually radclient) will add the attribute Framed-Protocol = PPP to the request packet.
nasname
If present, this will be resolved to an IP address and added to the request packet as the NAS-IP-Address attribute. If you don't
specify it, the local hostname of the system will be used.
SEE ALSO radiusd(8), radclient(1).
AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl.
5 April 2010 RADTEST(1)