Licence
Creative Commons License

This work by Stephane KATTOOR is licensed under a Creative Commons Attribution 3.0 Unported License.
Feeling like tipping ?
If you find this blog useful, you might consider sending a few bitcoins to support it : 1BTtsC3beGJ6ysd8DhrXjdo6jVw5WD9mvY
RSS
 
RSS Feed
Follow me !
Tech@Sakana on Facebook
Search this site

Newsletter

Get latest posts by email (No spam, only posts):

Enter your email address:

Delivered by FeedBurner

Categories
Monthly archives
February 2012
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
272829  

Category: Systems

All systems related posts

Unix 101 : Showing non-printing characters in text files (ex : DOS files) - January 7, 2011 by Stephane Kattoor

A non-printing character is a character which won’t actually get directly printed (or displayed) but rather interpreted. Such non-printing characters are for example line-feed or tabulation. The interpretation of those characters can differ from one system to the next. For example the line-feed character is different on Unix or DOS.

If you need an easy way to confirm that a text file is DOS or UNIX formatted (they differ with respect to the end of line character(s) for example) or if you wish to display normally non-printing characters of a text file, you can use the -vET command line switches of the cat utility.

As explained in the man page :

  • -v : will use the ^ and M- notation for control and multibytes characters
  • -E : will make ends of lines visible
  • -T : will make tabulations visible

For example : read this entry »

Unix 101 : Filesystem basics & Special files - December 8, 2010 by Stephane Kattoor

This post is meant to clarify a few key concepts about Unix filesystems such as directory permissions, hardlinks and symlinks.

read this entry »

Linux + Xorg : Remapping caps lock key to escape - November 12, 2010 by Stephane Kattoor

In this post I’ll revisit the classical “how to remap caps lock into something useful” once again. In this post, I’ll show how to remap the caps lock key to have an extra Escape key, which is very useful for all VI/Vim users.

read this entry »

Bash / zsh : Using the history expansion - March 28, 2010 by Stephane Kattoor

One of the features of bash I’ve too long overlooked is its history expansion. In this post I’ll show a few examples to get a grip at it.
read this entry »

AIX : Use sar to check cpu usage - January 30, 2010 by Stephane Kattoor

If you’re looking for CPU usage statistics and system performance on IBM AIX, sar might just be the tool your looking for. It’ll display information for 5 minutes intervals from midnight to current time. The output looks like this :
read this entry »

Linux / Unix : Disk usage and identifying biggest files - January 17, 2010 by Stephane Kattoor

When working as a systems administrator, you’ll always end up having to solve a file system full error in a hurry. Here are a few commands and hints to help you get out of it quickly on a UNIX like system.
read this entry »

Gentoo Linux / Portage : How to know which package provided an installed file - December 3, 2009 by Stephane Kattoor

If there’s a file installed on your disk for which you’d like to know what package provided it, you can use the equery command like below :
read this entry »

VirtualBox : Cloning a virtual hard disk - November 18, 2009 by Stephane Kattoor

If you’ve got a VirtualBox VM already installed and you wish to clone/copy it, follow the steps below :
read this entry »

OpenSolaris : Exporting a ZFS filesystem with CIFS - November 11, 2009 by Stephane Kattoor

If you need to export ZFS volumes through CIFS, follow this simple step by step procedure.
read this entry »

OpenSolaris : Switching to the /dev development branch - November 8, 2009 by Stephane Kattoor

In OpenSolaris, switching to the /dev development branch is a bit like switching to the testing branch for some linux distros. So you might want to think twice before doing so, as it might sometimes break things.

If you still want to do that, follow those instructions :
read this entry »

« old entrys
Who am I ?
Ads