background preloader

Command line tricks for smart geeks

Command line tricks for smart geeks
Everyone knows the answer to the question of life, the universe and everything is "42", but for the first time we can reveal the question. It is this: how many command-line tricks must a man memorise? You see, graphical user interfaces are all well and good, but when you want to get real work done it's time to switch to the terminal. And so, we squeezed our brain cells, dug through dusty piles of old issues of Linux Format, and sat reflecting quietly over many a pint of ale, all with the goal of bringing you this: 42 awesome new command line tricks we think you ought to commit to memory. So, strap yourself in and get ready for command-line heaven: it's time to kick ass and chew bubble gum, and we're all out of gum... (PS: if you're looking for general Linux tips, check out our previous two articles: Linux tips every geek should know and More Linux tips every geek should know. Make your own Bash wormholes Before we look at how to use it, it's worth going over how we typically see pipes. . . Related:  Linux world

Linux Chegou o Netbeans 8, um dos melhores IDEs para programação O mundo da programação de aplicações está em constante mudança. Se há uns anos atrás uma aplicação nativa era o ideal para correr numa máquina, hoje em dia a vertente Web e os dispositivos móveis mudaram por completo todo o paradigma associado ao desenvolvimento de aplicações. Quando se fala em plataformas para desenvolvimento, o Netbeans da Oracle é sem duvida uma das mais robustas, completas e populares pois dá suporte a um conjunto vasto de tecnologias. Hoje vamos conhecer as novidades do Netbeans 8. Leia a notícia completa » PiPplware – Algumas dicas de utilização (Parte II) Foi no passado dia 10 de Março que o Pplware deu a conhecer o PiPplware, uma distribuição portuguesa para o Raspberry PI. Esta distribuição foi desenvolvida pelo nosso leitor Diogo Santos e tem como principal objectivo a simplicidade de uso, não sendo necessário grandes conhecimentos técnicos de linux para se poder usufruir das suas capacidades.

How To Configure Remote Access To Your Ubuntu Desktop Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com> Last edited 01/23/2008 This guide explains how you can enable a remote desktop on an Ubuntu desktop so that you can access and control it remotely. This makes sense for example if you have customers that are not very tech-savvy. If they have a problem, you can log in to their desktops without the need to drive to their location. I will also show how to access the remote Ubuntu desktop from a Windows XP client and an Ubuntu client. I do not issue any guarantee that this will work for you! 1 Preliminary Note I have tested this on an Ubuntu 7.10 (Gutsy Gibbon) desktop. 2 Enabling The Remote Desktop We don't have to install anything to enable the remote desktop on Ubuntu. (JavaScript must be enabled in your browser to view the large image as an image overlay.) In the Remote Desktop Preferences window, you can configure the remote desktop connection. vncviewer falko-desktop:0 Then there are the security settings. Instead of

All the Best Linux Cheat Sheets Linux Security Quick Reference Guide - An awesome security checklist reference IP Tables - If you are interested in Linux firewalls this is a must have TCPDump - Great cheat sheet to an awesome security tool Wireshark Filters - An awesome list of filters for the best packet sniffing utility IP Access Lists - Cheat sheet for IP Access Lists Common Ports - In case you don’t have all common ports memorized netcat - Reference to the swiss army knife of networking

8 Useful and Interesting Bash Prompts Many people don’t think of their command prompt as a particularly useful thing, or even pay it much attention. To me, this is a bit of a shame, as a useful prompt can change the way you use the command line. Well I’ve scoured the Interwebs looking for the best, most useful, or sometimes most amusing bash prompts. Note – to use any of these prompts, you can copy & paste the “PS1=” line directly into your terminal. 1. This prompt is probably the most amusing one on the list, but remains useful. Example: Code: 2.Change color on bad command Here’s one of my favorites. 3. If you’re the type who wants to pack your prompt full of information, then here’s the one for you. 4. There’s nothing particularly fancy about this prompt, other than the good use of color to separate the different pieces of information. 5. This one’s a nice, clean, minimal 2-line prompt (plus a blank line at the top). Code: 6. Another nifty 2-liner, but this one’s got some info we haven’t used before. 7. 8.

4 Strange And Disturbing Linux Distros You Probably Won’t Be Installing Linux is the operating system of choice for those who decide to go their own way. The open source model means the building blocks are there for you if you decide that you need your very own operating system. This has resulted in more Linux distros than you could ever imagine. I’ll be saving the very worst for last, so prepare yourselves… Ubuntu Satanic Edition The distro of choice for satanists the world over, Ubuntu Satanic Edition is proof that there’s an Ubuntu distro for everyone. If you’d like to try out Satan’s own OS then you’ll have to download a live CD, which the team have predictably dubbed the “undead CD”, though I can’t really see why you’d be doing that. Ubuntu Satanic Edition has received numerous complaints and messages of discouragement. Hannah Montana Linux While most people won’t find Hannah Montana Linux anywhere near as “offensive” as the previous distro, it’s still probably not going to be your OS of choice unless you watch way too much Disney channel. Red Star OS

Handbook of Applied Cryptography Alfred J. Menezes, CRC Press ISBN: 0-8493-8523-7 October 1996, 816 pages Fifth Printing (August 2001) The Handbook was reprinted (5th printing) in August 2001. The publisher made all the various minor changes and updates we submitted. You can identify the 5th printing of the book by looking for "5 6 7 8 9 0" at the bottom of the page that includes the ISBN number.

Cool, but obscure unix tools :: Software architect Kristof Kovacs Just a list of 20 (now 28) tools for the command line. Some are little-known, some are just too useful to miss, some are pure obscure -- I hope you find something useful that you weren't aware of yet! Use your operating system's package manager to install most of them. (Thanks for the tips, everybody!) dstat & sar iostat, vmstat, ifstat and much more in one. slurm Visualizes network interface traffic over time. vim & emacs The real programmers' editors. screen, dtach, tmux, byobu Keep your terminal sessions alive. multitail See your log files in separate windows. tpp Presentation ("PowerPoint") tool for terminal. xargs & parallel Executes tasks from input (even multithread). duplicity & rsyncrypto Encrypting backup tools. nethack & slash'em Still the most complex game on the planet. lftp Does FTPS. ack, ag (silver searcher), pt A better grep for source code. calcurse & remind + wyrd Calendar systems. newsbeuter & rsstail Command line RSS readers. powertop Helps conserve power on Linux. tig A console UI for git. mtr

micha&#039;s resty at master - GitHub

Related: