USA Linux Users Group Forum Index
Log in Register FAQ Memberlist Search USA Linux Users Group Forum Index Album

Newbie's Top Ten Commands
Goto page 1, 2  Next
 
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Command Line Commands
View previous topic :: View next topic  
Author Message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Sun Mar 12, 2024 10:44 pm    Post subject: Newbie's Top Ten Commands Reply with quote

Newbie's Top Ten Commands
http://www.cmm.uklinux.net/steve/ntt.html
Quote:

This is it, the Moment all you newbies have been waiting for, this is the list of the top ten commands that every new linux user should learn about to save time, effort and usenet flames. It is not intended to be a full description of the commands, rather it is a guide to the power of Gnu/Linux with some immediately accessible examples to try out (something that most technical documents omit, but which I believe are essential in getting the ideas involved into virgin skulls).



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
lynch
Moderator


Joined: 15 Nov 2024
Posts: 2659
Location: The Diamond State

PostPosted: Mon Mar 13, 2024 1:43 am    Post subject: Reply with quote

#3 pico/nano Very Happy



_________________
Mandriva 2024 Spring -2.6.31.12-server-2mnb
PCLinuxOS 2024 -2.6.26.8.tex3
Back to top
View user's profile Send private message
crouse
Site Admin


Joined: 17 Apr 2024
Posts: 11833
Location: Iowa

PostPosted: Mon Mar 13, 2024 1:44 am    Post subject: Reply with quote

Very Happy ... my favorites Very Happy Laughing <ducks as jbsnake swings the big stick> Laughing



_________________
Veronica - Arch Linux 64-bit -- Kernel 2.6.33.4-1
Archie/Jughead - Arch Linux 32-bit -- Kernel 2.6.33.4-1
Betty/Reggie - Arch Linux (VBox) 32-bit -- Kernel 2.6.33.4-1
BumbleBee - OpenSolaris-SunOS 5.11
Back to top
View user's profile Send private message Visit poster's website AIM Address
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6671
Location: Central Montana

PostPosted: Mon Mar 13, 2024 2:03 am    Post subject: Reply with quote

#7. RPM Razz Razz not on my Debians, I won't Sad Sad But I will use apt-get Laughing Laughing

nano I use already (Thanks to crouse) but pico I'll have to study up on ... I used it a few years back for about two weeks, didn't like it and never used it again Very Happy Very Happy
BTW, this is definitely bookmarked Exclamation Exclamation



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
DocZayus
Ultimate Member


Joined: 15 Feb 2024
Posts: 2199
Location: Fredericton, New Brunswick

PostPosted: Mon Mar 13, 2024 4:34 am    Post subject: Reply with quote

nano and ls, thos really helped me in 1995...
the rest came afterwards.
Baby steps, one at a time...



_________________
Sabayon
Vista
Back to top
View user's profile Send private message Visit poster's website
masinick
Linux Guru


Joined: 03 Apr 2024
Posts: 8615
Location: Concord, NH

PostPosted: Mon Mar 13, 2024 4:58 am    Post subject: Nano almost = Pico, look at Joe and Jed too Reply with quote

JP wrote:
#7. RPM Razz Razz not on my Debians, I won't Sad Sad But I will use apt-get Laughing Laughing

nano I use already (Thanks to crouse) but pico I'll have to study up on ... I used it a few years back for about two weeks, didn't like it and never used it again Very Happy Very Happy
BTW, this is definitely bookmarked Exclamation Exclamation


Though Pico is the editor that comes with Pine (an easy to use console based Email program from the University of Washington) and Nano is a GNU based console text editor, the fact is that Nano was created to mimic Pico because the licensing terms for Pico were not considered "free", even though Pico is easily and freely available.

Debian based distros were among the first to adopt Nano to replace Pico.

If you find Nano easy to use, I am surprised you find Pico much different. They are VERY CLOSE to functionally identical, even though they share no code.

Nano is one of the easiest non graphical editors around.

Another editor that is a console based editor that has actually been around a while and is pretty easy to use is Joe. It is perhaps not quite as straightforward as Nano, but it is more capable than Nano and can mimic other editors. By default, it mimics WordStar, an ancient early MS/DOS editor in the early eighties. It can also mimic Emacs and Pico, (so in essence, it can look like Nano, too). To get that functionality, you call it up as jpico (or jemacs, jstar, or just plain joe).

