Search Results

Search: Posts Made By: mcdef
Forum: Solaris 01-28-2011
2,493
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,493
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,686
Posted By mcdef
thanks, just run format with no arguments?
thanks, just run format with no arguments?
Forum: Solaris 06-09-2010
4,686
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,454
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,344
Posted By mcdef
zpool worked, thanks
zpool worked, thanks
Forum: Solaris 05-27-2010
2,344
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,992
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,992
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,992
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,592
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,768
Posted By mcdef
gorgeous! thanks, i am bad...
gorgeous!

thanks, i am bad...
1,768
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 08:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy