Shell & Script

TwitterFacebook
Get flash to fully experience Pearltrees
Here is a networking tutorial with what I think are some handy CLI commands to know. Feel free to comment and/or make suggestions. Make sure you know what a command does before issuing it, especially in the security orientated ones. http://ubuntuforums.org/showthread.php?p=5532395

HOWTO Ubuntu Networking - Ubuntu Forums

B.A-BA de la commande « screen » - Le blog de Michauko

J’explique très succintement quelques commandes majeures de cet outil qui permet de « détacher des sessions shell du terminal où vous les avez lancées ». En clair : lorsque vous avez des outils en mode texte sur lesquels vous devez pouvoir revenir à distance et plus tard, vous lancez vos commandes dans un « screen » et lorsque vous fermez votre terminal (session putty distante, locale dans un xterm etc), la session reste stockée quelque part et vous pourrez la reprendre de manière interactive (clavier) plus tard. C’est pratique pour gérer de lourds transferts FTP en mode texte (genre lftp) et surtout – dans mon cas – pour gérer mes serveurs de jeux online http://michauko.org/blog/2007/04/14/ba-ba-de-la-commande-screen/

Top 25 Best Linux Commands

http://blog.urfix.com/25-linux-commands/ Some people use cheat-sheets some create scripts, and some just refer to website for their fix. Here I have posted the 25 top command line snippets. Particularly useful if you’re mounting different drives, using the following command will allow you to see all the filesystems currently mounted on your computer and their respective specs with the added benefit of nice formatting.

gtmess - Console MSN client for Linux and other Unix systems

http://gtmess.sourceforge.net/ fa Welcome to the homepage of the gtmess messenger client; a console MSN Messenger client for Linux and other unix systems (bsd, macos, solaris, irix, etc.) that conform to the POSIX standard. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY ; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE .

[shell] “reverse i-search” – gagner encore plus de temps qu’avec l’autocomplétion | David Dallet's weblog

http://www.daviddallet.com/weblog/posts/2008/06/12/shell-reverse-i-search/ Pour les habitués du shell sous Linux, la touche [TAB] et l’auto-complétion sont probablement très connus. C’est en effet un bon moyen de gagner pas mal de temps lors de votre utilisation de la ligne de commande. Un autre bon tuyau pour gagner du temps est l’utilisation de l’historique des commandes.
Lftp est un client FTP permettant facilement en ligne de commande de faire des transferts de fichiers (par exemple pour mettre à jour votre site Internet modifié localement ou pour faire une sauvegarde sur votre ordinateur). lftp ftp://identifiant:mot_de_passe@site_de_connexion -e "mirror -e -R -x dossier_ignoré -x dossier_ignoré /emplacement_local /emplacement_distant ; quit" Cette commande ne transfère dans l'emplacement distant que les fichiers modifiés dans l'emplacement local et les nouveaux fichiers et efface dans l'emplacement distant les fichiers qui n'existent plus en local.

lftp - Documentation Ubuntu Francophone

http://doc.ubuntu-fr.org/lftp

Site informatique à propos de Linux et les logiciels libres

http://www.linux-pour-lesnuls.com/netcat.php Introduction Netcat, developpe à l'origine pour Unix puis pour Windows plus tard par stake, est un programme bien connu en ligne de commande. Il permet de faire pas mal de choses avec des sockets, c'est-à dire connexions reseau pour simplifier. Plus concretement, il permet d'ouvrir des connexions reseau, que ce soit UDP ou TCP, sans avoir besoin de programmer quoi que ce soit. Tres utile pour realiser des relations client/serveurs pour faire des tests ou autre.

Netcat – a couple of useful examples

One of the Linux command line tools I had initially under-estimated is netcat or just nc . By default, netcat creates a TCP socket either in listening mode (server socket) or a socket that is used in order to connect to a server (client mode). Actually, netcat does not care whether the socket is meant to be a server or a client. All it does is to take the data from stdin and transfer it to the other end across the network. http://www.g-loaded.eu/2006/11/06/netcat-a-couple-of-useful-examples/
[ Project ] [ Download ] [ Contact ] [ SVN ] Netcat 1.10 =========== /\_/\ / 0 0 \ Netcat is a simple Unix utility which reads and writes data ====v==== across network connections, using TCP or UDP protocol. \ W / It is designed to be a reliable "back-end" tool that can | | _ be used directly or easily driven by other programs and / ___ \ / scripts. At the same time, it is a feature-rich network / / \ \ | debugging and exploration tool, since it can create almost (((-----)))-' any kind of connection you would need and has several / interesting built-in capabilities. Netcat, or "nc" as the ( ___ actual program is named, should have been supplied long ago \__.=|___E as another one of those cryptic but standard Unix tools. / In the simplest usage, "nc host port" creates a TCP connection to the given port on the given target host.

Netcat: the TCP/IP swiss army

http://nc110.sourceforge.net/

NetCat tutorial for Linux & Windows, HOWTO, nc | Adam Palmer, Linux, PHP Programmer, MySQL Developer, Website Security Consultant

http://www.adamsinfo.com/netcat-tutorial-for-linux-windows-howto-nc/ Throughout this tutorial, I will be giving examples on Linux systems. The official Netcat homepage makes no reference to Windows systems, however I have successfully built Netcat from source under Cygwin, and you can find a Win32 copy built by ‘@Stake’ from: http://www.atstake.com/research/tools/network_utilities/nc11nt.zip and all examples used below are fully supported under Windows. This will run through and will compile your source, which again should complete simply and successfully.
Friday, November 19, 2010 OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is.

25 Best SSH Commands / Tricks

dotfiles.org | community for sharing dotfiles like .bashrc, .vimrc, and .bash_profile

Please bear with us as we work to restore functionality to dotfiles.org. dotfiles.org is a place to upload, download, and share your dotfiles. We're slowly returning from an over year-long hiatus with more features than ever before.

Freeshells - Jan Prunk

W elcome to the MTV Europe shell project ! Providing FREE and sponsored shell accounts since 2005. Did you ever wanted a shell account to learn about GNU Linux or BSD , and you couldn't find one for FREE ?

Free Shell Accounts - the biggest list on the net :-) - Rankings - All Sites

Free Debian shells. Linux kernel 3.2.2 + all the normal tools. Unlimited diskspace, background processes and bandwidth (100 mbit uplink). HTTP, PHP, CGI, FTP, SSH, compilers for C, C++ (+boost libs) gcc & clang, Fortran, Haskell and google Go. Python 2.6 & 3.1, Perl, R, Ruby 1.8 & 1.9, Tcl, screen, tmux, a subdomain and usermin are standard. Subversion repository, MySQL, CouchDB, VPS, domain hosting and additional software packages are available on request. http://wiki.insomnia247.nl/wiki/Shells for more information.

The Linux Cookbook: Tips and Techniques for Everyday Use - Editing Images

When you take an image file -- such as one containing a digitized photograph or a picture drawn with a graphics program -- and you make changes to it, you are editing an image. This chapter contains recipes for editing and modifying images, including how to convert between image file formats. It also gives an overview of other image applications you might find useful, including the featuresome GIMP image editor. Debian : `imagemagick' WWW : ftp://ftp.wizards.dupont.com/pub/ImageMagick/ Many Linux tools can be used to transform or manipulate images in various ways. One very useful package for both transforming images and converting between image formats is the netpbm suite of utilities (see Scanning Images ).