Another editor that can take on similarly different bindings is Jed. Both Joe and Jed are named after their authors, Joseph Allen and John E. Davis, respectively. Jed can emulate Emacs or EDT, and probably other editors, too, but I am not sure which emulations besides these two have been written.

All of these are easy to use console editors (but Jed also comes in a graphical xjed form).



_________________
Brian Masinick
Distros: SimplyMEPIS
sidux - no CAPS!, antiX, Debian
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
coastie
Moderator Bot


Joined: 24 Apr 2024
Posts: 3064
Location: The Fox Den in the Big Easy

PostPosted: Mon Mar 13, 2024 7:57 am    Post subject: Reply with quote

good stuff crouse Very Happy



_________________
Ubuntu on the thinkpad
Easy Peasy on the EEEPC
Desktop is down.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6671
Location: Central Montana

PostPosted: Sat Oct 11, 2024 1:01 am    Post subject: Reply with quote

Unfortunately, the above link is no longer good Sad Sad I was looking for a command that gives me the IP address of the machine I'm using ......
Code:
ifconfig
and
Code:
ifconfig -a
do not do that Sad



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
Lord.DragonFly.of.Dawn
Advanced Member


Joined: 18 Jul 2024
Posts: 607
Location: South Portland, Maine, USA, Earth, Sol System

PostPosted: Sat Oct 11, 2024 1:42 am    Post subject: Reply with quote

ifconfig does, but if you are behind a NAT router you won't get your "live" IP.

If you know how to read it i think traceroute will give you your live ip. or you van go to "whatsmyip.com"

red be my IP (fudged for security reasons)
Quote:
dragonfly@Sakura ~ $ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:e0:4d:2b:87:a6
inet addr:???.???.???.??? Bcast:255.255.255.255 Mask:255.255.224.0
inet6 addr: fe80::2e0:4dff:fe2b:87a6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18260 errors:0 dropped:0 overruns:0 frame:0
TX packets:2218 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3120664 (2.9 MiB) TX bytes:432315 (422.1 KiB)
Interrupt:60 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:19603 errors:0 dropped:0 overruns:0 frame:0
TX packets:19603 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2829335 (2.6 MiB) TX bytes:2829335 (2.6 MiB)



_________________
ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)

PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
Back to top
View user's profile Send private message Visit poster's website
jada
Linux Guru


Joined: 13 May 2024
Posts: 3064
Location: Sun City, CA 92585

PostPosted: Sat Oct 11, 2024 2:32 am    Post subject: Reply with quote

DocZayus wrote:
nano and ls, thos really helped me in 1995...
the rest came afterwards.
Baby steps, one at a time...


I am out of # nano now. I make all with # vi



_________________
openSUSE 11.1 Desktop KDE 4.3.1 buildservice Factory
Linux Mint 7 Desktop Gnome
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
masinick
Linux Guru


Joined: 03 Apr 2024
Posts: 8615
Location: Concord, NH

PostPosted: Sat Oct 11, 2024 2:56 am    Post subject: Reply with quote

jada wrote:
DocZayus wrote:
nano and ls, thos really helped me in 1995...
the rest came afterwards.
Baby steps, one at a time...


I am out of # nano now. I make all with # vi


I use a wide variety of editing tools. In the UNIX, BSD, and Linux space, I have known ed and vi the longest, and I still use them from time to time. If I am using a script, I will use ed or sed. If I am using a console, I will use vi, Vim, Jed, Joe, or nano.

From the GUI, I use GNU Emacs the most, but I also use NEdit, Leafpad, Mousepad, Kate, and a wide variety of others. The classics, Vi and Emacs are the ones I still use the most though.



_________________
Brian Masinick
Distros: SimplyMEPIS
sidux - no CAPS!, antiX, Debian
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6671
Location: Central Montana

PostPosted: Sat Oct 11, 2024 4:03 am    Post subject: Reply with quote

Lord.DragonFly.of.Dawn wrote:
ifconfig does, but if you are behind a NAT router you won't get your "live" IP.

If you know how to read it i think traceroute will give you your live ip. or you van go to "whatsmyip.com"

That seems to be an ad site ..... none of the links bring up anything other than more ads Sad Sad



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
markrmcs
Member


Joined: 29 Jan 2024
Posts: 336
Location: Concord, NH

PostPosted: Sat Oct 11, 2024 4:26 pm    Post subject: Reply with quote

JP wrote:
Lord.DragonFly.of.Dawn wrote:
ifconfig does, but if you are behind a NAT router you won't get your "live" IP.

