Page 1 of 1

Where do I enter commands?

Posted: Tue Nov 15, 2022 3:27 pm
by Governor

For example:
sudo nano /etc/hosts

Thanks!


Re: Where do I enter commands?

Posted: Tue Nov 15, 2022 3:40 pm
by geo_c
Governor wrote: Tue Nov 15, 2022 3:27 pm

For example:
sudo nano /etc/hosts

Thanks!

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?


Re: Where do I enter commands?

Posted: Tue Nov 15, 2022 4:01 pm
by Governor

I am using Fossapup64


Re: Where do I enter commands?

Posted: Tue Nov 15, 2022 4:29 pm
by geo_c
Governor wrote: Tue Nov 15, 2022 4:01 pm

I am using Fossapup64

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.


Re: Where do I enter commands?

Posted: Tue Nov 15, 2022 5:56 pm
by Trapster

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


Re: Where do I enter commands?

Posted: Tue Nov 15, 2022 6:42 pm
by HerrBert
fossadusk.jpg
fossadusk.jpg (77.49 KiB) Viewed 945 times

... and only insert commands that you know what they are doing!!!


Re: Where do I enter commands?

Posted: Tue Nov 15, 2022 9:58 pm
by mikeslr

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.


Re: Where do I enter commands?

Posted: Sat Nov 19, 2022 11:08 am
by Governor

I don't see LXTerminal anywhere. Can I download it?


Re: Where do I enter commands?

Posted: Sat Nov 19, 2022 2:52 pm
by geo_c
Governor wrote: Sat Nov 19, 2022 11:08 am

I don't see LXTerminal anywhere. Can I download it?

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.