LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-30-2014, 02:33 PM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 741

Rep: Reputation: Disabled
Ways to remember Linux commands


Please don't bash me for this question.

It will be easier for me to remember a given command if I could associate a word or praise with it.

For instance:
  • chmod is "change mode"
  • wc is "word count"
  • cd is "change directory"
  • su is "substitute user"

The man page doesn't typically provide this specific phrase, but often hints at it. I could make a phrase up and I think I am correct with all of the above except maybe wc, but I would rather use the "official" phrase if such a thing exists.

Is there a way to get this phrase through the command line? If not, has anyone seen such a list published?

Thanks
 
Old 03-30-2014, 02:46 PM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,693

Rep: Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576Reputation: 1576
Have you tried the 'apropos' command? e.g. apropos count
You can also pipe output to 'grep' e.g. apropos count | grep word

Last edited by allend; 03-30-2014 at 02:49 PM.
 
Old 03-30-2014, 02:56 PM   #3
Habitual
LQ 5k Club
 
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,599
Blog Entries: 15

Rep: Reputation: Disabled
If you know the action of the command well enough, then the nomenclature will become intuitive, eg "wc".

Some pronounce /etc as "ETC" where I use "ETSee"

All good knowledge comes from experience, and I suspect you just need more of it.

wrt:
Quote:
Originally Posted by NotionCommotion View Post
[*]su is "substitute user"
or SuperUser

Last edited by Habitual; 03-30-2014 at 03:00 PM.
 
1 members found this post helpful.
Old 03-30-2014, 03:37 PM   #4
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 741

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Habitual View Post
All good knowledge comes from experience, and I suspect you just need more of it.
Agree!

Quote:
Originally Posted by Habitual View Post
When writing my original post, I original put down "super user", but then looked at the man page, and changed it as it doesn't necessarily apply to only a super user. That being said, I "think" super user.

Quote:
SU(1) User Commands SU(1)

NAME
su - run a shell with substitute user and group IDs
 
Old 03-30-2014, 03:41 PM   #5
mddnix
Member
 
Registered: Mar 2013
Distribution: Redhat, Ubuntu
Posts: 525

Rep: Reputation: 141Reputation: 141
Its indeed Substitute User not super user.
 
Old 03-30-2014, 03:43 PM   #6
bcwagne
Member
 
Registered: Feb 2008
Distribution: Debian Testing, OSX
Posts: 164

Rep: Reputation: 32
The best way is to just keep doing it.

When I first started I got "Linux in a Nutshell". It was a book that just made things easier for me. It was kind of like a dictionary of commands. I could refer to it easily, and I did so often. There are others that are equally as good, I'm sure, but that was like my Linux bible.
 
Old 03-30-2014, 03:49 PM   #7
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 741

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mddesai View Post
Its indeed Substitute User not super user.
Wow! I actually got something right
 
Old 03-30-2014, 03:59 PM   #8
mddnix
Member
 
Registered: Mar 2013
Distribution: Redhat, Ubuntu
Posts: 525

Rep: Reputation: 141Reputation: 141
When i forget or want to know for any new command, i use, for example,

Code:
$ apropos -s1 network
$ apropos -s8 network

Last edited by mddnix; 03-30-2014 at 04:11 PM. Reason: Sorry copy/paste error...
 
1 members found this post helpful.
Old 03-30-2014, 04:33 PM   #9
Die-hard-Linux-User
LQ Newbie
 
Registered: Mar 2014
Posts: 6

Rep: Reputation: Disabled
I don't use word association for commands. The only way to remember is to keep on using the commands on a frequent basis.

I also have a text file of many of my favorite commands with their switches i.e flags for easy reference in case I forget.

You can also reference past commands via the history command.

Last edited by Die-hard-Linux-User; 03-30-2014 at 04:37 PM.
 
Old 03-30-2014, 04:45 PM   #10
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
When you are unsure try:
Code:
wtf command-name
For example:
Code:
wtf apropos
wtf wtf
 
1 members found this post helpful.
Old 03-30-2014, 04:54 PM   #11
mddnix
Member
 
Registered: Mar 2013
Distribution: Redhat, Ubuntu
Posts: 525

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by Smokey_justme View Post
When you are unsure try:
Code:
wtf command-name
For example:
Code:
wtf apropos
wtf wtf
ROFL!!! This came as surprise... never knew that command existed... wtf!! Its not available in Redhat, but enjoying in Arch. Man i love linux... Microsoft is not this humorous. Thanks.

Last edited by mddnix; 03-30-2014 at 05:07 PM.
 
Old 03-30-2014, 05:21 PM   #12
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth( I wish,) 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,663
Blog Entries: 2

Rep: Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123Reputation: 1123
Hi. I like cheat sheets as will: http://www.linuxquestions.org/questi...2/#post5141691 plus check out Anka,,, best wishes and have fun.
 
Old 03-30-2014, 07:25 PM   #13
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 741

Original Poster
Rep: Reputation: Disabled
I like wtf as well! Unfortunately, it isn't available, and I can't even yum it in with my existing repositories. Oh well, still like it.

jamison20000e, like the one link to "what every linux user should know". I will read it, and will likely ask afterwards more about "what every linux user should know".
 
Old 03-31-2014, 05:24 AM   #14
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Most cmd names are acronyms or abbreviations or alternate words, but you may need to read the start of the relevant man page if you can't guess it.
Switches are tougher because the 'obvious' word to describe what a switch does may already be taken by another switch.
 
Old 03-31-2014, 08:02 AM   #15
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,898

Rep: Reputation: 353Reputation: 353Reputation: 353Reputation: 353
I went one step further in my effort to remember commands and how to use them.

For those seldom used (and not well remembered), I created a Linux folder in my Documents folder. Then I created subfolders for Awk, Bash, etc. As I browsed the web and found examples, tutorials, user guides, etc., I saved the html pages in the appropriate subfolder.

Now, when I need to use one of those commands that I don't remember well, I look first in those folders. If I don't find what I need, then I browse the internet, and add my findings to my collection.
 
  


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
[SOLVED] How do you remember the commands used in Linux From Scratch? TheIndependentAquarius Linux From Scratch 5 04-21-2012 12:35 PM
LXer: 15 Ways Nokia’s N900 Is Better Than Apple’s iPhone (and 5 ways it’s not) LXer Syndicated Linux News 0 11-14-2009 09:20 AM
Cant remember my commands for linux! dracable Linux - Newbie 4 11-19-2006 08:10 AM
I cant remember all these Linux commands!! BajaNick General 7 04-05-2004 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:05 AM.

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