Advice:
Until you get used to the commands, use rm -i at the command line and try to match as much of the filename as possible.
The rm -i will prompt you to ask whether you want to delete the each file.
The fact that you accidentally deleted all files in the directory is explained by @sudeep.id above.
i want to export a database (full schema) so that I can import the database to a windows 2000 server. The database is sitting on a unix-sun solaris box ver 8.. What are the commands...
I am a bit rusty at unix at the moment!
Cheers
E (4 Replies)
I have a number of files of the format filename.xfr_mmddyy_%H%M%S which i get in a specified directory daily. Now i want to search in the specified directory & delete the files which are more than 2 days old .So I use a command
find $DIR/backup/* -ctime +2 -exec rm -f {} \;
But after executing... (1 Reply)
I'm having problems deleting a file with a special character and I'm hoping that somebody here can help. The file "-osample1.c" will not remove from my directory. Here is an example of what happens. Any ideas would be appreciated.
> ls *sample1*
ls: illegal option -- .
usage: ls... (2 Replies)
All,
I am trying to delete a user created file from specified folder. This folder is using for my Team member (i.e, Public folder). For example,
$ ls -l
total 1336
-rw-rw-r-- 1 g_btha customer 2655 Dec 06 12:35 A_COL_1001
While deleting/moving this file I am getting the following... (3 Replies)
Hello:
I made this mistake on my tru64 machine, I renamed a file from:
binary.errlog to binary.errlog(B3)
now when im tryign to move or delete the file Im getting:
# rm binary.errlog(B3)
ksh: syntax error: `(' unexpected
4# mv binary.errlog(B3) log
ksh: syntax error: `(' unexpected
... (3 Replies)
Hi ,
In a particular path the below mentioned three files has been created.
-rw-r--r-- 1 edwprod edw 0 Jun 5 00:06 -f%*lock.clock
-rw-r--r-- 1 edwprod edw 151 Jun 5 00:06 -f.log
-rw-r--r-- 1 edwprod edw 4 Jun 5 00:06 -f%conn_err.out
... (5 Replies)
hi friends,
i need to delete a file named "-vyxx-.0.sdct.txt"
i'm unable to use
"rm -vyxx-.0.sdct.txt"
jus give me your suggesstions
thanks in advance (5 Replies)
Hi All
I am not able to delete few line from long file.
I have a big file which is of 53998 B in size i want to delete lines starting from 32768 to 53998 and collect remaining file in new file.
It is giving exception
sed: command garbled: 32768,$countd
Please find the sample script... (2 Replies)
hi,
1. When i am deleting file in the linux machine i am getting below error message.
rm text.fil
rm: remove regular file `text.fil'? y
rm: cannot remove `text.fil': Read-only file system
From su also i tried i am getting same error message.
2. Some times the file permissions and user name... (1 Reply)
Discussion started by: coconut.ramu
1 Replies
LEARN ABOUT CENTOS
jfs_logdump
jfs_logdump(8) JFS utility - journal log dump jfs_logdump(8)NAME
jfs_logdump - dump a JFS formatted device's journal log
SYNOPSIS
jfs_logdump [ -a ] device
DESCRIPTION
jfs_logdump dumps the contents of the journal log from the specified JFS formatted device into output file ./jfslog.dmp.
device is the special file name corresponding to the actual device from which the journal log will be dumped (e.g. /dev/hdb1 ).
jfs_logdump must be run as root.
OPTIONS -a Dump the entire contents of the journal log instead of just the committed transactions since the last synch point.
EXAMPLE
Dump the entire JFS journal log from the 3rd partition of the 2nd hard disk into ./jfslog.dmp:
jfs_logdump -a /dev/hdb3
REPORTING BUGS
If you find a bug in JFS or jfs_logdump, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site:
http://jfs.sourceforge.net/
Please send as much pertinent information as possible, including any jfs_logdump error messages and the complete output of running jfs_fsck
with the -v option on the JFS device.
SEE ALSO jfs_fsck(8), jfs_mkfs(8), jfs_fscklog(8), jfs_tune(8), jfs_debugfs(8)AUTHORS
Barry Arndt (barndt@us.ibm.com)
William Braswell, Jr.
jfs_logdump is maintained by IBM.
See the JFS project web site for more details:
http://jfs.sourceforge.net/
October 29, 2002 jfs_logdump(8)