Wednesday 27 July 2016

how to grant remote access to mysql server ?

Hi All,

To grant remote access of mysql server please use these command

 
 
#) GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password';
 
#) FLUSH PRIVILEGES
 
 
I am using centos 6.7 64 bit OS 

Wednesday 8 June 2016

Thursday 17 March 2016

how-to-check-particluar-string-in-linux-entire-files-and-folder

How to find files having having particular string ?

grep -R "string -to-be-search"  /path

for example i want to search ip string in /etc directory

grep -R "192.168.1.0" /etc

Please have a look at this video

 

Thursday 3 March 2016

check-disk-usage-&-find-maximum-space-occupying-file-in-linux-centos-ubuntu-redhat

disk usage


Hello Everyone in this article we will discuss about disk utilization and file that occupy maximum space .





1) To check disk usage type command (#df -kh

above command defines that 'df ' stands for disk usage report and parameter 'kh' stands for results shown in block size in kb and h stands for Human readable




2) To check maximum space utilization by files in linux . Fiirst you have to navigate the directory and login by root user . After that Type command
#du -sch *

Here `du` signifies that disk usage
parameter  :-    `sch` and  `* ` . Here
`s` stands for separate files and directories  ,
 `c` stands for total .
`h` stands for human readable
`*` include everything sub-files and sub directories space