Search Results

Search: Posts Made By: MBGPS
3,917
Posted By MBGPS
Ok solved the rpc problem but still the box...
Ok solved the rpc problem but still the box still doesnt seem to be shutting down:

# shutdown -y -i6 -g0

Shutdown started. Tue Oct 1 13:34:51 BST 2002

Changing to init state 6 - please...
3,917
Posted By MBGPS
Help unable to shutdown- RPC problems
I seem to have consistent problems shuting down whichever init state I use

basically I get the following errors messages followed by a return to the prompt

# shutdown -i6 -g0 -y

Shutdown...
7,363
Posted By MBGPS
Reversing file order using SED
Im trying to develop a shell script that will change the content order of the file.

For example I have a file that says
a
b
c
d

I want to change this to be
d
c
b
a

Im trying to use...
2,993
Posted By MBGPS
solaris xwindows on linux
Im trying to set up a linux box (red hat) as an xserver desktop for solaris 2.6. On the solaris box I type:

export DISPLAY=hostname:5
xclock &

I then get the error message:

XLIB: connection...
7,748
Posted By MBGPS
Mounting nfs filesystems with /net/hostname
Ok ive inherited a number of unix boxes who have drives mounted in different ways. Mostly the nfs filesystems are named in vfstab but some mount points for remote servers are not mentioned in vfs tab...
Forum: Filesystems, Disks and Memory 09-09-2002
2,366
Posted By MBGPS
Moving Sun A1000 between E450's
Does anyone know what steps I have to follow to move an A1000 between two E450's. Im running solaris 2.6
Forum: Filesystems, Disks and Memory 09-05-2002
7,391
Posted By MBGPS
Starting sun raid manager for A1000
Can anyone tell me the syntax for starting Raid manager on a A1000?
146,772
Posted By MBGPS
What about for the statement that appends data to...
What about for the statement that appends data to the end of the file?

sed "$a\\
PR_DbConfigEnd $FILENAME " <$FILENAME >$TMPFILENAME

I get the error message:

sed: command garbled: \

...
6,034
Posted By MBGPS
Cheers perdarbo. This seems to work. What...
Cheers perdarbo. This seems to work.

What exactly is this doing? Are there any shortfalls?
6,034
Posted By MBGPS
find without pathname
How can I get the results of a find back without the pathname

for example if i do

find ../../ -name \*.sql

i dont want to see

directory/directory/filename.sql

I only want to see...
146,772
Posted By MBGPS
Ouch, I get the error: sed: command...
Ouch,

I get the error:
sed: command garbled: 1iEXEC PR_DbConfigStart 'test.txt', '10', 'DESCRIPTION'

when I try this.

Here is the script im using

#!/usr/bin/ksh
FILENAME=test2.txt...
146,772
Posted By MBGPS
Cool this seems to work. The problem I have now...
Cool this seems to work. The problem I have now is that the string I am trying to insert contains the ' character which conflicts with the sed '1i\ line. Ordaniril they get ignored.

If I try to...
146,772
Posted By MBGPS
SED- Insert text at top of file
Does anyone know how to insert text at the top and bottom of a file using sed?
4,793
Posted By MBGPS
GREP sentance
Does anyone know a way of grepping for a sentence. ie a series of words separated by spaces

Ive tried Grep "this is the sentance" filename without success.

Any ideas what else I could try?
Showing results 1 to 14 of 14

 

Featured Tech Videos

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