PuppyThis forum is for the discussion of Puppy Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It's the job of your shell to expand wildcards and pass the resulting list to the invoked command. Very few programs other than shells handle wildcard expansion ("globbing").
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by Fixit7
That actually works.
I meant ls*.*
That works too, on my system, returning all files with a dot inside the name. To list everything, including hidden files, if that's what you need it's "ls -a".
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by Fixit7
I have a Windows background.
And *.* means any and every file.
Apologies to be a little picky but that's not strictly speaking true. The pattern "*.*" was commonly used to represent "all files, but not directories" and was principally used to delete the file contents of a directory with "del *.*". To delete everything, however, a simple "del *" would work -- the dot is specifically used to exclude directories because all files had extensions "back in the day". It's a fairly common misconception but worth noting especially in the light of PowerShell and the reduced need for file extensions in modern Windows versions.
The ls command doesn't have an option to just show files, that I know of, but the find command can be used instead.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.