3

Bash file names with spaces

view full story
linux-howto

http://www.linuxquestions.org – I have a laptop that I am in through SSH. The laptop does not have an Xwindow system so I am using the program fbi to open an image on my laptop screen from my SSH connection: fbi -T 8 picture.jpg #this opens the image on the laptops tty8 terminal I've found that making a for loop does not work with files that contain a space in the name. Something to due with a bug that they call a "feature" that stops the first variable at the first whitespace. Using a "while" loop is not (HowTos)