Sponsored Content
Top Forums Shell Programming and Scripting Keep getting error "No such file or directory" Post 302107054 by vanloonmichel on Wednesday 14th of February 2007 04:44:37 AM
Old 02-14-2007
Trace?

Do you meen this with trace?

Code:
[nasadmin@ns600cs_kk4 quotas_michel]$ ./quota.sh
fgrep: for: No such file or directory
fgrep: user: No such file or directory
fgrep: quotas: No such file or directory
fgrep: on: No such file or directory
fgrep: filesystem: No such file or directory
fgrep: user1: No such file or directory
fgrep: mounted: No such file or directory
fgrep: on: No such file or directory
fgrep: /root_vdm_1/user1:: No such file or directory
Report for user quotas on filesystem user1 mounted on /root_vdm_1/user1
+------------+---------------------------------+-------------------------------+
fgrep: :: No such file or directory
User
+------------+--------+-------+-------+--------+--------+------+------+--------+
fgrep: :: No such file or directory

+------------+--------+-------+-------+--------+--------+------+------+--------+
fgrep: :: No such file or directory
5003
fgrep: :: No such file or directory
5005
fgrep: :: No such file or directory
5006
fgrep: :: No such file or directory
5007

 

10 More Discussions You Might Find Interesting

1. AIX

AIX cp error: "A file or directory in the path does not exist"

Hello fellow UNIX fans, I'm running AIX 4.3 and getting an error message “cp: /a/file2.db: A file or directory in the path does not exist” when I run the following command: cp /b/file.db /a/file2.db It stops every time about 95% of the way through the copy process at 1,073,741,312 bits. ... (3 Replies)
Discussion started by: Jackson123
3 Replies

2. Shell Programming and Scripting

Delete files older than "x" if directory size is greater than "y"

I wrote a script to delete files which are older than "x" days, if the size of the directory is greater than "y" #!/bin/bash du -hs $1 while read SIZE ENTRY do if ; then find $1 -mtime +$2 -exec rm -f {} \; echo "Files older than $2 days deleted" else echo "free Space available"... (4 Replies)
Discussion started by: JamesCarter
4 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

4. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

5. Shell Programming and Scripting

mv error " file is not a directory" ?

Hi; This script part: sudo find *.deb -mmin +10 | sudo xargs mv /var/cache/apt/archives/*.* /var/mobile/Library/iFile/Trash/var/cache/apt/archives/ Always returns : " mv: test.deb is not a directory" Any idea what I'm missing ? Thanks in advance: Pasc (2 Replies)
Discussion started by: pasc
2 Replies

6. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

7. Red Hat

Httpd service not starting... Error "Documentroot must be a directory"

I am working with CentOS 6.5. Indeed the document root /var/www/html is a directory and it is a mount point of one file system (not NFS) I observed, if I unmount that file system, I could able to start httpd. Is it restricted in CentOS 6.X that the Documentroot can not be a mount point? ... (5 Replies)
Discussion started by: atanubanerji
5 Replies

8. UNIX for Beginners Questions & Answers

Grep error "No such file or directory" not solved

Dear all, I run a simple command: grep -f GTEx_snps.txt chr1_r2.txt>chr1_r2_GTEx.txt and got error: "chr1_r2_GTEx.txt: No such file or directory" while "chr1_r2_GTEx.txt is an non-existent file. I google searched some solutions and tried to add -s and --no-messages option grep -s... (2 Replies)
Discussion started by: forevertl
2 Replies

9. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

10. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
FS_QUOTA(1)						       AFS Command Reference						       FS_QUOTA(1)

NAME
fs_quota - Displays the quota used in the volume containing a directory or file SYNOPSIS
fs quota [-path <dir/file path>+] [-help] fs q [-p <dir/file path>+] [-h] DESCRIPTION
The fs quota command displays the percent of quota consumed in the volume that contains each specified directory or file. To display more detailed information about the volume and the partition it resides on, use the fs examine and fs listquota commands. To set volume quota, use the fs setquota or fs setvol command. CAUTIONS
Currently, the maximum size of a volume is 2 terabytes (2^31 bytes). OPTIONS
-path <dir/file path> Names each file or directory for which to display the quota consumed in its parent volume. Partial pathnames are interpreted relative to the current working directory, which is also the default value if this argument is omitted. -help Prints the online help for this command. All other valid options are ignored. OUTPUT
The output reports the percent of volume quota used, in the following format: <percent>% of quota used. EXAMPLES
The following command lists the percent quota used of the volume housing the current working directory: % fs quota 17% of quota used. The following command lists the percent quota used of both the volume housing the current working directory's parent directory and the volume housing the directory /afs/abc.com/usr/smith: % fs quota -path .. /afs/abc.com/usr/smith 43% of quota used. 92% of quota used. PRIVILEGE REQUIRED
The issuer must have the "r" (read) permission on the ACL of the root directory of the volume that houses the file or directory named by the -path argument, and "l" (list) permission on the ACL of each directory that precedes it in the pathname. SEE ALSO
fs_examine(1), fs_listquota(1), fs_setquota(1), fs_setvol(1) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 FS_QUOTA(1)
All times are GMT -4. The time now is 06:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy