Sponsored Content
Full Discussion: Issue with the copy command
Top Forums UNIX for Dummies Questions & Answers Issue with the copy command Post 302396252 by abubacker on Thursday 18th of February 2010 04:38:14 AM
Old 02-18-2010
I amazed of hearing the files is vanish from the parent directory , please verify that you have issued cp or mv.

If you are very confident that you have issued cp command , then I am pretty sure that you are having a problem with the file system,

try fsck command after getting the backup. ( since it is a risk )
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

copy command

what command would i wrote to copy files from $folder1 to $folder2 ???? (1 Reply)
Discussion started by: perleo
1 Replies

2. Linux

copy command

sir can any body tell me how i can copy files like copy c:\abc\pqr\mr.txt c:\windows\my documents\this.txt i need command in linux like this really i am a new in linux that is why simple questions alson can any body explain me how i get current directory tree or path in windows... (2 Replies)
Discussion started by: sadiquep
2 Replies

3. UNIX for Dummies Questions & Answers

Copy a command string from the command line

How can we copy a command string from a previous command line and paste it into the cursor position on the current command line? I know that ^c will not work as the shell will interpret as an interrupt signal. Thanks, (1 Reply)
Discussion started by: Pouchie1
1 Replies

4. Shell Programming and Scripting

Help with using grep command with copy command

Hi, im taking an entry Unix class, and as part of my lab assignment I have to copy all files in the /home/david/lab3 directory that have the file extension .save to your lab3/temp directory. I'm having trouble getting the grep to do anything worth while I've been trying to do: cp... (6 Replies)
Discussion started by: Critical jeff
6 Replies

5. Shell Programming and Scripting

Help with copy command

Hello, I have a directory in which I have files as follows CRDT.csv CRDT.csv.1 CRDT.csv.2 .... CRDT.csv.n I would like to copy it over to another directory as crdt_lon.csv crdt_lon.csv.1 crdt_lon.csv.2 .... crdt_lon.csv.n I am looking for a one line command but I am... (5 Replies)
Discussion started by: srattani
5 Replies

6. UNIX for Dummies Questions & Answers

Issue with Reflection - text copy beyond screen.

Hi, Gretings, While viewing the contents of a file using more/cat in Reflection, I am neither able to see the text beyond the width of screen, nor able to type it as well. I have tried changing windows settings also, but of no vail. Even if I cat/more a file and try to copy its contents, it... (1 Reply)
Discussion started by: dipanchandra
1 Replies

7. Shell Programming and Scripting

Variable value substitution issue with awk command issue

Hi All, I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command. The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies

8. Solaris

File copy issue in Solaris

Dears, I have one strange problem. When I copy file from source to destination using scp, file size decreased in destination side. I can see that copy progress is successful in source side. But when I check file size using du -sh command file size is 10 time smaller. First I looked into... (6 Replies)
Discussion started by: sembii
6 Replies

9. UNIX for Dummies Questions & Answers

Copy command

Hi , I am trying to take a backup of file before overwriting it with cp command, I am using the command cp -b. -rw-rw-r-- 1 autoengine murex 0 Jan 22 07:08 a -rw-rw-r-- 1 autoengine murex 0 Jan 22 07:08 b cp -b a b -rw-rw-r-- 1 autoengine murex 0 Jan 22 07:08 a -rw-rw-r-- 1... (1 Reply)
Discussion started by: Raj999
1 Replies

10. Shell Programming and Scripting

Issue with copy command

Hi, I have a shell script which is having copy command. My need is to copy all the files in a directory into its subdirectory. My directory structure is like this. Dir1 file1.txt file2.txt file3.txt subDir1 subDir1 is a subdirectory in Dir1. Now I... (2 Replies)
Discussion started by: yuvi
2 Replies
fsck_pcfs(1M)						  System Administration Commands					     fsck_pcfs(1M)

NAME
fsck_pcfs - file system consistency check and interactive repair SYNOPSIS
fsck -F pcfs [generic_options] special fsck -F pcfs [generic_options] [-o specific_options] special DESCRIPTION
The fsck utility audits and interactively repairs inconsistent conditions on file systems. special represents the character special device on which the file system resides, for example /dev/rdiskette. The character special device, not the block special device, should be used. In the case of correcting serious inconsistencies, by default, fsck asks for confirmation before making a repair and waits for the operator to respond either yes or no. If the operator does not have write permission on the file system, fsck defaults to a -n (no corrections) action. See fsck(1M). Repairing some file system inconsistencies may result in loss of data. The amount and severity of data loss may be determined from the diagnostic output. When executed with the verify option (-o v), fsck_pcfs automatically scans the entire file system to verify that all of its allocation units are accessible. If it finds any units inaccessible, it updates the file allocation table (FAT) appropriately. It also updates any effected directory entries to reflect the problem. This directory update includes truncating the file at the point in its allocation chain where the file data is no longer accessible. Any remaining accessible allocation units become orphaned. Orphaned chains of accessible allocation units are, with the operator's concurrence, linked back into the file system as files in the root directory. These files are assigned names of the form fileNNNN.chk, where the Ns are digits in the integral range from 0 through 9. After successfully scanning and correcting any errors in the file system, fsck displays a summary of information about the file system. This summary includes the size of the file system in bytes, the number of bytes used in directories and individual files, and the number of available allocation units remaining in the file system. OPTIONS
generic_options The following generic options are supported: -m Check but do not repair. This option checks that the file system is suitable for mounting, returning the appropriate exit status. If the file system is ready for mounting, fsck displays a message such as: pcfs fsck: sanity check: /dev/rdiskette okay -n | -N Assume a no response to all questions asked by fsck; do not open the file system for writing. -V Echo the expanded command line, but do not execute the command. This option may be used to verify and to validate the command line. -y | -Y Assume a yes response to all questions asked by fsck. -o specific_options Specify pcfs file system specific options in a comma-separated list, in any combination, with no intervening spaces. v Verify all allocation units are accessible prior to correcting inconsistencies in the metadata. p Check and fix the file system non-interactively (preen). Exit immediately if there is a problem requiring intervention. w Check writable file systems only. FILES
special The device which contains the pcfs. The device name for a diskette is specified as /dev/rdiskette0 for the first diskette drive, or /dev/rdiskette1 for a second diskette drive. A hard disk device or high-capacity removable device name much be qualified with a suffix to indicate the proper FDISK partition. For example, in the names: /dev/rdsk/c0t0d0p0:c and /dev/rdsk/c0t4d0s2:c, the :c suffix indicates the first partition on the disk contains the pcfs. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWesu | +-----------------------------+-----------------------------+ |Interface Stability |Stable | +-----------------------------+-----------------------------+ SEE ALSO
fsck(1M), fstyp(1M), fdisk(1M), mkfs(1M), mkfs_pcfs(1M), mountall(1M), attributes(5), pcfs(7FS), WARNINGS
The operating system buffers file system data. Running fsck on a mounted file system can cause the operating system's buffers to become out of date with respect to the disk. For this reason, the file system should be unmounted when fsck is used. If this is not possible, care should be taken that the system is quiescent and that it is rebooted immediately after fsck is run. Quite often, however, this is not suf- ficient. A panic will probably occur if running fsck on a file system modifies the file system. SunOS 5.11 28 Jan 2000 fsck_pcfs(1M)
All times are GMT -4. The time now is 09:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy