background preloader

Linux

Facebook Twitter

Linux Knowledge Base and Tutorial. The Linux Cookbook: Tips and Techniques for Everyday Use - Table of Contents. How to choose the best Linux distro for you. At the time of writing, there are three hundred and twenty three distributions being tracked on distrowatch.com. There's one called Ehad. And another is called Estrella Roja. Many include the letter 'X' in their name, and many feature hand-drawn mascots and disparate communities.

Not all are Linux-based, and not all are actively developed, but the overwhelming majority are. This is the world of choice, and it's a world made possible by free and open source software. Choice is the best thing about Linux. The choice is yours We're going to look at the most common usage scenarios and make our own recommendations based on our experience. We've tried each and every one of the distributions listed, and it's a testament to the breadth and the quality of distributions available that we've not had to repeat a single recommendation once. What kind of user are you? Before you embark on a distro adventure, it's worth giving some thought to the kind of Linux user you are. Software not distributions. Linux Newbie Guide: Shortcuts And Commands.

[an error occurred while processing this directive] Linux Shortcuts and Commands: Linux Newbie Administrator Guideby Stan and Peter Klimas This is a practical selection of the commands we use most often. Press <Tab> to see the listing of all available command (on your PATH). On my small home system, it says there are 2595 executables on my PATH. Many of these "commands" can be accessed from your favourite GUI front-end (probably KDE or Gnome) by clicking on the right menu or button.

Legend:<> = single special or function key on the keyboard. Notes for the UNIX Clueless:1. 7.1 Linux essential shortcuts and sanity commands <Ctrl><Alt><F1>Switch to the first text terminal. <Ctrl><Alt><Fn> (n=1..6) Switch to the nth text terminal. ttyPrint the name of the terminal in which you are typing this command. <Ctrl><Alt><F7>Switch to the first GUI terminal (if X-windows is running on this terminal). <Ctrl><Alt><Fn> (n=7..12) Switch to the nth GUI terminal (if a GUI terminal is running on screen n-1). . ..

Welcome to Linux From Scratch! Howto run a script when a USB device is pluged in. Very Simple - The GNU Awk User's Guide. 1.3 Some Simple Examples The following command runs a simple awk program that searches the input file BBS-list for the character string ‘foo’ (a grouping of characters is usually called a string ; the term is based on similar usage in English, such as “a string of pearls,” or “a string of cars in a train”): awk '/foo/ { print $0 }' BBS-list When lines containing ‘foo’ are found, they are printed because ‘print $0’ means print the current line.

You will notice that slashes (‘/’) surround the string ‘foo’ in the awk program. Regular expression , which is covered in more detail later (see Regexp). Here is what this program prints: $ awk '/foo/ { print $0 }' BBS-list -| fooey 555-1234 2400/1200/300 B -| foot 555-6699 1200/300 B -| macfoo 555-6480 1200/300 A -| sabafoo 555-2127 1200/300 C In an awk rule, either the pattern or the action can be omitted, but not both. Many practical awk programs are just a line or two.