Sponsored Content
Operating Systems Linux Red Hat No such file or directory found? Post 302834049 by rajeshz on Thursday 18th of July 2013 09:45:22 AM
Old 07-18-2013
No such file or directory found?

what’s going on these commands
Code:
	 (/tmpdir %) ls 
		Foo
	(tmpdir % )cat foo 
	Cat:foo! No such file or directory

any help me out

i checked with permission...even though it is not working

Last edited by Scott; 07-18-2013 at 10:55 AM.. Reason: Code tags
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Restoring back files from "lost+found" directory

Hi Friends, How can I Restore the Files present under "lost+found" Directory of a FileSystem (in Solaris & Tru64 OS) to their original Locations. Now-a-days I am loosing lots of files in 2 of my Machines, One running Solaris8 and other Tru64(Digital) Unix. Thanx in... (1 Reply)
Discussion started by: dhasarath
1 Replies

2. UNIX for Dummies Questions & Answers

lost+found directory

what is the directory "lost+found" and how is it used? (2 Replies)
Discussion started by: Ben070371
2 Replies

3. UNIX for Dummies Questions & Answers

Solaris-ksh: directory not found

Solaris 8 using ksh: I have a directory called apps...in that directory there are some flat files and some directories. I can't access one particular subdirectory called netscape-old. I am NOT logged in as root Here is the info... user@machine>ls -l drwxr-xr-x 3 root other ... (5 Replies)
Discussion started by: dangral
5 Replies

4. Shell Programming and Scripting

Monitoring a directory for new files with .xx and executing command if found

Hi Guys. I am a complete shell scripting newbie with some syntax and commands understanding. I'm more of a win admin. With that said: I need to write a shell script to monitor a directory '/Mon_Dir' for new occurrences of files with .xx extension. Once a new file is detected in the directory, a... (4 Replies)
Discussion started by: krkan
4 Replies

5. Solaris

Deleted Lost+Found directory

If you delete your lost & found directory, how do you get it back, just do a mkdir? (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

6. Solaris

Deletion of Data from Lost+Found Directory

Hie I am running a sun solaris server of about 300 gigabytes disk capacity. The problem is that the machine has been having problems over the past year and at times the machine would just freeze or hang and had to be re-booted. Consequently there are too many entries in the lost+found... (1 Reply)
Discussion started by: Ranganai
1 Replies

7. UNIX for Dummies Questions & Answers

setEnv.sh is found in which directory(path)

Hi, I am new to Unix.I want to set the path and classpath setting for JDK1.4,Weblogic 9.2 and Oracle 9? So i need to set those settings in setEnv.sh file. But i am unable to find that file in my unix environment? Pls. do tell me where this setEnv.sh is stored? In which directory or path?... (8 Replies)
Discussion started by: sachin.tendulka
8 Replies

8. Shell Programming and Scripting

How to strip ^M at end of each files for all files found in current directory

I am trying to use a loop to strip of the funny character ^M at the end of all lines in each file found in current directory and I have used the following in a script: find . -type f -name '*.txt' | while read file do echo "stripping ^M from ..." ex - "$file" > $tempfile %s/^M//g wq! # mv... (4 Replies)
Discussion started by: bisip99
4 Replies

9. Shell Programming and Scripting

List directory name (only once) after multiple file extensions found

Here is a simplified example of my problem. Say I have the following 3 sub-directories; ./folder1 A.txt A.sh ./folder2 B.txt ./folder3 C.txt C.sh I would like to list the directory names which contain both '.txt' & '.sh' type extensions. I have came up with the following code;... (8 Replies)
Discussion started by: mmab
8 Replies

10. Shell Programming and Scripting

Check if files inside a text file are found under a directory

Hi all, Please somebody help me with this: I want to check if the files listed in a text file, are found under a directory or not. For example: the file is list_of_files.txt, which contains inside this rows: # cat list_of_files logs errors paths debug # I want to check if these... (3 Replies)
Discussion started by: arrals_vl
3 Replies
STOREBACKUPRECOVER(1)					User Contributed Perl Documentation				     STOREBACKUPRECOVER(1)

NAME
storeBackupRecover.pl - recovers files saved with storeBackup.pl. SYNOPSIS
storeBackupRecover.pl -r restore [-b root] -t targetDir [--flat] [-o] [--tmpdir] [--noHardLinks] [-p number] [-v] [-n] [--cpIsGnu] [--noGnuCp] OPTIONS
--restoreTree, -r file or (part of) the tree to restore when restoring a file, the file name in the backup has to be used (eg. with compression suffix) --backupRoot, -b root of storeBackup tree, normally not needed --targetDir, -t directory for unpacking --flat do not create subdirectories --overwrite, -o overwrite existing files --tmpdir, -T directory for temporary file, default is <$tmpdir> --noHardLinks do not reconstruct hard links in restore tree --noRestoreParallel, -p max no of paralell programs to unpack, default is 12 reduce this number if you are restoring blocked files and the system has insufficient RAM --verbose, -v print verbose messages --noRestored, -n print number of restored dirs, hardlinks, symlinks, files, ... --noGnuCp overwrite information in backup: you do not have gnucp installed (only relevant for sockets, block and character devices) COPYRIGHT
Copyright (c) 2002-2009,2012 by Heinz-Josef Claes (see README). Published under the GNU General Public License v3 or any later version perl v5.14.2 2012-03-03 STOREBACKUPRECOVER(1)
All times are GMT -4. The time now is 03:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy