![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Deleting lines inside a file without opening the file | toms | Shell Programming and Scripting | 3 | 09-24-2007 07:58 AM |
| Opening a file during FTP | ceaker | High Level Programming | 1 | 04-01-2006 02:40 AM |
| Making Changes without opening file | irehman | Shell Programming and Scripting | 9 | 03-16-2006 10:13 AM |
| delete file without opening vi | lweegp | UNIX for Dummies Questions & Answers | 7 | 01-25-2006 02:23 PM |
| File Opening in C++ in Unix Env | skannan | High Level Programming | 0 | 06-15-2002 08:10 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
opening a file
im trying to open a file in my bin directory and the farthest i can get is into the folder but not the actual file itself i use text edit as the editor. when i try to open the file it says it doesn't exist here is what i type
cd bin open cmnds (dir. which it is under) open test no such file am i missing something or is that the farthest i can go to opening a file |
|
|||||
|
I've never used "Text Edit", but you could try opening the file in a standard editor like "vi". Open a shell, and type
Code:
vi /path/to/file/file_name Code:
:q Also, check your permissions on the file, Code:
ls -l /path/to/file/file_name Cheers ZB http://www.zazzybob.com |
|
||||
|
I am not so sure when you said "open" it. Doesn't the command "open" mean to start a program on a new terminal? Are you sure the file is there? If you want to run it, why just try "./file"? Or if you want to read the file content, use cat, more, or some editor such as vi/vim, emacs.
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|