Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Using the Nano text editor


  • Please log in to reply
5 replies to this topic

#1 defurman

defurman

  • Members
  • 128 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Wales
  • Local time:03:36 PM

Posted 05 March 2013 - 07:31 AM

I have just started using the nano text editor and have been trying and failing to load existing file(s) into nano. For instance, when i opened nano i immediately pressed the Ctrl+R keys and the: File to insert [from ./]: /Desktop/tester.html but all i get back is:

[ "/Desktop/tester.html" not found ]?

 

Could someone tell me where i'm going wrong please!



BC AdBot (Login to Remove)

 


#2 Grinler

Grinler

    Lawrence Abrams


  • Admin
  • 43,614 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:10:36 AM

Posted 05 March 2013 - 10:47 AM

Is there actually a Desktop folder in the root folder of your system? What version of Linux are you using?

#3 defurman

defurman
  • Topic Starter

  • Members
  • 128 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Wales
  • Local time:03:36 PM

Posted 05 March 2013 - 11:15 AM

Hi Grinler, I am running Linux Lite 1.0.4 at the moment.



#4 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:08:36 AM

Posted 05 March 2013 - 12:43 PM

You missed the first question.



#5 Grinler

Grinler

    Lawrence Abrams


  • Admin
  • 43,614 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:10:36 AM

Posted 05 March 2013 - 01:30 PM

You are opening the wrong folder. There is no desktop in the / folder.

Instead it is under your home folder. You can open a file like this:

~/Desktop/tester.html

The ~/ specifies your home folder.

Btw, I moved this to the linux forum.

#6 defurman

defurman
  • Topic Starter

  • Members
  • 128 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Wales
  • Local time:03:36 PM

Posted 06 March 2013 - 06:38 AM

That worked a treat ! Should really have known that by now. Anyway, big thanks for the help Grinler






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users