For example:
sudo nano /etc/hosts
Thanks!
Moderator: Forum moderators
Most distros on this forum don't require the sudo command, because the systems run as root. But if you want to use command line, easiest way is to open a terminal which is usually found in the applications menu, like urxvt, lxterminal, etc...
Some puppies have a 'run' box availble from the menu or tray.
What puppy are you using?
geo_c
Old School Hipster, and Such
I always open a terminal with the keystrokes ctrl-t and run my commands from there. You can run shell commands from Rox by right clicking in the white space and going to the >window menu, where opening terminals, and running shell command choices are available.
urxvt terminal is available in Fossapup's utility menu (I think, I'm in KLV at the moment) But it's in the applications menu.
geo_c
Old School Hipster, and Such
If you're having trouble finding where to enter that info, you may not like nano.
I presume you are reading it from somewhere and are doing the copy/paste.
Open a terminal (as explained above) and type in:
geany /etc/hosts
You could also try:
leafpad /etc/hosts
If you Right-Click an empty space in any folder a popup-menu will appear from which you can choose either Window>Terminal Here or Window>Shell Command.
P.S. If not already on your system (look at Menu>Utilities) you can use Puppy Package Manager to install LxTerminal; then use Menu>Setup>Default Application Chooser to set LxTerminal as the Default. IIRC, it will still use Urxvt from the Right-Click Menu. But otherwise it simplifies having to Cut & Paste.
Yes LXTerminal isn't built into fossapup. I'm pretty sure it's in the Puppy Package Mangager found in the Setup section of the menu, I think it's in that subcategory, though I'm not looking at a fossapup menu at the moment.
I'm pretty sure you can cut and paste in urxvt terminal using ctrl-shift-c and ctrl-shift-v. Mine does anyway, but I may have changed the urxvt configuration at some point.
geo_c
Old School Hipster, and Such