10-23-2001
Unable to view contents of a directory
Hi, first post here be gentle. Very new to Unix. Using HP-UX 10.20
I CD into a remote directory on one machine
$ cd /net/remote hostname
yet when I do an ll in this directory none of the contents appear. It just is empty.
when I do the same command from another machine,
$ cd /net/remote hostname
do an ll I get to see the entire contents.
I do a pwd on both machines and I am in exaxtly the same place on each.
Why can I see the contents on one machine yet on the other I cant!! please help if you can
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
#!/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
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
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
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
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
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
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
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
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
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
RCP(1) BSD General Commands Manual RCP(1)
NAME
rcp -- remote file copy
SYNOPSIS
rcp [-px] file1 file2
rcp [-px] [-r] file ... directory
DESCRIPTION
Rcp copies files between machines. Each file or directory argument is either a remote file name of the form ``rname@rhost:path'', or a local
file name (containing no `:' characters, or a `/' before any `:'s).
-r If any of the source files are directories, rcp copies each subtree rooted at that name; in this case the destination must be a direc-
tory.
-p The -p option causes rcp to attempt to preserve (duplicate) in its copies the modification times and modes of the source files, ignor-
ing the umask. By default, the mode and owner of file2 are preserved if it already existed; otherwise the mode of the source file mod-
ified by the umask(2) on the destination host is used.
If path is not a full path name, it is interpreted relative to the login directory of the specified user ruser on rhost, or your current user
name if no other remote user name is specified. A path on a remote host may be quoted (using , ", or ') so that the metacharacters are
interpreted remotely.
Rcp does not prompt for passwords; it performs remote execution via rsh(1), and requires the same authorization.
Rcp handles third party copies, where neither source nor target files are on the current machine.
SEE ALSO
cp(1), ftp(1), rsh(1), rlogin(1)
HISTORY
The rcp command appeared in 4.2BSD.
BUGS
Doesn't detect all cases where the target of a copy might be a file in cases where only a directory should be legal.
Is confused by any output generated by commands in a .login, .profile, or .cshrc file on the remote host.
The destination user and hostname may have to be specified as ``rhost.rname'' when the destination machine is running the 4.2BSD version of
rcp.
Linux NetKit (0.17) August 15, 1999 Linux NetKit (0.17)