Lowercase files and directories

Using convmv

A simple and reliable way to rename files and/or directories to lowercase is using convmv.
To lowercase a file or directory use:

convmv --notest --lower SomeFileName

One can also use -r to make conversion recursive. When files which have to be converted have non-ASCII characters, it's required to enter the used charset of the filenames. Without knowledge of the used charset it would be impossible to reliably lowercase:

convmv --notest --lower -f utf-8 File_Ähh_with_Ümlauts

Using renamexm

Phpsqliteadmin - administation for SQLite databases

An application to provide web based management and administration for SQLite databases. Much in the same vain as phpMyAdmin of course. Provides functionality to view data, add/drop tables, views and indexes, export data, add/delete rows, query the database.

http://www.phpsqliteadmin.com/

Add Sudo to Your Last Bash Command With "!!"

Once you foget to type sudo befire the command,you can just type

sudo !!

This !! will expand to "sudo + your last command"

You can also ctrl+a(or home key) to move to the front of command,then type "sudo "

Sync your Firefox extensions to any computer

* 1. Getting started with FolderShare
* 2. Set up your Firefox profile folders for syncing
* 3. Create new profiles and set up your remaining computers
* 4. Complete your setup and get synced

Stuffs about ubuntu theme

Linux on Desktop: 13 Things to do immediately after installing Ubuntu

Step 1 : - Enabling Additional Repositories

Now many applications need additional repositories to be installed or some to be enabled in Synaptic package manager so before trying out steps given below ensure that repositories in order.

Great Business Card

Improving DNS Lookups

This tip shows you how to improve DNS lookups by using multiple
nameservers. This is useful if you've ever had your primary DNS server
become unreachable for any reason.

Nameservers are listed in /etc/resolv.conf, one per line.

Code Listing 1: Example /etc/resolv.conf

nameserver 192.168.1.1 
nameserver 10.0.0.1

To
improve DNS lookups, add multiple DNS servers (preferably on different
subnets) and the following options to /etc/resolv.conf:

Code Listing 2: /etc/resolv.conf options

Using watch to repeat comands

For example, if you're copying an ISO image that's about 650MB and you want to see if it's done, you could use a command similar to this one:

Code Listing 1

% watch ls -lh filename.iso

When the size stops increasing and it's around 650MB, you know the file copy operation has finished.

linux shell - Tips for 'ls'

This tip demonstrates some useful variations of one of the most common commands in a linux system: ls.

Use '-s' to print the file size and '-S' to sort by file size.

Code Listing 1: Listing file by size

// add -r to print in reverse 
# ls -sSh

Use '-t' and '--time-style=long-iso' to print files sorted by modification time in a standard output format.

Code Listing 2: Listing files by date

# ls -lgot --time-style=long-iso

Use '--sort=extension' to sort files by their extension (to see perl scripts, shell scripts, etc. listed in a group).

Syndicate content