Search Results

Search: Posts Made By: mcdef
Forum: Solaris 01-28-2011
2,309
Posted By mcdef
When I run `infocmp` it says cols#80, I tried...
When I run `infocmp` it says cols#80, I tried running "stty columns 80" but there was no change.
Forum: Solaris 01-28-2011
2,309
Posted By mcdef
Console Login with Term Type
I have a sunfire v480 and a v440 that both have an issue with logging into the text based console as opposed to JDE.

It looks like the text is wrapping around, because it is too long for the...
Forum: Solaris 06-09-2010
4,074
Posted By mcdef
thanks, just run format with no arguments?
thanks, just run format with no arguments?
Forum: Solaris 06-09-2010
4,074
Posted By mcdef
Installing ZFS on an existing Solaris 10 install (UFS)
Hello, I am new to Solaris so i apologize upfront if my questions seem trivial.

I am trying to install a ZFS file system on a Solaris 10 machine with UFS already installed on it.

I want to run:...
2,158
Posted By mcdef
HowTo check in inet.d or xinet.d is installed?
Hi how can I check to see that init.d or xinit.d is installed on a system?

*edit*
Also is there a way to have it be platform independant?
rpm -qa works on some, but not all




Any help...
Forum: Solaris 05-27-2010
2,097
Posted By mcdef
zpool worked, thanks
zpool worked, thanks
Forum: Solaris 05-27-2010
2,097
Posted By mcdef
Mounting USB HD
I am very new to Solaris.
The machine I am working with is running Solaris 10.

I have a 1.5 TB hard drive plugged into a USB dock plugged into the Solaris machine. I ran 'cfgadm -al' and can...
2,627
Posted By mcdef
fixed it: i just add | grep 'ip' | in the middle...
fixed it: i just add | grep 'ip' | in the middle so it only took the ip line and not the hostname line
2,627
Posted By mcdef
thats the same thing i have just with backticks...
thats the same thing i have just with backticks instead of $(), still gives me the same output
2,627
Posted By mcdef
AWK not giving me correct output.
i have a line like this in my script

IP=`get_IP <hostname> | awk '{ print $1 }'
echo $IP

the problem is get_IP <hostname> returns data formated as follows:

ip 1.1.1.1 name server_name
...
2,312
Posted By mcdef
problem piping input to script with echo
I am trying to have a script run without interaction from the command line. So in my script i have a line like this

echo -e "\n\n\ny\ny\n" | ./script

the goal being the ability to mimic 3...
1,652
Posted By mcdef
gorgeous! thanks, i am bad...
gorgeous!

thanks, i am bad...
1,652
Posted By mcdef
Sed with variables problem
I am writing a script with a sed call that needs to use a variable and still have quotations be present in the substitution.

Example:

sed -i "s/Replacable.\+$/Replaced="root@$VAR"/g"

this...
Showing results 1 to 13 of 13

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