Monday, October 31, 2011

Install and enable acl in Ubuntu

sudo apt-get install acl



vi /etc/fstab


put a comma after errors=remount -ro
and then write acl


save the file


if acl is enabled


you should see


acl after a comma after errors=remount - ro


then mount and remount the filesystem which needs acl to be turned on


in my case


mount -o remount /


now create a file and use the command setfacl or getfacl



Wednesday, October 19, 2011

Install wine using command line in Ubuntu


sudo add-apt-repository ppa:ubuntu-wine/ppa





Then update APT's package information by running 'sudo apt-get update'. You can now install Wine by typing 'sudo apt-get install wine1.3'.

Source:
http://www.winehq.org/download/ubuntu

Monday, October 3, 2011

A must read book for voice professionals,voice over ip fundamentals 2nd edition


voice over ip fundamentals 2nd edition

I have been in the voice technology field for years,I didn't have any background in voice,for people like me this book is a great introduction,it really made the complex topics quite easy for me.

Friday, September 16, 2011

Some useful commands in linux





ls -F


The -F option is to display a slash after each working directory and an asterix after each executable file


 to create a directory under a directory in one command


mkdir -p


for example


 mkdir -p sourav/sourav2/sourav3 


cd when using without arguement takes you to the home of current working directory


for example


pwd


/home/sourav


mkdir sourav3


cd sourav3


pwd


/home/sourav/sourav3


cd


pwd


/home/sourav


copy a file using relative pathname


pwd 


/home/sourav


mkdir -p sourav3/sourav4


cd sourav3


cat > sourav1.txt


Hello how are you


ctrl+z


cp sourav1.txt ..


ls ..


sourav1.txt will be shown in the home direc


cd ~


cat > sourav2.txt


Hello how are you


ctrl+z


cp sourav2.txt sourav3/sourav4


ls sourav3/sourav4


sourav2.txt will be shown
cp sourav2.txt


to add a new user


$ sudo useradd username -m -s /bin/bash 
$ sudo passwd username 


to login as a different user in terminal


sudo -i -u