- How to display .files without ls -al
- Posted by Public Interest on October 5th, 2003
I want to display .files such as .bash_.... .history... without ls -al. I
want to display those hidden files by default.
The reason is the web hosting hide .htaccess and .htpassword. I have no
trouble uploading files but when downloading by ftp, I can not see them so I
can not dl them. Alway to let them be displayed in FTP?
- Posted by Paul Lutus on October 5th, 2003
Public Interest wrote:
Why? What's wrong with submitting the appropriate command? If you simply
must list dotted files by default, create an alias on the server side:
alias lsal="ls -al"
Or whatever.
--
Paul Lutus
http://www.arachnoid.com
- Posted by Tony Curtis on October 5th, 2003
You don't have to see the files in a listing to download
them. Just "get" them by name. Or are you using some
kind of GUI that only allows point-and-click? If so,
you'll either have to work out how to configure it, or go
the command-line route with ftp/ncftp.
(The web server will, or should, almost certainly block
attempts to get the .ht files.)
hth
t
- Posted by mjt on October 5th, 2003
Public Interest wrote:
.... i'm confused, is "ls -al" too painful to type? you
could use an alias
..
--
/// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
\\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
\\\ http://pages.sbcglobal.net/mtobler/mjt_linux_page.html ///
On a paper submitted by a physicist colleague:
"This isn't right. This isn't even wrong." - Wolfgang Pauli
- Posted by Public Interest on October 5th, 2003
I use FlashFXP and even if I use pure FTP, I can still not do dir, ls in FTP
to display those .ht files. I understand web servers don't display them,
because of system/security reasons, but it should not be blocked from FTP.
For instance, how I do display all hidden files in FTP without first knowing
their filenames? (I understand, once I know the names, I can get/put them)
- Posted by Paul Lutus on October 5th, 2003
Public Interest wrote:
There is a reason for this setup. It is not just a random, annoying bug or
feature. If you change the setup to allow browsing of dotted files, then
someone may exploit this fact and hack your system.
Do you have control over the server? If not, then you have no options. If
you do, then you can alias "ls" there, or you can make server-side links to
all the dotted files without dots in the link names.
--
Paul Lutus
http://www.arachnoid.com
- Posted by Peter T. Breuer on October 5th, 2003
In comp.os.linux.misc Public Interest <pr@microsoft.com> wrote:
Why would you expect to? Do "ls -a"! The ls command is up to you to
install the way you like, at least in wuftpd.
It isn't.
Type "ls -a" and make sure that your ls command understands that
option.
Good. Keep on understanding.
Peter
- Posted by Dave Hinz on October 5th, 2003
On Sun, 05 Oct 2003 16:51:53 GMT, Public Interest <pr@microsoft.com> wrote:
The decision to give you access to these, and the ability to do so,
both are with whoever owns the server with those files on them. The
answer could be one of several things; call your ISP or whomever for
support. Depending on too many things to guess, the answer may
range from "no" to "yes but we have to change something for you" to
"here's how to do it."
Dave Hinz
- Posted by Lew Pitcher on October 7th, 2003
Public Interest wrote:
Alternative 1:
ls .*
Alternative 2:
echo .*
--
Lew Pitcher
Master Codewright and JOAT-in-training
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
- Posted by Barry Margolin on October 7th, 2003
In article <ev7tlb.bc4.ln@merlin.l6s4x6-4.ca>,
Lew Pitcher <lpitcher@sympatico.ca> wrote:
Better make that "ls -d .*" or you'll see the contents of the parent
directory too.
--
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.