ftp ls command substitution
Hi,
I'm wondering if there's a big difference using FTP on HPUX & Linux ?
In HPUX (B.11.11), I'm able to use the following (??? substitution)
ftp> ls rep.*
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
-rw-rw-r-- 1 justme adm 101962 Jul 6 2010 rep.log
-rw-rw-r-- 1 justme adm 896 Jul 6 2010 rep.sh
226 Transfer complete.
ftp> ls rep.???
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
-rw-rw-r-- 1 justme adm 101962 Jul 6 2010 rep.log
226 Transfer complete.
ftp>
?Invalid command
ftp> ls rep.??
200 PORT command successful.
150 Opening ASCII mode data connection for /usr/bin/ls.
-rw-rw-r-- 1 justme adm 896 Jul 6 2010 rep.sh
226 Transfer complete.
In RedHat Linux, I'm not able to use the question mark (?) substitution. Are there any fix or is it a limitation ?
ftp> ls luci.*
227 Entering Passive Mode (127,0,0,1,212,62)
150 Here comes the directory listing.
-rw-r--r-- 1 0 0 63 Feb 08 2012 luci.txt
226 Directory send OK.
ftp> ls luci.???
227 Entering Passive Mode (127,0,0,1,39,247)
150 Here comes the directory listing.
226 Directory send OK.
Any advise would be helpful.
regards,
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
