web analytics

Posts Tagged ‘fedora’

Upgrade Fedora 15 to Fedora 16

Written by config on . Posted in Linux

Advertisement

It’s really very easy to upgrade from Fedora 15 to Fedora 16 and this tutorial describes in simple step-by-step procedure on how to upgrade from Fedora 15 to Fedora 16 (both Desktop and Server).

Requirements:

1. Active Internet Connection by any means

2. Super user or Root’s password.

Important Note: If you gain root access using “su” command, ignore the keyword “sudo“ before every command mentioned in the following steps. If you are not gaining Root access and performing the upgrade as normal user use the command as it is mentioned.
“sudo“ works only if the user has been added to perform Administrative privileges at the time of installation or it can be performed manually after installation.

Fedora 15 with GNOME 3 – A glimpse

Written by config on . Posted in Linux, Ubuntu

Fedora project, powered by Red Hat, has released another beast into the wild, Fedora 15, Linux-based operating system.
In previous versions, there have been similarities between the two leading distros- Ubuntu and Fedora. Ubuntu fans are now going to have second thoughts about it. Fedora 15, has got over the leap and now major differences can be pointed out. The brain storm only got worse.
Skipping all regular debate remarks, the discussion can be narrowed down to comparison between GNOME 3 and Unity. Fedora has always been different from the league.

Finding large files on Linux distributions

Written by config on . Posted in Linux

Finding large files on all operating systems is a daily task for systems administrators around the world, it serves a lot of purposes.
I will show multiple ways to do it on various Linux distribution. Simple and makes your life easier.

Pay attention to the size in all examples – change it according to your needs.

RPM Based distributions: Red Hat, Centos, Fedora

Specify path:

find {/path/to/location/} -type f -size +{size-in-kb}k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Example for specific path:

find /home/http/logs -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Current Dir:

find . -type f -size +100000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'

Debian or Debian based ( Ubuntu and various other deb based distros )

Specify path:

find {/path/to/location} -type f -size +{file-size-in-kb}k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

Current Dir:

find . -type f -size +10000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'

Largest files in directory:

ls -lSh | less

du -xakh .|sort -n|tail -10

du -k | sort -n | perl -ne 'if ( /^(\d+)\s+(.*$)/){$l=log($1+.1);$m=int($l/log(1024)); printf                 ("%6.1f\t%s\t%25s  %s\n",($1/(2**(10*$m))),(("K","M","G","T","P")[$m]),"*"x (1.5*$l),$2);}'

find . -type f -print0 | xargs -0 ls -lSh | head -10