Linux

TwitterFacebook
Get flash to fully experience Pearltrees
Contents Preface I wrote this book really quickly as a way to bootstrap students for my other books. Many students don't know how to use the basics of the command line interface, and it was getting in the way of their learning. This book is designed to be something they can complete in about a day to a week and then get enough skill at the command line to graduate to other books. This book isn't a book about master wizardry system administration.

The Command Line Crash Course Controlling Your Computer From The Terminal - Vimperator

http://learncodethehardway.org/cli/book/cli-crash-course.html
http://www.codealias.info/technotes/the_tshark_capture_and_filter_example_page This page contains a collection of useful examples for using tshark, the network traffic capture and analysis tool. Network Traffic Capture tshark can be used to dump network traffic into capture files for later processing.

Tshark examples: howto capture and dissect network traffic - Vimperator

lsof

lsof is the Linux/Unix über-tool. I use it most for getting network connection related information from a system, but that's just the beginning for this amazing and little-known application. The tool is aptly called lsof because it " list s open files ". And remember, in Unix just about everything (including a network socket) is a file. usage: [-? http://danielmiessler.com/study/lsof/

Bash Shortcuts For Maximum Productivity

http://www.skorks.com/2009/09/bash-shortcuts-for-maximum-productivity/ It may or may not surprise you to know that the bash shell has a very rich array of convenient shortcuts that can make your life, working with the command line, a whole lot easier. This ability to edit the command line using shortcuts is provided by the GNU Readline library . This library is used by many other *nix application besides bash , so learning some of these shortcuts will not only allow you to zip around bash commands with absurd ease :), but can also make you more proficient in using a variety of other *nix applications that use Readline. I don’t want to get into Readline too deeply so I’ll just mention one more thing. By default Readline uses emacs key bindings, although it can be configured to use the vi editing mode, I however prefer to learn the default behavior of most applications (I find it makes my life easier not having to constantly customize stuff).
http://linuxaria.com/pills/aliaser-alias-linux-bash?lang=en Alias are a great tool to help increment your productivity on the terminal with bash (or any shell program you’re using), but usually we are too lazy to think at what are the most common, or long commands that we use frequently and prepare an alias for them. And so someone has done a small piece of software to do this job: aliaser Aliaser helps you identify frequently typed commands and creates bash aliases for them. Aliaser analyses your bash history and helps you identify commands that you use frequently. Installation This small gem it’s a python program, distributed as a a.tar.gz archive.

Linux and Open source Aliaser take control of your alias on Linux

\"Clone\" a list of installed packages from one Debian/Ubuntu Server to another

commandlinefu.com is the place to record those command-line gems that you return to again and again. Delete that bloated snippets file you've been using and share your personal repository with the world. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down. If you have a new feature suggestion or find a bug, please get in touch via http://commandlinefu.uservoice.com/ http://www.commandlinefu.com/commands/view/8435/clone-a-list-of-installed-packages-from-one-debianubuntu-server-to-another

Find Errors in Your Bash Scripts with Debug Options

http://bashshell.net/debug-scripts/debug-sections-of-a-script/ You do not have to debug the whole script, you can just debug the sections giving you the most difficulties. In this example, “set -x” and “set +x” encompass the section that you want to debug. The output shows how this section is sent to screen while the rest of the script functions normally. #!/bin/bash TIMESTAMP=`date +%Y%m%d_%H%M%S`; echo $TIMESTAMP DIR=/home/daily_$TIMESTAMP; mkdir $DIR set -x for SCRIPT in `find /root/scripts -iname '*.sh' -mtime -1` do if [ -f $SCRIPT ] then cp $SCRIPT $DIR/ set +x echo "$SCRIPT is backed up to $DIR" fi done

10 examples of using find command in UNIX

http://javarevisited.blogspot.com/2011/03/10-find-command-in-unix-examples-basic.html find command is one of the versatile command in UNIX and Linux and I used it a lot in my day to day work. I believe having knowledge of find command in UNIX and understanding of its different usa ge will increase your productivity a lot in UNIX . If your works involve lots of searching stuff on Linux machine or if you are a java or C++ programmer and your code resides in UNIX, find command can greatly help you to look for any word inside your source file in the absence of an IDE, It is the alternative way of searching things in UNIX . grep is another Linux command which provides similar functionality like find but in my opinion later is much more powerful than grep in UNIX. I have been sharing my experience on Unix and Linux command and its different options, usage and example and this article is in continuation of my earlier post like How to convert IP address to hostname in Linux .
http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/ I spend a lot of time in a Terminal window at a command line. Up until about a month ago I was using bash for my shell. I decided to try switching to Zsh after hearing a lot of good things about it and I’m very happy with the change. bash : http://en.wikipedia.org/wiki/Bash Zsh : http://www.zsh.org/

My Extravagant Zsh Prompt

I have created a Best Of page with links to the better posts I have written in the blog. This should help people who want to read all of the Software Illustrated posts. I expect to write new posts this next year, covering more internals stuff as well as other programming topics. To everybody who wrote during my hiatus with encouragement and wondering if I was dead, a huge thank you, and no. To folks who asked technical questions, I am sorry I haven’t replied, but between work and play I have had zero time available. Speaking of which, I’ll be in Summit County between Jan 2nd and Feb 20th, riding at Breck, Keystone, ABasin, and Vail.

Gustavo Duarte

http://duartes.org/gustavo/blog/
Embarqué