sometimes a cigar is just a cigar
Header image

To learn uuid of your device for instance a usb or hdd, you can use sudo blkid /dev/sda output: /dev/sda: UUID=”49eedef1-6331-4147-9bd5-a241ac16517c” TYPE=”ext4“ Linux (ubuntu) reads /etc/fstab file  to determine which deviced will be mount. To mount your devices automaticly when your computer restart add this line to /etc/fstab UUID=49eedef1-6331-4147-9bd5-a241ac16517c /home/onur/Desktop/archive ext4 errors=remount-ro 0       1 This … Read more

To use double monitor in extented mode you can use xrandr tool. To identify your monitor just type xrandr [onur@onur ~]$ xrandr Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192 VGA-0 connected 1280×1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm 1280×1024      60.0*+   75.0 1280×960       60.0 … Read more

To learn what type of your filesytem you can use, df -T Filesystem    Type   1K-blocks      Used Available Use% Mounted on /dev/sda1     ext4   469053936   5271756 439955596   2% /

If your data is important for you, you can prefer format with DD to make restore impossible. Simply to fill all your partions with “0″,  use this: dd if=/dev/zero of=/dev/sda1 bs=1M You can mount your hdd with using a live linux.

under linux you can use mii-tools sudo mii-tool eth2: negotiated 1000baseT-FD flow-control, link ok

/bin/bash^M: bad interpreter: no such file or directory If you are using both windows and linux, because of they are using different charecter for tab, new line etc … , you can get this error. simply use dos2unix filename if not installed sudo apt-get install dos2unix

Company that i worked in gave me a laptop with Windows 7. Actually I don’t like working with laptops because of their keyboard. But this one (hp pavilion dv6) seems OK because its keyboards is really big. After i installed UBUNTU 11.10 shortcut key for “disable touchpad” didn’t worked. It’s big problem because when i’m … Read more

if you have same problem, Open netbeans. Tools – plugin – settings Make sure all update centers checked. From “updates” tab click reload catalog. update all plugins. restart netbeans. I hope this will help  …  

AutoJump

Posted by ALonon in Linux - (0 Comments)

Think that cd command can learn which directory you generally use. And you can go inside them with typing only a few letters of them. This is what autojump do. I always work in my localhost (/home/onur/Desktop/php/myproject). This is not useful and fast ( even if i use tab ) cd /home/onur/Desktop/php/myproject with autojump i … Read more

Problem on http://localhost/phpmyadmin Not Found The requested URL /phpmyadmin was not found on this server. Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.4 with Suhosin-Patch Server at localhost Port 80 Solution sudo vi /etc/apache2/apache2.conf add this somewhere Include /etc/phpmyadmin/apache.conf Then restart apache2 sudo service apache2 restart