LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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, 05: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, 05: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, 05: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, 07:14 PM   #19
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: Debian, CentOS
Posts: 635

Rep: Reputation: 171Reputation: 171
go to google and search for changing directories in linux. read and absorb.
 
Old 02-22-2016, 12:31 AM   #20
fido_dogstoyevsky
Member
 
Registered: Feb 2015
Location: Victoria, Australia
Distribution: Slackware 14.2
Posts: 96

Rep: Reputation: 74
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-22-2016, 12:37 AM   #21
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,288
Blog Entries: 2

Rep: Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939Reputation: 939
Do all distros have Nano? Like Vi.
 
Old 02-22-2016, 04:22 AM   #22
fido_dogstoyevsky
Member
 
Registered: Feb 2015
Location: Victoria, Australia
Distribution: Slackware 14.2
Posts: 96

Rep: Reputation: 74
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, 04:34 AM   #23
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest; has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,288
Blog Entries: 2

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:50 AM
Disk Partition Resize Trouble and Partition Questions GNewbie Linux - Newbie 2 11-15-2005 05:15 PM
Two questions - installation trouble and logging in Rhadryn Linux - Newbie 10 07-24-2005 01:31 PM
trouble ahead, trouble behind....trouble with mplayer Goonie Linux - Software 3 07-02-2003 03:29 AM
xine-lib trouble & more misc questions...-- a samaritan expert's dream come true bandofmercy Linux - Newbie 6 03-01-2003 08:24 PM


All times are GMT -5. The time now is 01:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration