Page 1
Page 1
Started By
Message

Hey Team, I need some great linux resources to download/bookmark...

Posted on 8/13/14 at 7:52 pm
Posted by drizztiger
Deal With it!
Member since Mar 2007
37069 posts
Posted on 8/13/14 at 7:52 pm
Not instructions on installing a Linux flavor on a machine, but more of:

- cheat sheet cli commands primer
- pro cli tricks that a non-pro like me are clueless about
- common mistakes to avoid

I'd like to put together a nice reference sheet/small binder to help streamline my curve.

I appreciate all help in advance.
Posted by tokenBoiler
Lafayette, Indiana
Member since Aug 2012
4415 posts
Posted on 8/13/14 at 9:16 pm to
Quite a few cheat sheets out there - just search for "Linux reference card" and pick a couple that look good to you. Any of them will be good for starting, and there will be plenty to choose from when you get enough experience to want to really choose.

Pro tricks? Learn Bash reasonably well, however you can. Again, lots of books out there for shell programming. As a beginner, use Bash. Don't question, just do it. Csh is a very capable shell, but ignore it. Use bash and don't waste any energy thinking about it.

Here's one tip: put the following two lines into a file called '.inputrc' (the leading dot is part of the name) in your home directory:
"\e[A":history-search-backward
"\e[B":history-search-forward

That will make your up and down arrow keys do incremental search in your history when you're working in the CLI in a terminal window. I can't live without that. Trust me, don't make me try to explain why that will make your life 10000 times easier in the CLI. It really will.

Incremental search means that if you type a couple of characters, then hit up-arrow, it will only give you commands in your history that start with the characters you typed. Up-arrow into your history will save you a lot of time, but up-arrow searching into your history will make you a wizard.

Common mistakes? Everyone will tell you not to run as root (usually mostly true), and to be very very careful about * in an 'rm' command (extremely true in all circumstances)

Here's another: If you're coming from Windows or Mac, you may want to put things like spaces and '?' or ',' into file names. All the Linux propaganda will tell you that Linux is perfect and happy to have files named anything, anything at all. Resist the temptation. Restrict your filenames to letters, digits, underscore, and dash, with a dot and extension if you like, and you'll avoid some really really irritating crap when you're trying to use a shell script to manipulate a bunch of files.

Good luck. There's a learning curve, no doubt, and it gets very frustrating at times, but it's worth it. If you need computing (not just an entertainment device), Linux is an extremely rewarding way to handle it.
This post was edited on 8/13/14 at 9:22 pm
Posted by Sho Nuff
Oahu
Member since Feb 2009
11917 posts
Posted on 8/13/14 at 11:41 pm to
quote:

Hey Team



Is that you, Joe Machi?
Posted by gmrkr5
NC
Member since Jul 2009
14891 posts
Posted on 8/14/14 at 8:40 am to
Are you trying to learn the inner workings of the OS or do you just want cheat sheets of commands?
Posted by surprisewitness
Littleton, CO
Member since Apr 2013
558 posts
Posted on 8/14/14 at 10:25 am to
Like said above, use bash for EVERYTHING. Run apps, edit files, change config files, move/delete stuff, install packages, mount drives, and so on.

vim > emacs

Use wine to run your windows apps, sometimes its even faster that running them in windows

Learn about the package manager used in your flavor of Linux (yast, yum, apt, etc.) so you can install/uninstall all the things

There is a lot to learn, it will just take time with you using it. You will find things that you don't know how to do but, just look it up and eventually you will be a master.
Posted by tokenBoiler
Lafayette, Indiana
Member since Aug 2012
4415 posts
Posted on 8/14/14 at 10:57 am to
Also there's an EdX course on Intro to Linux that might be helpful.

EdX
Posted by MaroonWhite
48 61 69 6c 20 53 74 61 74 65 21
Member since Oct 2012
3693 posts
Posted on 8/14/14 at 5:29 pm to
If you have a program that is unresponsive and you want to kill it:

ps -f -u [username]

That gives a list of running processes that you own. Find the process ID (pid) of the program you want to kill and run:

kill [pid]

If that doesn't work, try:

kill -9 [pid]

-------------

If your system seems to be running slow, you can run 'top' and that will list the running process by order of CPU usage.


----------------

To look at the free storage space of all your mounted file systems, run 'df -h'. You may have to run it with root permissions to see all of the mounts ('sudo df -h').

----------------

If you're using a Debian distribution of Linux you can use apt-get to perform updates. You will have to run these as root on most distros.

Check for available updates:
sudo apt-get update

Upgrade available updates:
sudo apt-get upgrade
Posted by drizztiger
Deal With it!
Member since Mar 2007
37069 posts
Posted on 8/14/14 at 5:37 pm to
quote:

Is that you, Joe Machi?
That was definitely my Joe Machi impression.

And thanks for all the responses.
first pageprev pagePage 1 of 1Next pagelast page
refresh

Back to top
logoFollow TigerDroppings for LSU Football News
Follow us on Twitter, Facebook and Instagram to get the latest updates on LSU Football and Recruiting.

FacebookTwitterInstagram