Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Unable to view contents of a directory Post 9146 by maddave on Tuesday 23rd of October 2001 10:02:07 AM
Old 10-23-2001
Not sure.

I would think if I didn't it would say permission denied or something, but after an ll command it just says
total 0.
With the other machine you can cd into the directory do an ll and it shows everything thats in there.

Very confusing.

cheers for your help.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unable to view the output through this cgi

#!/bin/env perl read(STDIN,$temp,$ENV{'CONTENT_LENGTH'}); @pairs=split(/&/,$temp); $DISPLAY1 = "/u/inarram111/dev/web/HNW/BNY/unsecure-html/myscript2.html"; $DATAFILE1 = "/u/inarram111/dev/web/HNW/BNY/unsecure-cgi-bin/datafile"; open (DATAFILE1, ">$DATAFILE1") || die " Error opening log file... (0 Replies)
Discussion started by: rishchand
0 Replies

2. Programming

view contents of shared library

Hi , i have two doubts in Hp-Ux 1) How to View objects or contents in a shared library in HP-Ux 2) Can i added a c object file to the existing shared file from a different directory . for example : I have two directories X and Y I have a.o b.o c.o object files in X directory I... (4 Replies)
Discussion started by: naren_chella
4 Replies

3. Linux

Unable to view files in a particular directory under /opt

Hi Everybody, I am Unable to view files in a particular directory under /opt. But, when I reboot the server, I am able to view the files.. Its happening daily. Do u 've n e answers/suggestions. Kindly help.. :confused: (1 Reply)
Discussion started by: its.simron
1 Replies

4. UNIX for Dummies Questions & Answers

Unable to view files in a particular directory under /opt

Hi Everybody, I am Unable to view files in a particular directory under /opt. But, when I reboot the server, I am able to view the files.. Its happening daily. Do u 've n e answers/suggestions. Kindly help.. :eek: (1 Reply)
Discussion started by: its.simron
1 Replies

5. HP-UX

[Solved] How to view the contents of the .depot files

Hi, I have one depot file. I would want to view the contents of this file with out extracting and with out installing in a machine. Like for $rpm -qlp rpmfilename will list out all the files in a rpm. Like I would want a command to view the files from a .depot file. I tried with swlist... (2 Replies)
Discussion started by: skmdu
2 Replies

6. Shell Programming and Scripting

trying to view contents of an existing script

root#pwd /opt/tools root# cat check_traffic /opt/tools/utils/commands $1 /opt/tools/utils/DIR/check_traffic root# cat /opt/tools/utils/DIR/check_traffic gew "check_traffic -v" Hi above script works for checking traffic for an ip address im trying to view the check_traffic script by... (5 Replies)
Discussion started by: slashbash
5 Replies

7. Red Hat

Unable to view output of Sar File for memory

Hi I am unable to view the output of sar file using below command sar -f sar07, it is showing below error. Invalid system activity file: sar07 (0x920) above file is in location /var/log/sa wheather for memory it is creating the file at different location? (1 Reply)
Discussion started by: manoj.solaris
1 Replies

8. UNIX for Advanced & Expert Users

Using vim to view the contents of a directory

When I use this command: vi /home/bob/.vimI expect to see. " ============================================================================ " Netrw Directory Listing (netrw v149) " /home/bob/.vim " Sorted by name " Sort sequence:... (4 Replies)
Discussion started by: cokedude
4 Replies

9. UNIX for Beginners Questions & Answers

View file contents created by dbCAmplicons as tab delimited

I have run the following command : od -c Results_May18.fixrank | head Here is the result. I wanted the results in tab delimited. Thanks $ od -c Results_May18.fixrank | head 0000000 M 0 1 6 0 1 : 1 2 9 : 0 0 0 0 0 0000020 0 0 0 0 - A T T D Y ... (2 Replies)
Discussion started by: Benard
2 Replies

10. Shell Programming and Scripting

View all jar files contents in one go ?

I can view a jar file contents using the below command: $ jar -tvf ./checker-compat-qual-2.0.0.jar 0 Mon May 02 18:28:46 IST 2016 META-INF/ 184 Mon May 02 18:28:44 IST 2016 META-INF/MANIFEST.MF 0 Mon May 02 17:20:16 IST 2016 afu/ 0 Mon May 02 17:20:16 IST 2016 afu/org/ ... (5 Replies)
Discussion started by: mohtashims
5 Replies
FS_DISKFREE(1)						       AFS Command Reference						    FS_DISKFREE(1)

NAME
fs_diskfree - Shows data about the partition housing a directory or file SYNOPSIS
fs diskfree [-path <dir/file path>+] [-human] [-help] fs df [-p <dir/file path>+] [-hu] [-he] fs di [-p <dir/file path>+] [-hu] [-he] DESCRIPTION
The fs diskfree command formats and displays information about the partition that houses the volume containing the specified directory or file, including its size and how much space is currently used. To display information about the volume itself, use the fs examine command. The fs examine and fs quota commands also display information about a volume. CAUTIONS
The partition-related statistics in this command's output do not always agree with the corresponding values in the output of the standard UNIX df command. The statistics reported by this command can be up to five minutes old, because the Cache Manager polls the File Server for partition information at that frequency. Also, on some operating systems, the df command's report of partition size includes reserved space not included in this command's calculation, and so is likely to be about 10% larger. OPTIONS
-path <dir/file path>+ Names a file or directory that resides on the partition about which to produce output. Partial pathnames are interpreted relative to the current working directory, which is also the default value if this argument is omitted. -human Print space in a "human-readable" format. Instead of always printing space in kilobytes, show disk space in kilobytes, megabytes, gigabytes, terabytes, or petabytes, as appropriate. -help Prints the online help for this command. All other valid options are ignored. OUTPUT
The output reports the following information about the volume and partition that houses each file or directory: Volume Name The name of the volume. total The partition's total size. If -human is not specified, this value is in kilobytes. used The amount of space used on the partition. If -human is not specified, this value is in kilobytes. avail The amount of space available on the partition. If -human is not specified, this value is in kilobytes. %used The percentage of the partition's total space that is used (the "used" statistic divided by the "kbytes" statistic, times 100). If the %used statistic is greater than 90%, it is marked with the string "<<WARNING" at the right margin. If the volume is a read-only volume, the output includes information about only one of the partitions that houses it, generally the one on the file server machine with the lowest preference rank. To verify which machine the output is referring to, use the vos listvldb command to list the volume's locations, and the vos partinfo command to display the size of each one. EXAMPLES
The following example shows the output for the partitions housing the volumes "user.smith" and "sun4x_56.bin": % fs diskfree -path /afs/abc.com/usr/smith /afs/abc.com/sun4x_56/bin Volume Name total used avail %used user.smith 4177920 3841258 336662 92% <<WARNING sun4x_56.bin 4423680 3174500 1249180 72% 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) 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_DISKFREE(1)
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy