![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ls -ltr command On Remote server | vasuarjula | Shell Programming and Scripting | 2 | 06-01-2008 10:55 AM |
| ls command in Remote Server | vasuarjula | AIX | 0 | 05-30-2008 10:22 PM |
| script to send command periodically to remote server | sayeo | Shell Programming and Scripting | 2 | 03-17-2008 03:42 AM |
| Transfer file from local unix server to remote server | indira | HP-UX | 2 | 05-02-2007 06:15 PM |
| remote server command in a job | Jimbo | Shell Programming and Scripting | 2 | 01-30-2002 03:18 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
ls command in Remote Server
Unix Box: IBM AIX
Shell : K-Shell When i logged into a remote server through FTP, and tried to find only required month file by typing `ls -ltr *200805`, the output is "ls remotefile localfile". I coudnt understand this. What is want is get into the remote server and get the count of required files like "ls -ltr *200805 | wc -l". This is working in my machine but not on remote directory. how can i do this. Advance appreciations for the help |
|
||||
|
Quote:
Had it been ssh login, there shouldn't be any problem at all. |
|
||||
|
What about: Code:
ssh host "ls -ltr *200805* | wc -l" Secure Shell - Wikipedia, the free encyclopedia Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|