[ kill process in linux ]

How do I kill process in Linux.

::kill command::

1. Use this command.

# ps -ef | grep -i <your-target-process>

OR

# ps aux | grep <your-target-process>

e.g: # ps -ef | grep -i jboss

2. Then, choose your target Process ID

# kill 9821

OR

# kill -9 9821

note: -9 is special Kill signal, which kill the process

3. Done

::killall command::

1. Use this command.

# killall -9 <your-target-process>

e.g: # killall -9 firefox

[ sendmail ]

Send email in linux. Just follow this commands:

1. # mail <recipient’s email>

e.g: abc@abc.com

2. # Subject: <your-subject-here>

3. <your-content-here>.

note: make sure finish the content with dot <.>

4. <CC>

Done

[ netsend on linux ]

Just follow this command:

# smbclient -M <your-host> <your-message>

[ check SAMBA version ]

How to check SAMBA version.

# smbd -V

[ burn ISO file ]

How to burn ISO files.

1. Download ISO file

2. Right click on the file and choose Write to Disc

3. Click Write to execute the process

4. Done

[ mysql: manually delete ]

For Linux based, follow these steps:

1. GOTO: /var/run/mysqld
2. find your database name
3. right click and delete
4. done

[ mysql: create user ]

Use this commands:

  1. create user <your_user_name>;
  2. grant all privileges on <your_db_name>.* to ‘<your_user_name>‘@’localhost’ identified by ‘<your_password>‘ with grant option;
  3. flush privileges;

Note: grant all privileges on *.* blabla.. (for all access)

[ mysql-sedut.masuk ]

Please refer instructions below:

1. enter mysql
# mysql -u root -p
2. create database
# create database <your-db-name>;
# use <your-db-name>;
3. exit from mysql
# exit
4. use this command:
# mysql -u root -p <your-db-name> < <your-db-name>;
5. done

[ mysqldump ]

To dump MySQL database:

1. #cd ~/<your-path>
2. use this command:
# mysqldump -u root -p <database-name> > <your-database>.SQL
3. done

[ welcome ]

welcome to empayar orang_letrik…


 

July 2009
M T W T F S S
« Oct    
 12345
6789101112
13141516171819
20212223242526
2728293031