Welcome to my blog, hope you enjoy reading

Friday, 9 November 2012

Ubuntu commands

for giving permisions

>chmod -R 777 filename/foldername

for know the processes of any application

>ps aux|grep eclipse             for eclipse

for kill the processes

>kill -9 processnumber

For see the tomcat log changes in console

>tail -f catalina.out

recursively delete some folder in subfolders also

Try to recursively delete all .svn folders from your project's root folder. For example, on a Linux machine, you should issue the following command in the project's root folder:

rm -rf `find . -type d -name .svn`

sudo apt-get install tomcat7

How to download file in ubuntu using terminal

Open terminal and type

  • wget "http://domain.com/directory/4?action=AttachFile&do=view&target=file.tgz" 

to download the file to the current directory.

  • wget  -O /home/omio/Desktop/ "http://thecanadiantestbox.x10.mx/CC.zip"

will download the file to /home/omio/Desktop