• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

can't open file over ssh

Borkil

Senior member
I'm trying to read a logfile over ssh, however i can't open it. when i list the files in the directory the logfile is there. however if i "vi logfile" it just creates a new file. i think the problem is that theres some kind of special character in the file name. how can i access the file or fix the name?
 
nope, same user. when using a gui file explorer i can double click and it opens just fine. but i can't type the name in the terminal to open it. the file permission is -rw-------
 
Put the file name in quotes, or use backslashes ('\') to escape the special characters.

Or, you could tab to completion (type 'vi f' if the first letter of the filename is 'f' and then hit tab to complete it (sometimes you need to enter more letters before it will compete it)). Or you could escape it with backslashes as Aluvus said.
 
Back
Top