About
Pricing
Community
Teams
Start Free Trial
Log in
Los Angeles1
asked on
1/8/2014
Linux, how to find files with spaces embedded
I am using RHEL 6.5
I want to locate a file named
/mnt/path/AA BB/file1
however if I do a ls on this name it gets confused because of the spaces
How can I do an ls on this file name from root
Thanks
Linux
2
1
Last Comment
Tintin
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
woolmilkporc
1/8/2014
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Tintin
1/8/2014
or if you want to find any files with a space in their name, do
find / -type f -name "* *"
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
find / -type f -name "* *"