Search Results

Search: Posts Made By: Just Ice
2,556
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...
Forum: Solaris 06-25-2013
1,584
Posted By Just Ice
unless there are better suggestions ... try...
unless there are better suggestions ...

try adding those lines into /etc/profile ... that way they are automatically run upon login ...
6,191
Posted By Just Ice
see modification below ... cd /main for DIR...
see modification below ...
cd /main
for DIR in */basic
do
for FILE in $DIR/*
do
NAME=$(basename $FILE)
awk '{ total+=gsub(/[\.]/," ", $0); next}
END{print...
Forum: Ubuntu 07-08-2013
2,345
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...
3,071
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
3,136
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...
Forum: Solaris 08-08-2013
1,203
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...
1,265
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,947
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...
6,781
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
6,783
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
4,570
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,104
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]...
2,679
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...
Forum: Solaris 08-06-2013
5,691
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 ...
4,512
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
3,519
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
1,499
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
21,425
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,469
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 ...
Forum: Solaris 07-09-2013
3,754
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...
3,537
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: HP-UX 06-27-2013
1,917
Posted By Just Ice
if still an issue ... your assumption is...
if still an issue ...

your assumption is okay but not always accurate ... virtual machine environments use a different algorithm to allocate computing resources to guests some of the normal...
2,354
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...
21,066
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...
Showing results 1 to 25 of 58

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