You can use ls directoryname -a *, where * is the wildcard. The -a will show all hidden files.
There are ways to set a variable with the directory name by using wildcards as well. On Nov 4, 2010, at 1:22 PM, Garry Turkington wrote: > Hi, > > Or escape the spaces with a backslash. > > Garry > > On 11/4/10, louie <[email protected]> wrote: >> Put quotes around the file name with spaces in the name. >> >> On Nov 3, 2010, at 8:14 PM, Bejarano, Rafael P. wrote: >> >>> Hello, >>> >>> How does one get the ls command in Unix to display directories whose names >>> consist of more than one word, separated by a space? For example, >>> ls /Users/Rafael/Documents/My Stuff >>> or >>> ls documents/my stuff >>> >>> Thanks in advance to anyone with the ability and inclination to help me >>> out with this one. >>> Rafael Bejarano >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "MacVisionaries" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/macvisionaries?hl=en. >>> >> >> louie >> [email protected] >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "MacVisionaries" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/macvisionaries?hl=en. >> >> > > -- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/macvisionaries?hl=en. > -- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en.
