LinuxQuestions.org
Help answer threads with 0 replies.
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 06-27-2014, 04:42 PM   #1
Sha-bangs
LQ Newbie
 
Registered: Jun 2014
Distribution: many
Posts: 4

Rep: Reputation: Disabled
Question Learning Linux Commands


Hello all!

I have just started school and Linux+ Guide to Linux Certification and I am already feeling like I am falling behind. Ugh!

I have one specific question:
What commands do I enter to get a list of devices that mount when Linux boots? I am currently using Fedora13 and LinuxMint17.

Also, are there any websites or downloads of infinite Linux scripts in order to reduce redundancies in typing basic Linux commands?
 
Old 06-27-2014, 05:00 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
If you mean filesystem mounts they are defined in /etc/fstab.

Since there are an infinite array of options in the many many tools available in Linux you're not going to find one source for everything nor would you want to try to install it if it existed because you will NOT be using ALL the options to all the commands or even ALL the commands.

I'd recommend search for "Linux tutorial" on line to get one of the many free ones that will show you the tools you'll commonly use then build upon those as time goes by. That is you do want to know basic options for "ps" and "ls" right away but you can leave the intricacies of "awk" and "sed" until you have a need to use those or have mastered the basics and just feel like experimenting. Although ps has many options generally "ps -ef" is good enough for most usage. Similarly "ls" has many options but "ls -l" is good enough for most usage. As you need them you'll learn the other options. (e.g. "ps -ft<tty or pty>" would show just processes for the specified device but you can see ALL such devices in the "ps -ef" output.)

For most commands there is a built in manual system so just typing "man <command>" will let you figure out other options as you need them (e.g. "man ps" or "man ls").

For commonly used options you can setup aliases (or for more complex tasks scripts). In fact if you run "alias" on your system with no flags you may seem some already defined by default.

I've been doing UNIX/Linux since the late 80s and still would not claim to know "all" commands and "all" options to the commands I do. The "vi" (or "vim") editor itself for example has many commands used within it that are quite useful but there is a limited number you actually use normally. (Of course if you don't really know what you're doing you'll use "emacs" instead. )
 
1 members found this post helpful.
Old 06-27-2014, 05:01 PM   #3
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,811
Blog Entries: 1

Rep: Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191Reputation: 1191
Quote:
Originally Posted by Sha-bangs View Post
What commands do I enter to get a list of devices that mount when Linux boots? I am currently using Fedora13 and LinuxMint17.

Hi there.
Have a look at this article that discusses some important configuration files under /etc. You'll find your answer there.

You can use google to find how to display a file.

Quote:
Originally Posted by Sha-bangs View Post
Also, are there any websites or downloads of infinite Linux scripts in order to reduce redundancies in typing basic Linux commands?
Not sure if I understand your question but for learning purposes it is actually good to reinvent the wheel and try to create scripts from scratch.

http://linuxcommand.org/writing_shell_scripts.php
 
1 members found this post helpful.
Old 06-27-2014, 06:30 PM   #4
FSCK THAT!
LQ Newbie
 
Registered: Jun 2014
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by Sha-bangs View Post

I have one specific question:
What commands do I enter to get a list of devices that mount when Linux boots? I am currently using Fedora13 and LinuxMint17.

Also, are there any websites or downloads of infinite Linux scripts in order to reduce redundancies in typing basic Linux commands?
You can type mount with no switches to see a list of mounted devices. Another command is df -h to see a list of used and free space of mounted devices.

Not sure of the second question, but you can reduce the redundant tying of commands by using the TAB completion feature in bash. You can also recall past commands from history. You can also press Ctrl+r to search for a keyword string or command from the history. Press Ctrl+r again for the next instance of the keyword string or command.

PS: There are many tutorials on linux commands on the web and on youtube. Check them out and pratice what you learn.

Last edited by FSCK THAT!; 06-27-2014 at 06:37 PM.
 
Old 06-28-2014, 02:40 PM   #5
bashRocks
LQ Newbie
 
Registered: Jun 2014
Posts: 9

Rep: Reputation: 0
A good resource for newbies to some linux commands
http://linuxcommand.org/

Once you absorb the commands and understand them you can then move on to shell scripting which is also included in the site. The beauty of shell scripting is you can create a script of commands and variables to do many tasks.
 
Old 06-28-2014, 07:25 PM   #6
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,158
Blog Entries: 10

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
Various Linux Guides I have collected
 
  


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
LXer: Learning Linux Commands: alias LXer Syndicated Linux News 0 01-23-2013 07:10 PM
learning linux commands ermoka Linux - Newbie 6 04-12-2012 06:38 AM
LXer: Learning Linux Commands: ls LXer Syndicated Linux News 0 02-02-2012 06:40 AM
LXer: Learning Linux commands: dd LXer Syndicated Linux News 0 11-17-2011 08:30 AM
LXer: Learning About Linux Commands LXer Syndicated Linux News 0 08-25-2006 05:54 PM


All times are GMT -5. The time now is 09:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration