Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Just Ice
1,296
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...
2,346
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...
851
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...
2,331
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
5,953
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
3,413
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 ...
1,681
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
890
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...
2,238
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]...
1,490
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...
1,295
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
3,477
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 ...
1,810
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,215
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
14,851
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
1,326
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 ...
2,863
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
2,688
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
2,963
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
1,985
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...
1,772
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...
2,847
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 ~]$...
15,663
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...
3,889
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
1,484
Posted By Just Ice
grep -v "\-" file
grep -v "\-" file
Showing results 1 to 25 of 58

 

Featured Tech Videos

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