Search Results

Search: Posts Made By: Just Ice
3,676
Posted By Just Ice
your double quotes are wrong ...
if you look at the red-colored characters below, you will see that you have 2 groupings of "command arguments" with the '&&' operator in between.
ssh -l username@hostname "echo "( cd...
4,089
Posted By Just Ice
you are trying to run an interactive script...
you are trying to run an interactive script non-interactively ...
echo " if you want to record the cpu utilization for specific time period press y else press enter "
read ip
you need to make the...
1,804
Posted By Just Ice
format for /etc/sudoers file ... who where =...
format for /etc/sudoers file ...
who where = (as_whom) what
the sample below will allow jack to only run /dir/command only on host17 only as user jill ... see man sudoers for more info ...
jack...
8,096
Posted By Just Ice
first off, assistance you receive on this website...
first off, assistance you receive on this website is offered by unpaid volunteers on their own time -- that includes me -- so it would be good to maintain a professional tone ...

second, your...
Forum: Ubuntu 08-08-2013
8,733
Posted By Just Ice
the MTA (mail transfer agent) issue does not seem...
the MTA (mail transfer agent) issue does not seem to be related to your script as it shows up in the logs more than a few minutes before your script runs and the script/program creating the log...
Forum: Solaris 08-08-2013
5,104
Posted By Just Ice
the file is /usr/sfw/lib/libssl.so.0.9.7 and it...
the file is /usr/sfw/lib/libssl.so.0.9.7 and it is part of the SUNWopenssl-libraries package ...
3,313
Posted By Just Ice
you need to redirect the error from /bin/rm -f...
you need to redirect the error from /bin/rm -f $path/$filen to a log file ...

also, you should get in the habit of indenting your code blocks to make your scripts easier to debug and remove the...
Forum: Solaris 08-08-2013
1,371
Posted By Just Ice
so what is the reason to connect to the serial...
so what is the reason to connect to the serial port if you already have console access with the monitor and the keyboard?

anyways, new solaris servers used to ship with silver-colored null modem...
4,857
Posted By Just Ice
[root@centosgeek ~]# cat testfile4 2013-08-07...
[root@centosgeek ~]# cat testfile4
2013-08-07 18:13:16 [SEVERE] Reached end of stream for /127.0.0.1
2013-08-07 18:13:17 [SEVERE] Reached end of stream for /127.0.0.1
2013-08-07 18:13:19 [SEVERE]...
3,299
Posted By Just Ice
your actual_size=`du $file` is giving you more...
your actual_size=`du $file` is giving you more data than you expect ... see 2nd line for fix ...
root@solarisgeek # du /etc/shadow
4 /etc/shadow
root@solarisgeek # du /etc/shadow | awk '{print...
5,589
Posted By Just Ice
see man head and man tail ... head -n 1000...
see man head and man tail ...

head -n 1000 infile > outfile1
tail -n 1000 infile > outfile2
Forum: Solaris 08-06-2013
6,551
Posted By Just Ice
check with oracle for the upgrade/patch packages...
check with oracle for the upgrade/patch packages ... since this is solaris 8, it is most likely some required patches were missed from being installed ...
3,405
Posted By Just Ice
look at the discussion of "-W" option in man -S 8...
look at the discussion of "-W" option in man -S 8 net
1,620
Posted By Just Ice
it is just a digital version of a coin flip ......
it is just a digital version of a coin flip ... depending on the remainder after the random number generated is divided by 2, the code sets the value of the TEXT variable to X if the resulting number...
Forum: AIX 08-04-2013
22,473
Posted By Just Ice
you should also be able to directly edit...
you should also be able to directly edit /etc/security/passwd with vi if you wanted to without using chpasswd ...
Forum: IP Networking 08-04-2013
2,079
Posted By Just Ice
that could work as long as the other devices are...
that could work as long as the other devices are on the same subnet as the centos dhcp server ... as for dhcp, configuration -- see man dhcpd ...
3,853
Posted By Just Ice
sed works too ... sed -e "s/$/\n/" -e "s/[...
sed works too ...
sed -e "s/$/\n/" -e "s/[ \n]/\n/g" infile
5,603
Posted By Just Ice
unless you are able to run IIS on your desktop,...
unless you are able to run IIS on your desktop, you cannot run ftp from a unix server to your windows desktop ... you may be able to run ftp from a windows desktop to a unix server if ftp is enabled...
Forum: Solaris 07-09-2013
4,526
Posted By Just Ice
creating a "backup" server is a great idea ......
creating a "backup" server is a great idea ... some of the things to add to joeyg's list ...

1) look at all the processes running on the "production" server and understand how they are started as...
Forum: Ubuntu 07-08-2013
3,582
Posted By Just Ice
if the samba share is not being mounted by...
if the samba share is not being mounted by windows machines, just use nfs instead of samba ... though it may not come enabled in some, nfs is on all linux/unix variants that i know so it would be...
2,943
Posted By Just Ice
somebody here could probably get this same code...
somebody here could probably get this same code done easier in ruby or perl or awk but this should at least get you started ...
#! /bin/bash
int=$1

PATH=/usr/bin:/bin:/usr/sbin:/sbin

cd /dir...
3,689
Posted By Just Ice
here is what i got after i added the missing " in...
here is what i got after i added the missing " in shell_script_A.sh ...
FILENAME="" # clearing the FILENAME
echo "FILENAME = {$FILENAME}"
[otto@centosgeek ~]$...
22,051
Posted By Just Ice
why not just generate 1 key each for each server...
why not just generate 1 key each for each server in a production-dr server pair inside the ssh keys file? that way replication from production to dr will not clobber the dr servers' ssh key files in...
6,035
Posted By Just Ice
for host in host1 host2 do for port in 20...
for host in host1 host2
do
for port in 20 22 80
do
echo "--- $host : $port ---"
telnet $host $port < /dev/null
done
done
2,304
Posted By Just Ice
grep -v "\-" file
grep -v "\-" file
Showing results 1 to 25 of 58

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