background preloader

Learn the Linux command line. Write shell scripts.

Learn the Linux command line. Write shell scripts.
Related:  GNU Linuxlinux

Install Compiz On The Unity Desktop On Ubuntu 12.04 (Precise Pangolin Version 1.0 Author: Christian Schmalfeld <c [dot] schmalfeld [at] projektfarm [dot] de> Last edited 06/07/2012 This tutorial shows how you can configure Compiz on an Ubuntu Linux 12.04 (Precise Pangolin) Unity desktop (the system must have a 3D-capable graphics card - I'm using an NVIDIA GeForce 8200 here). With Compiz you can use beautiful 3D effects like wobbly windows or a desktop cube on your desktop. Ubuntu (Unity 3D) must be selected as your desktop environment. This document comes without warranty of any kind! I do not issue any guarantee that this will work for you! 1 Preliminary Note And Rescue Methods I have tried this on a desktop computer with an NVIDIA GeForce 8200. When I installed and configured Compiz on my machine I had to deal with several Unity crashes which a new Linux user probably cannot get around without help, therefore I will give you some commands and shortcuts that might spare you overusing your computer's reset button: The command unity --reset reboot ccsm 5 Links

Polysh's homepage Polysh is a tool to aggregate several remote shells into one. It is used to launch an interactive remote shell on many machines at once. It is written in Python and requires Python ≥ 2.4. Here is the transcript of a sample session: $ polysh 'machine-<01-14>' waiting (5/14)> This prompts means we are still waiting for 5 out of 14 remote shells. Now this prompts indicates that our 14 remote shells are ready to accept commands. Perfect time synchronization :-) Ctrl-C, Ctrl-D and Ctrl-Z are sent to the remote shells, so if Ctrl-Z is pressed now: Pressing Ctrl-C will kill all these sleep processes. Control commands start with a : and are not sent to the remote shells but are interpreted by polysh. ready (14)> :help :add Add one or many remote shells. For example, we can log what we are doing with the :set_log command: Commands prefixed with a ! Polysh also has some file transfer abilities.

Unix / Linux Fork Bomb Explained (Discalimer: if you run this command and something goes wrong with your computer's hardware, software or if you lose your work or data, please do not hold me responsible. You have been warned) In case you are a Windows user, we have an article about: Windows Fork Bombs! What is a Fork Bomb Unlike what its pronunciation might suggest, a fork bomb does not throw dining forks at you when it explodes. A fork bomb is something which calls the fork function indefinitely and rapidly, thus exhausting all system resources. How does a fork bomb work? In this case ‘:’ is the name of the bash function (and is interpreted by the shell itself). When a user runs the fork bomb, it defines a function named ‘:’. The definition of the function contains the root of bomb. To launch the bomb, all you need to do is to type (or copy-paste) those seemingly harmless letters in your Linux terminal and hit enter. How to protect against fork bombs

Open CourseWare for Linux Geeks: 50+ Resources The Open CourseWare movement is centered on freedom of information, so it's only natural that Open CourseWare offers education on an open format such as Linux. Whether you're just getting started or are an advanced developer, there's something out there for you to learn. Here, we've highlighted more than 50 of the best Linux courses you can take. Introduction If you know nothing about Linux, take some time to get familiarized with these courses. An Introduction to Linux: Visit this course to get an introductory look at Linux and find out why you might want to run Linux. Use In these courses, you'll learn all out great ways to get the most out of Linux. Free Software for Busy People: In this resource, you'll learn about switching to Open Office and other free Internet tools. Administration Are you a network administrator? Linux Network Administration: In this course, you'll cover all the details you need to know about for Linux network administration. Business Novell Concepts Development

aubio, a library for audio labelling How to install Linux / UNIX *.tar.gz tarball files Q. I’m new to Linux. Over few days I found lots software distributed as .tar.gz file. How do I install tar.gz files under Linux? A. tar.gz also known as tarball, an archive format for electronic data and software. Tarballs are a group of files in one file. # 1: Uncompress tarball To uncompress them, execute the following command(s) depending on the extension: $ tar zxf file.tar.gz $ tar zxf file.tgz $ tar jxf file.tar.bz2 $ tar jxf file.tbz2 Now change directory $ ls $ cd path-to-software/ # 2: Build and install software Generally you need to type 3 commands as follows for building and compiling software: # . Where, . # 3: Read INSTALL / README file Each tarball comes with installation and build instructions.

Il y a presque 6 années, la NASA a migré tous les ordinateurs portables à bord de l'ISS de Windows vers Linux pour plus de stabilité et de fiabilité Il y a presque 6 années, la United Space Alliance, l’entreprise menant des activités spatiales pour le compte de la National Aeronautics and Space Administration (NASA), a entrepris de migrer les ordinateurs au sein de la station spatiale internationale (ISS) vers Linux. L’ISS compte à son bord un bon nombre d’ordinateurs portables utilisés par les astronautes pour mener différentes fonctions et tâches liées à certains aspects de leurs missions. Jusqu’à 2013, la NASA a eu recours à Windows pour faire tourner ces ordinateurs. Mais en cherchant quelque chose de plus “stable et fiable”, l’agence spatiale américaine a choisi de délaisser Windows en faveur de Linux avec l’aide de la Linux Foundation. Pour mener à bien cette transition, plusieurs applications ont dû être portées vers Linux. En clair, les « dizaines d’ordinateurs portables » ont été migrés vers Debian 6. Après cette transition, il est possible qu’actuellement, tous les systèmes à bord de l’ISS tournent sous Linux. Et vous ?

Building an economical OpenVPN server using the Raspberry Pi « Remi Bergsma's blog The Raspberry Pi is a $35 credit-card sized computer, with an ARM-based CPU. It uses very little power (only 3 Watt), so it’s ideal for a server that’s always-on. I was thinking what’d be a nice task for my Raspberry Pi and came up with an OpenVPN server. This enables me to connect to my home from anywhere, for example to access some files or to access the internet from there. Before we start, Let’s have a look what’s on board the Raspberry Pi so you’ve an idea what we talk about: Here’s mine in action: Now, let’s see how we can turn it into a OpenVPN server. After the install finishes, you need to generate keys for the server and the client(s). The ‘easy-rsa’-tool has a file called ‘vars’ that you can edit to set some defaults. Load the vars like this (note the two dots): Then we need to generate keys: The first line makes sure we start from scratch. We need to copy the keys to the OpenVPN folder. Last step is to configure the server. When you’re done, start OpenVPN like this: You’ll see:

Raspberry Connect - Python Packages for the Python programming language To install Raspbian software on a Raspberry Pi Packages are installed using LXterminal. Rate a Raspberry Pi software package from this list Let other users know how well packages work on the Raspberry Pi. Working, Not Working, 1 Like, 1 Dislike, 1 Neutral, 1 View Comments Speed-Slow, Speed-Usable, Speed Good WWW: Please Note: each listing has a www link to a related webpage, the links are supplied by the author. Raspbian Program Versions: Jess(#) = available on the Jessie distribution, Whez(#) available on the Wheezy distribution.

How To Compile & Install TAR GZ & TAR BZ2 Files In Ubuntu Linux This can be a nightmare, but if you stick to the rules it shouldn’t be. If you’ve got a pesky archive that needs installing, the following method will create a package, install said package and provide a nice clean way to remove the software afterwards via your package manager. Command lines at the ready, deep breath please… Tarballs Of Steel A .TAR.GZ/BZ2 file is a compressed tarball (the uncompressed extension being .TAR) which contains the raw source code for your chosen application. Installation requires these files to be compiled, processed and linked in a way that Ubuntu can then execute the program. The tarball format was standardised in 1988 (and again in 2001) and continues to be widely used on both Linux and Windows for the distribution of software. If you’ve not used the Linux command line before there’s no need to worry, the commands are straight-forward and cohesive. Preparing Your System sudo apt-get install build-essential checkinstall /usr/local/src so we’ll stick with that: .

I'm looking forward to chance to learn how to write shell scripts from:

by williamellerbe Sep 24

Related: