Search Results

Search: Posts Made By: frank_rizzo
995
Posted By frank_rizzo
Attach the binary file using the -a option. ...
Attach the binary file using the -a option.
-a file
Attach the given file to the message.
2,514
Posted By frank_rizzo
A minor tip - remove the useless use of cat ...
A minor tip - remove the useless use of cat

change
cat "$BODY_FILE" | mail -s "$SUBJECT" -a "$ATTACHMENT_FILE" "$CC_LIST"

to
mail -s "$SUBJECT" -a "$ATTACHMENT_FILE" "$CC_LIST" < $BODY_FILE
1,505
Posted By frank_rizzo
Yes. Use something like the curl(1)...
Yes. Use something like the curl(1) (https://www.unix.com/man-page/all/1/curl) command.
7,959
Posted By frank_rizzo
use the -exec option to find. find . -type f...
use the -exec option to find.

find . -type f -name "VPN_CALLRECORD_20130422*" -exec cp -v "{}" /home/sysadm/patrick_temp/ \;
Forum: Solaris 03-02-2013
2,340
Posted By frank_rizzo
check the docs on lom. the hostname cannot be set...
check the docs on lom. the hostname cannot be set by the set command.

There are some variables that you can use as arguments to the set command in the
LOMlite2 shell. The set command duplicates...
2,013
Posted By frank_rizzo
try this. env LC_ALL=C sort...
try this.

env LC_ALL=C sort /path/to/you.file


from the sort docs
---------- Footnotes ----------

(1) If you use a non-POSIX locale (e.g., by setting `LC_ALL' to
`en_US'), then...
1,311
Posted By frank_rizzo
try using this ssh option. -o...
try using this ssh option. -o StrictHostKeyChecking=no
Forum: Hardware 09-15-2012
2,530
Posted By frank_rizzo
I have one of those myself. I believe you need...
I have one of those myself. I believe you need the SCA interface.

Check out the Doc. Sun_StorEdge_MultiPack_Users_Guide.pdf...
831
Posted By frank_rizzo
add the -i option for case insensitive. or change...
add the -i option for case insensitive. or change the pattern [Hh].
1,223
Posted By frank_rizzo
Don't use 777. 755 should be sufficent. ...
Don't use 777. 755 should be sufficent.

also check More Enhancements in Java SE 6 (http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/enhancements/)
Forum: AIX 03-19-2012
3,348
Posted By frank_rizzo
entstat -d entX or netstat -D don't forget...
entstat -d entX or netstat -D

don't forget about man pages. man netstat
1,740
Posted By frank_rizzo
check Wget GNU Wget...
check Wget GNU Wget (http://www.gnu.org/software/wget/) or cURL cURL and libcurl (http://curl.haxx.se/).
10,014
Posted By frank_rizzo
#!/usr/bin/perl $|++; #set STDOUT unbuffered;...
#!/usr/bin/perl
$|++; #set STDOUT unbuffered; use with caution
print "check 1";
print "check 2";
sleep 5;
8,765
Posted By frank_rizzo
does this work for you? ./keytool -list -v...
does this work for you?

./keytool -list -v -keystore /home1/server.jceks -storetype JCEKS<<EOF
password-here
EOF
1,749
Posted By frank_rizzo
kernel.org
kernel.org
Forum: IP Networking 01-18-2012
8,982
Posted By frank_rizzo
Do you have lsof installed? If so run lsof -i or...
Do you have lsof installed? If so run lsof -i or lsof -p <pid>
13,592
Posted By frank_rizzo
you need to configure yum to search the EPEL...
you need to configure yum to search the EPEL repo.

AdditionalResources/Repositories - CentOS Wiki (http://wiki.centos.org/AdditionalResources/Repositories)
4,853
Posted By frank_rizzo
treat all commands as dangerous. if they are...
treat all commands as dangerous. if they are allowed to run arbitrary scripts as root you might as well give them root.
Forum: Cybersecurity 01-18-2012
12,040
Posted By frank_rizzo
i suggest writing wrapper scripts and limit what...
i suggest writing wrapper scripts and limit what the user can supply. be very careful and sanitize all parameters.
4,380
Posted By frank_rizzo
please use CODE tags around your logic. ...
please use CODE tags around your logic.

i=$((i+1))
or
let i=i+1
3,280
Posted By frank_rizzo
They are the same system call per the man page...
They are the same system call per the man page except the getipnodeby* functions support IPv6 and IPv4.

The getipnodebyname() and getipnodebyaddr() functions return the names
and...
739
Posted By frank_rizzo
is this what you mean? while read i do ...
is this what you mean?

while read i
do
echo $i
done<data
2,313
Posted By frank_rizzo
even more streamlined. if who|grep -qw...
even more streamlined.

if who|grep -qw ^$user >/dev/null 2>&1
then
echo "$user is online"
else
echo "$user not online"
fi

or the one line version.

who|grep -qw ^$user && echo "$user...
12,600
Posted By frank_rizzo
man grep simple example grep foo...
man grep

simple example

grep foo bar.txt | less
3,319
Posted By frank_rizzo
you will need to write a script to parse the log.
you will need to write a script to parse the log.
Showing results 1 to 25 of 89

 

Featured Tech Videos

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