If you know how to read it i think traceroute will give you your live ip. or you van go to "whatsmyip.com"

That seems to be an ad site ..... none of the links bring up anything other than more ads Sad Sad


d-fly missed a letter...the correct url is:

whatismyip.com

alternatively if you are behind a router you can also go to the management page of said router and find it there somewhere....

Mark


Back to top
View user's profile Send private message
Lord.DragonFly.of.Dawn
Advanced Member


Joined: 18 Jul 2024
Posts: 607
Location: South Portland, Maine, USA, Earth, Sol System

PostPosted: Sat Oct 11, 2024 4:46 pm    Post subject: Reply with quote

markrmcs wrote:
JP wrote:
Lord.DragonFly.of.Dawn wrote:
ifconfig does, but if you are behind a NAT router you won't get your "live" IP.

If you know how to read it i think traceroute will give you your live ip. or you van go to "whatsmyip.com"

That seems to be an ad site ..... none of the links bring up anything other than more ads Sad Sad


d-fly missed a letter...the correct url is:

whatismyip.com

alternatively if you are behind a router you can also go to the management page of said router and find it there somewhere....

Mark


gomene. Yes i misspelled. sorry 'bout that.



_________________
ArchLinux x86_64 - Custom Built Desktop
ArchLinux x86_64 - Compaq CQ50 Laptop
ArchLinux i686 - Acer Aspire One Netbook
ArchLinux i686 - Dell Presario ze2000 (w/ shattered LCD)

PuppyLinux, CloneZilla, PartedMagic, DBAN - rescue thumbdrives
Windows 7 (x86_64 desktop alternate boot)
Back to top
View user's profile Send private message Visit poster's website
JP
Linux Guru


Joined: 07 Jul 2024
Posts: 6671
Location: Central Montana

PostPosted: Sun Jan 11, 2024 5:28 am    Post subject: Reply with quote

Since the above link is no longer good, here's some more "Top Ten" resources (not necessarily just for newbies):

Top 10 Linux commands for Absolute Newbies Clik Wink
Linux / Unix top 10 Clik Wink
Top Ten Curiously Useful Linux commands Clik Wink
Top 10 Command Line Tools Clik Wink

There's lots more, but I thought that if a link goes bad, there's always another to choose from. I thought this comment from someone's blog which no longer listed the top 10 (possibly another bad link) was a good one too:
Uncle Dirtnap wrote:
I've been a senior unix sysadmin for over 10 years, and I always wonder who it is who writes these lists, and for whom they are intended.

hostname is the #1 command? It is unlikely you will need to change a machine's hostname more than once a year; it's very likely that the current hostname is part of the default system prompt.

cat /proc/interrupts is on the list, but not grep? That's not even a command.

See, in every list of this type I see get dugg, which must be 3 a week, the author fails to realize that the meat of the shell is compound commands -- loops, pipelines, etc.

Pretending for a minute that sed and awk are programming environments and don't count as commands, here are 10 that are infinitely more useful than whoami:


man: You're right about man -- man is the most important command to know (especially man -k)

grep: Global Regular Expression Print. Searches a file for a pattern (or absence of a pattern) and returns the lines that [don't] match.

cut: Since I was going to ignore awk, you need some way to get at columnar data.

find: Searches one or more file systems for objects matching a list of characteristics.

xargs: pass a list of arguments to a single command, one after the other.

loop built-ins: The for, each and while commands built in to most shells aren't just for scripting, they're great for one-off commands.

top: This is another one you definitely got right -- just know that, on a resource starved system (where you might want to run top,) top can be a bit of a hog.

ps: ...and your final correct answer -- I don't know how ps could be considered ghetto, though. Again, the "ghetto"ness off text based tools is a misassumption of people who don't use or understand compound commands.

test: test conditions and return true or false -- again, if you're really using the shell, and you're really doing enterprise work, you'll use this in ad-hoc commands every day.

ls: Seriously. You got ps, but ls is even more important (lists directory contents...)


...and that's to say nothing of sed, awk, nc, mknode, etc.



_________________
Dell Box - Arch Linux
Dell Lappy - DreamLinux 3.5 - Default OS
Mepis 8.0 - Backup
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    USA Linux Users Group Forum Index » Command Line Commands All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All content © 2024-2009 - Usa Linux Users Group
This forum is powered by phpBB. © 2024-2009 phpBB Group
Theme created by phpBBStyles.com and modified by Crouse