UNIX tutorials

Ubuntu: How to Mount an iPhone or iPod Touch as an External Drive

Contributed by shamanstears on October 14, 2009 under Linux

If you are an Ubuntu user, your iPhone (or iPod Touch) can be used as an emergency external drive. You can also easily access and download images.This can be accomplished without having to jailbreak your phone (or media player).

Comments
 

Create LACP aggregates in Solaris 10

Contributed by drice39 on June 2, 2009 under Solaris networking

Link Aggregation Control Protocol (LACP) allows multiple network interfaces to work together to increase bandwidth and redundancy. LACP is simlar to IPMP (IP Multipathing) however IPMP is wasteful with IP addresses and can cause problems with ssh remote execution. Whereas LACP only requires one IP address, you need to ensure that your switches support LACP. In this example we are using the IP-hashing method, so ensure that your switch is setup for IP-hashing/Layer 3 hashing.

Comments
 

Create a Linux software RAID array

Contributed by abanks on February 12, 2009 under Linux

This recipe is a spin-off from my blog entry on building an inexpensive storage server, if you want more commentary, see my blog.

Comments
 

Ubuntu – Use the Terminal to Display a Calendar

Contributed by shamanstears on December 14, 2008 under UNIX software

I am always needing to have quick access to a calendar to set deadlines and plan out various tasks. Using Ubuntu’s Terminal, you can quickly pull up a calendar of any month or year (past, present, or future).

Comments
 

Ubuntu 8.10: Easily Install Inside Windows for Dual Booting

Contributed by shamanstears on November 24, 2008 under Linux

Dual booting your machine sounds like a complicated task, but if you want to run both Windows and Ubuntu, it is a piece of cake. In a short amount of time with minimum effort you can be set up to boot into either OS on your computer.

Comments
 

Open vim editor to first occurrence of search term

Contributed by qmchenry on October 2, 2008 under UNIX

I don’t want to admit how long I’ve been using vi as my go-to editor (although if vi had been born then, it would now be old enough to drink and vote). One of the things I love about vi is that you only need to know a few things to use it, but it has so many little tricks that you never seem to run out of new things to try. The ones that make your life easier will stick. I had never seen this one before — it’s a simple command line option for vim that includes a search term. When used, your cursor will be positioned at the first occurrence of the term.

Comments
 

Ubuntu : Enable NTFS read/write options (accessing XP and Vista drives)

Contributed by seamonkey420 on September 22, 2008 under Linux

This recipe explains how to enable NTFS read/write options in Ubuntu and in turn allows one to read/write to any XP or Vista partitions one may have. This will be shown using Terminal to install. Applies to Ubuntu 7.04 and up (Gutsy Gibbon, Feisty Fawn, Hardy Heron)

Comments
 

How to empty or clear the contents of an existing UNIX file

Contributed by qmchenry on August 18, 2008 under UNIX

If you want to empty the contents of a UNIX file, you could delete it and recreate it, but, as is typical of UNIX, there are more elegant alternatives. Here are a couple of ways to dump the innards of a file. If you know of any others, add them to the comments.

Comments