Monday, February 7, 2011
Tuesday, September 7, 2010
On SELinux :A good introduction from linuxsecurity.com
SELinux or Security Enabled Linux.
Just did attr -l
to find an attribute selinux.
Went on to find about SELinux to get "Hacks from Pax"
Article 1: http://www.linuxsecurity.com/content/view/120567/49/
Article 2: http://www.linuxsecurity.com/content/view/120622/49/
Article 3: http://www.linuxsecurity.com/content/view/120700
Article 4: http://www.linuxsecurity.com/content/view/120837/169/
=============================================
Tip:
To list inode of a file: ls -i OR stat |grep inode
To find file from an inode: find -inum
Just did attr -l
to find an attribute selinux.
Went on to find about SELinux to get "Hacks from Pax"
Article 1: http://www.linuxsecurity.com/content/view/120567/49/
Article 2: http://www.linuxsecurity.com/content/view/120622/49/
Article 3: http://www.linuxsecurity.com/content/view/120700
Article 4: http://www.linuxsecurity.com/content/view/120837/169/
=============================================
Tip:
To list inode of a file: ls -i
To find file from an inode: find -inum
Monday, August 30, 2010
On VIM and Screen.
Vim configurations is a little detail:
http://www.linuxconfig.org/Vim_Tutorial
GNU Screen in Linux where multiple terminals can be bound to one screen. A handy tutorial is:
http://jmcpherson.org/screen.html
VIM Tricks:
1. To Fold Function: After ESC . Go into the function. press 'zfa{'
http://www.linuxconfig.org/Vim_Tutorial
GNU Screen in Linux where multiple terminals can be bound to one screen. A handy tutorial is:
http://jmcpherson.org/screen.html
VIM Tricks:
1. To Fold Function: After ESC . Go into the function. press 'zfa{'
Saturday, July 17, 2010
Wednesday, July 14, 2010
Great Link for broadcom driver issues in fedora
http://forums.fedoraforum.org/showthread.php?t=239922
The above link did not work for PAE kernel. Support from broadcom did the trick...
http://www.broadcom.com/support/802.11/linux_sta.php
The above link did not work for PAE kernel. Support from broadcom did the trick...
http://www.broadcom.com/support/802.11/linux_sta.php
Wednesday, May 12, 2010
Good link to grep usage..
http://www.thegeekstuff.com/2009/03/15-practical-unix-grep-command-examples/
Thursday, November 12, 2009
Checking Disk access time
1. using command:
hdparm -tT /dev/sda
sda being the device you want to check access speed of. The two speeds that appear as output are: 1. The speed of cache access. 2. The actual disk reads speed.
2. In case we need more description on device, fire:
hdparm -I /dev/sda
Investigate hdparm --help for more options on disk eg. the drive geometry (-g)
Subscribe to:
Posts (Atom)