print friendly version

Questions and answers

234
Why can't I open one of my files or directories?


The commands described below need to be entered while logged in to the Unix server.   Normally you'll see a prompt ending with $ when the command interpreter (or shell) is ready for another command.

Run the command

ls

in your directory. Check the spelling of the file name and whether it is in upper- or lowercase or even a mixture of both. UNIX is case sensitive and names must be typed correctly.

Check also whether the access permissions on the file are correct, using the command

ls -l

Help us to improve this answer

Please suggest an improvement
(login needed, link opens in new window)

Your views are welcome and will help other readers of this page.

Categories

This is question number 234, which appears in the following categories:

Created by Andy Clews on 27 July 2001 and last updated by Andy Clews on 4 August 2015