RSS
 

Archive for the ‘Operating System’ Category

Recursively chmod directories or files only

13 Jan

find . -type d -exec chmod 755 {} \;

This will recursively search your directory tree (starting at dir ‘dot’) and chmod 755 all directories only.

Similarly, the following will chmod all files only (and ignore the directories):

find . -type f -exec chmod 644 {} \;

 

 

Counting all files in a directory (and subdirectories)

16 Dec

I found a useful CLI command to count the number of files in my directory.

ls -Ra1 /usr|grep -v /|grep -vx ""|grep -vx "\.*"|wc -l
 
No Comments

Posted in Ubuntu

 

Update EEE PC BIOS

07 Oct

Tu update or flash you bios follow these steps

  1. Get the latest bios for your model from http://support.asus.com/download/download.aspx
  2. Rename the file to 1005P.ROM
  3. Format your USB storage device fat16.
  4. Put 1005P.ROM on the USB storage device.
  5. Shut down the netbook.
  6. Turn the netbook back on.
  7. Hold down alt, and press f2 repeatedly.
  8. The ASUS ezflash utility should come up. Allow it to do its work.
 
No Comments

Posted in HowTo, Ubuntu

 

Ubuntu 10.10 Maverick Meerkat getting ready

15 Sep

The latest version of Ubuntu is getting ready. It is named Maverick Meerkat.


The next version of Ubuntu is coming soon

 
No Comments

Posted in Ubuntu

 

Solving Lenovo Thinkpad X200 audio problem

23 Nov

To solve the Lenovo Thinkpad X200 audio problem, you have to know first that it is equipped of Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03).

Following this steps solved my problem:
1. type in terminal.

gksu gedit /etc/modprobe.d/alsa-base

2.add the following to the end of the file

options snd-hda-intel enable_msi=1

I hope that helps somebody.

 
No Comments

Posted in Ubuntu