LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 01:33 PM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

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, 01:46 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
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 01:49 PM.
 
Old 03-30-2014, 01:56 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

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 02:00 PM.
 
1 members found this post helpful.
Old 03-30-2014, 02:37 PM   #4
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

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, 02:41 PM   #5
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

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

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, 02:49 PM   #7
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

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, 02:59 PM   #8
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
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 Madhu Desai; 03-30-2014 at 03:11 PM. Reason: Sorry copy/paste error...
 
1 members found this post helpful.
Old 03-30-2014, 03: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 03:37 PM.
 
Old 03-30-2014, 03: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, 03:54 PM   #11
Madhu Desai
Member
 
Registered: Mar 2013
Distribution: Rocky, Fedora, Ubuntu
Posts: 541

Rep: Reputation: 153Reputation: 153
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 Madhu Desai; 03-30-2014 at 04:07 PM.
 
Old 03-30-2014, 04:21 PM   #12
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US( + travel,) Earth&Mars (I wish,) END BORDER$!◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that work on freest-HW; has been KDE, CLI, Novena-SBC but open.. http://goo.gl/NqgqJx &c ;-)
Posts: 4,888
Blog Entries: 2

Rep: Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567Reputation: 1567
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, 06:25 PM   #13
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

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, 04:24 AM   #14
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 07:02 AM   #15
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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



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? Aquarius_Girl Linux From Scratch 5 04-21-2012 11:35 AM
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 08:20 AM
Cant remember my commands for linux! dracable Linux - Newbie 4 11-19-2006 07:10 AM
I cant remember all these Linux commands!! BajaNick General 7 04-05-2004 04:29 PM

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

All times are GMT -5. The time now is 09:42 PM.

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
Open Source Consulting | Domain Registration