Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: frank_rizzo
596
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.
1,857
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,151
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.
4,661
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
1,922
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...
1,617
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,142
Posted By frank_rizzo
try using this ssh option. -o...
try using this ssh option. -o StrictHostKeyChecking=no
Forum: Hardware 09-15-2012
2,195
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...
679
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].
940
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
2,568
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,492
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/).
8,819
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;
7,182
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,488
Posted By frank_rizzo
kernel.org
kernel.org
Forum: IP Networking 01-18-2012
7,387
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>
12,248
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,200
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
9,089
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,083
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,009
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...
635
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
1,799
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...
4,820
Posted By frank_rizzo
man grep simple example grep foo...
man grep

simple example

grep foo bar.txt | less
2,415
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 11:14 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy