Posts

Showing posts from April, 2012

how to install scp on linux

[root@centos6 ~]# yum install openssh-clients

Change Database Characters

Change Character set

There are many way to change character set
this way is to change database character set
ALTER DATABASE dbname CHARACTER SET utf8 COLLATE utf8_general_ci; belows sql query shows that what kind of character set mysql has
mysql> show character set;
+x means a+x : all user can execute

$ chmod +x your-script-name
$ chmod 755 your-script-name




Examples:
$ bash bar
$ sh bar
$ ./bar


echo show on monitor


$ vi first
#
# My first shell script
#
clear
echo "Knowledge is Power"

$ ./first