Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You really need to have a working installation to play with because you won't learn without actually trying things out - what do you have available?
Keep doing this, and concentrate on the online documentation for your distribution.
How do you refer to a specific file in the current directory?
To get to the file I created I did cd Downloads. Then I could list using ls and it will show my files. I know if I want to edit I can type nano and then the file name saving an exiting is tricky. the terminal shows that I can do ^X to exit but it I don't think I am giving it that command correctly.
To get to the file I created I did cd Downloads. Then I could list using ls and it will show my files. I know if I want to edit I can type nano and then the file name saving an exiting is tricky. the terminal shows that I can do ^X to exit but it I don't think I am giving it that command correctly.
To get to the file I created I did cd Downloads. Then I could list using ls and it will show my files. I know if I want to edit I can type nano and then the file name saving an exiting is tricky. the terminal shows that I can do ^X to exit but it I don't think I am giving it that command correctly.
OK, so to edit "this_text_file", which happens to be in the in the current directory, you
Code:
nano this_text_file
If you want to specify that you want to edit "this_text_file which is in the current directory" you
Code:
nano ./this_text_file
Note the different emphasis given by the quotes.
Reread two the suggestions given earlier in this thread
Quote:
Originally Posted by TxLonghorn
If you enter the command
Code:
ls -a
you will see that the first 2 things listed are:
.
..
The first one is the current folder. The second one (..) is the parent folder.
Quote:
Originally Posted by John VV
for the first question there are two answers
the relative $PATH
and
The absolute $PATH
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.