Search Results

Search: Posts Made By: MBGPS
4,716
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...
4,716
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...
8,586
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...
3,340
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...
9,224
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,826
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,854
Posted By MBGPS
Starting sun raid manager for A1000
Can anyone tell me the syntax for starting Raid manager on a A1000?
152,295
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,427
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,427
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...
152,295
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...
152,295
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...
152,295
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?
5,076
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

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