I want to delete files but it has space beween name & .log
For ex
so if I run ls -ltr | head -3 | awk '{print $9 $10} it lists as
i.e it omits space.
so It wont get delete with below command
Thanks & Regards,
Nachiket
Last edited by Scott; 09-18-2011 at 11:34 AM..
Reason: Code tags, please...
ermm... wats the general commands to uninstall programs.....izzit rpm -e cos it keep telling me package not installed.....
anyway anyone know any good links for licq for redhat 9.0 shrike ... cos downloaded one ... dun seems to be working ... trying to get rid of it
appreciate if anyone can... (3 Replies)
Anyone who could help me with those three commands, i'm really new in cshell script so please be understandable..
Need to demostrate those three commands
del
trash (incl -ai) i that you will be asked to confirmed that they can be deleted
a to move all those files from dustbin
and to... (2 Replies)
Hello!!
I have directories from 2008, with files in them. I want to create a script that will find the directoried from 2008 (example directory:
drwxr-xr-x 2 isplan users 1024 Nov 21 2008 FILES_112108), delete the files within those directories and then delete the directories... (3 Replies)
Hi,
I'm having trouble deleting a route:
# route del 192.168.0.0
SIOCDELRT: Invalid process
# route del -net 192.168.0.0
SIOCDELRT: Invalid argument
The route is in the table:
# route
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 ... (1 Reply)
Hi,
I got big problem.
a line contains like this:
Hell "A,B,C", how to delete A or B or C by using sed or other tools?
I do not have any idea.
Many thanks. (2 Replies)
i have file that looks like this:
031000503 2000049262784 LCK00000050
i want to look like this:
031000503 2000049262784 LCK00000050
i'd like to del 10-15
Please use code tags! (6 Replies)
i was faced by a question from a friend. i found it very tricky. all my months of learning unix i never can figure it out still. heres the question he faced me with. wondering if you all can help me figure a solution.
ill let him know the forums helped me out :D
What command would you use... (10 Replies)
HI Guys
I have below input :
PO 121255 SorkO_RM_,rlsmel=310_410_3_11104_43831
PO 125564 SorkO_RM_,rlsmel=007G43823
I want delete line which have "_" after = Sign
Output :
PO 125564 SorkO_RM_,rlsmel=007G43823 (2 Replies)
Discussion started by: pareshkp
2 Replies
LEARN ABOUT OSX
xfs_logprint
xfs_logprint(8) System Manager's Manual xfs_logprint(8)NAME
xfs_logprint - print the log of an XFS filesystem
SYNOPSIS
xfs_logprint [ options ] device
DESCRIPTION
xfs_logprint prints the log of an XFS filesystem (see xfs(5)). The device argument is the pathname of the partition or logical volume con-
taining the filesystem. The device can be a regular file if the -f option is used. The contents of the filesystem remain undisturbed.
There are two major modes of operation in xfs_logprint.
One mode is better for filesystem operation debugging. It is called the transactional view and is enabled through the -t option. The
transactional view prints only the portion of the log that pertains to recovery. In other words, it prints out complete transactions
between the tail and the head. This view tries to display each transaction without regard to how they are split across log records.
The second mode starts printing out information from the beginning of the log. Some error blocks might print out in the beginning because
the last log record usually overlaps the oldest log record. A message is printed when the physical end of the log is reached and when the
logical end of the log is reached. A log record view is displayed one record at a time. Transactions that span log records may not be
decoded fully.
OPTIONS -b Extract and print buffer information. Only used in transactional view.
-c Attempt to continue when an error is detected.
-C filename
Copy the log from the filesystem to the file filename. The log itself is not printed.
-d Dump the log from front to end, printing where each log record is located on disk.
-D Do not decode anything; just print data.
-e Exit when an error is found in the log. Normally, xfs_logprint tries to continue and unwind from bad logs. However, sometimes it
just dies in bad ways. Using this option prevents core dumps.
-f Specifies that the filesystem image to be processed is stored in a regular file at device (see the mkfs.xfs(8)-d file option).
This might happen if an image copy of a filesystem has been made into an ordinary file with xfs_copy(8).
-l logdev
External log device. Only for those filesystems which use an external log.
-i Extract and print inode information. Only used in transactional view.
-q Extract and print quota information. Only used in transactional view.
-n Do not try and interpret log data; just interpret log header information.
-o Also print buffer data in hex. Normally, buffer data is just decoded, so better information can be printed.
-s start-block
Override any notion of where to start printing.
-t Print out the transactional view.
SEE ALSO mkfs.xfs(8), mount(8).
xfs_logprint(8)