strange on directory


 
Thread Tools Search this Thread
Operating Systems AIX strange on directory
# 1  
Old 07-15-2010
strange on directory

I have two aix 5.3 server A and B, if I list files on server A:
Code:
ls -l /x/y/*
/x/y/1.out
/x/y/2.out

If I use ssh from server B to list:
Code:
ssh A ls -l /x/y/*
/x/y/3.out not found
/x/y/4.out not found
/x/y/1.out
/x/y/2.out

From server A, /x/y/3.out and /x/y/4.out looks like don't exist, but why from server B when use ssh to list :
Code:
/x/y/3.out not found
/x/y/4.out not found

Any ideas?

Moderator's Comments:
Mod Comment You are not new at all to the forum - use code tags in future.

Last edited by zaxxon; 07-16-2010 at 04:23 AM.. Reason: code tags
# 2  
Old 07-15-2010
/x/y/* is being interpreted locally.

surround it with single-quote marks.

I.E:

Code:
ssh A ls -l '/x/y/*'

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Directory not displaying (strange)

Hi All. I am facing a strange scenario (c13:pq1:/pq1/buffer>) ll ../dataCS/* ls: cannot access ../dataCS: No such file or directory (c13:pq1:/pq1/buffer>) cd ../dataCS (c13:pq1:/pq1/dataCS>) ll * -rw-rw-r-- 1 pq1 pq10 Mar 1 13:43 test (c13:pq1:/pq1/dataCS>) ll ../dataCS/* -rw-rw-r--... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies

2. Shell Programming and Scripting

Strange result

Hi, I have following codes which looks ok: $ string1="123456789 abc2" $ string2="abc" $ position_of_string2=`expr index "$string1" "$string2"` $ echo $position_of_string2 $ 11however, when string2="abc2", it gives me the following result: $ string1="123456789 abc2" $... (5 Replies)
Discussion started by: littlewenwen
5 Replies

3. Solaris

Strange thing with solaris ls on nfs shared directory

I shared from linux server a dir with nfs3,solaris mount ok,and can tar files,but if i do ls or cp.. on mnt i have mount the nfs share root@solaris: mnt $ touch 2 root@solaris: mnt $ ls -lh ls: can't read ACL on .: Permission denied root@solaris: mnt $ ls 1.tar 2 root@solaris: mnt $ cp... (4 Replies)
Discussion started by: Linusolaradm1
4 Replies

4. UNIX for Advanced & Expert Users

strange "No such file or directory" errors on NFS volumes

we're seeing very strange "No such file or directory" errors on NFS volumes on one of our suse servers - can anyone please help? we're seeing it for both our NetApp NAS Device and one of our Solaris NFS servers too Here is what we're seeing: stg-backup:~ # cd /rmt/sge stg-backup:/rmt/sge... (3 Replies)
Discussion started by: fishsponge
3 Replies

5. Cybersecurity

Strange files keep appearing in my home directory

Hi everyone, really strange files keep appearing in my home directory. I have absolutely no idea where they come from and I'm a little concerned that they could come from some kind of malware activity or Firefox exploit. I searched Google for parts of the file names but without a result. The... (6 Replies)
Discussion started by: schallstrom
6 Replies

6. Shell Programming and Scripting

Strange Logic

I am trying to read a file and skip few records based upon the following two columns. Pipe delimiter used between the two columns. Column1|Column2 Property|CutOff Target|11111 Min|9999 Max|10000 Comment|This is a test Property|Weight Target|222 Min|3434 Max|77777 UOM|mm ... (5 Replies)
Discussion started by: ganesh123
5 Replies

7. Solaris

Something strange...

Hi all, Thanks for any replies and for reading in advance. We have upgraded one of our database instances to 10g on a Solaris 8 box, anyhow the other day it started trying to ping loads of weird IP addresses that we don't use, since our systems all run on pretty similar IP's. It all behind... (0 Replies)
Discussion started by: B14speedfreak
0 Replies

8. Shell Programming and Scripting

Strange question

Good day. I whant to put in a "readkey" function into my script. My script will be running in "real time". Basicaly I whant to add a eg. "Press X to exit" statement into my script. More or less like the read command, but I don't whant it to wait for the user to press enter. eg. Readkey. If no... (5 Replies)
Discussion started by: Blooper
5 Replies

9. UNIX for Dummies Questions & Answers

strange

Hi All I am doing a locate <file_name> on my Redhat 7 System. I am unable to get the output. All the keep getting is: locate: this is not a vlaid slocate database: /var/lib/locate/slocate.db What des this mean? Is my system compromised? Thanks in advance. KS (13 Replies)
Discussion started by: skotapal
13 Replies

10. UNIX for Dummies Questions & Answers

strange...problem

Hi.. Some of my application were not running properly due to lack of virtual memory.....so wht i did add one free harddisk as swap file system...and increased the swap memory.. But since than my root file system is showing 100% full thr is no space left...is thr any link between these two..... (1 Reply)
Discussion started by: Prafulla
1 Replies
Login or Register to Ask a Question