- My Forums
- Tiger Rant
- LSU Recruiting
- SEC Rant
- Saints Talk
- Pelicans Talk
- More Sports Board
- Fantasy Sports
- Golf Board
- Soccer Board
- O-T Lounge
- Tech Board
- Home/Garden Board
- Outdoor Board
- Health/Fitness Board
- Movie/TV Board
- Book Board
- Music Board
- Political Talk
- Money Talk
- Fark Board
- Gaming Board
- Travel Board
- Food/Drink Board
- Ticket Exchange
- TD Help Board
Customize My Forums- View All Forums
- Show Left Links
- Topic Sort Options
- Trending Topics
- Recent Topics
- Active Topics
Started By
Message
Hey Team, I need some great linux resources to download/bookmark...
Posted on 8/13/14 at 7:52 pm
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.
- 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 on 8/13/14 at 9:16 pm to drizztiger
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.
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 on 8/13/14 at 11:41 pm to drizztiger
quote:
Hey Team
Is that you, Joe Machi?
Posted on 8/14/14 at 8:40 am to drizztiger
Are you trying to learn the inner workings of the OS or do you just want cheat sheets of commands?
Posted on 8/14/14 at 10:25 am to drizztiger
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.
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 on 8/14/14 at 10:57 am to surprisewitness
Posted on 8/14/14 at 5:29 pm to drizztiger
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
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 on 8/14/14 at 5:37 pm to Sho Nuff
quote:That was definitely my Joe Machi impression.
Is that you, Joe Machi?
And thanks for all the responses.
Popular
Back to top
Follow TigerDroppings for LSU Football News