Hi Everyone,
I am having problem to delete an "empty" folder ( messages attached ).
It displays "total 12" when i typed "ls -lart" on the fnxroot44 folder, but i can't view any file.
Is there any way to view those unseen files ? I don't know why option "a" is not working this time.
Would... (1 Reply)
I'm having problems since few days ago, and i'm not able to make it works with a simple awk+grep script (or other way to do this).
For example, i have a input file1.txt:
cat inputfile1.txt
218299910417
1172051195
1172070231
1172073514
1183135117
1183135118
1183135119
1281440202
... (3 Replies)
Hi,
I have to delete all line breakes but it doenst work.
$ sed -e 's/\\n//g' file.txt
and the output contents still line breakes.
What should I do?
sincerely,
Blackbox (3 Replies)
Hello
I need some help with this job.
file.txt
----- cut ----
TARGET
13/11/08
20:43:21
POINT 1
MOVE 8
772102y64312417771
TARGET
13/11/08
21:10:01
POINT 2
MOVE 5
731623jjd12njhd
----- cut ----
this is the example.
i need to grep for the word TARGET and print next 4 lines like... (1 Reply)
Hello
I have a silly question. I need to grep a match in text file
and then print 5 lines after it.
grep -A 5 .... do it.
OK
The next thing I can not handle is I need each output to be on 1 line
match line2 line3 line4 line5
match line2 line3 line4 line5
etc..
I will really... (10 Replies)
Hi,
To comply with a new naming convention on a mediawiki site we have to run a SED or other PERL command to change all instances of
] or ] or ]
to
]
Can someone please explain how to do this...
It has to be done on a mysql dump, so if there is a way to do this in mysql even... (2 Replies)
I can obtain information from itdt inventory command however it display as below, I'd like to print each entity on one line but seperated by :
the file is something like and each section ends with Volume Tag
Drive Address 256
Drive State ................... Normal
ASC/ASCQ... (3 Replies)
prtfru(1M) System Administration Commands prtfru(1M)NAME
prtfru - print FRUID-specific information about the FRUs on a system or domain
SYNOPSIS
/usr/sbin/prtfru [-d] | [-clx] [container]
DESCRIPTION
The prtfru utility is used to obtain FRUID data from the system or domain. Its output is that of a tree structure echoing the path in the
FRU (Field-Replaceable Unit) tree to each container. When a container is found, the data from that container is printed in a tree-like
structure as well.
prtfru without any arguments will print the FRU hierarchy and all of the FRUID container data. prtfru prints to stdout which may be redi-
rected to a file.
OPTIONS
The following options are supported:
-c Prints only the containers and their data. This option does not print the FRU tree hierarchy.
-d Prints a DTD for the current registry to stdout.
-l Prints only the FRU tree hierarchy. This option does not print the container data.
-x Prints in XML format with a system identifier (SYSTEM) of prtfrureg.dtd.
Options -c and -l can be used together to obtain a list of the containers.
OPERANDS
The folowing operand is supported:
container The name of a particular container in the FRU hierarchy, that is, either the name or path/name of a container as displayed in
the -l option.
EXIT STATUS
The following exit values are returned:
0 All information was found and printed successfully.
>0 An error has occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWfruid |
+-----------------------------+-----------------------------+
SEE ALSO fruadm(1M), attributes(5)SunOS 5.11 30 May 2002 prtfru(1M)