LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-21-2016, 04:21 PM   #16
asw225
LQ Newbie
 
Registered: Feb 2016
Posts: 15

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by fido_dogstoyevsky View Post
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.
 
Old 02-21-2016, 04:23 PM   #17
asw225
LQ Newbie
 
Registered: Feb 2016
Posts: 15

Original Poster
Rep: Reputation: Disabled
@fido_dogstoyevsky


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.
 
Old 02-21-2016, 04:31 PM   #18
asw225
LQ Newbie
 
Registered: Feb 2016
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks everyone. I've downloaded a VM and am running Ubuntu. I think I have the ssh server process installed too.
 
Old 02-21-2016, 06:14 PM   #19
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Rep: Reputation: 229Reputation: 229Reputation: 229
go to google and search for changing directories in linux. read and absorb.
 
Old 02-21-2016, 11:31 PM   #20
fido_dogstoyevsky
Member
 
Registered: Feb 2015
Location: Victoria, Australia
Distribution: Slackware 15
Posts: 490
Blog Entries: 2

Rep: Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576
Quote:
Originally Posted by asw225 View Post
@fido_dogstoyevsky


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 View Post
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 View Post
for the first question there are two answers
the relative $PATH
and
The absolute $PATH
 
Old 02-21-2016, 11:37 PM   #21
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Do all distros have Nano? Like Vi.
 
Old 02-22-2016, 03:22 AM   #22
fido_dogstoyevsky
Member
 
Registered: Feb 2015
Location: Victoria, Australia
Distribution: Slackware 15
Posts: 490
Blog Entries: 2

Rep: Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576Reputation: 576
Quote:
Originally Posted by jamison20000e View Post
Do all distros have Nano? Like Vi.
It's "part of the GNU project", so probably yes.
 
1 members found this post helpful.
Old 02-22-2016, 03:34 AM   #23
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
Cool, thanks! I recommend Aptitude after a netinst(++) easier than Apt but Vi I found first... \
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
having trouble starting program after update (I think its permission trouble) Adol Linux - Newbie 3 05-31-2012 12:50 AM
Disk Partition Resize Trouble and Partition Questions GNewbie Linux - Newbie 2 11-15-2005 04:15 PM
Two questions - installation trouble and logging in Rhadryn Linux - Newbie 10 07-24-2005 12:31 PM
trouble ahead, trouble behind....trouble with mplayer Goonie Linux - Software 3 07-02-2003 02:29 AM
xine-lib trouble & more misc questions...-- a samaritan expert's dream come true bandofmercy Linux - Newbie 6 03-01-2003 07:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration