Ask To Apps
  • Home
  • WordPress
  • Elasticsearch
  • PHP
  • Linux
  • Website Peformance

Tag : linux-command

Linux Commands : 1

07/04/2013 Article

Create symlink of file

ln -sf <source file path>/<filename> <destination file path>/<filename>

cat <destination file path>/<filename>

Generate ssh key of user

ssh-keygen -t rsa

cat ~/.ssh/id_rsa.pub

Password less auth from both server, add ssh keys of each other into authorized keys

vi ~/.ssh/authorized_keys

Switch user

su - <username>

Kill services

kill -9 <process id>

killall -e <process name>

Check apache and mysql is running or not

ps aux | grep httpd

ps aux | grep mysql

Retrieve file using http, https and ftp

wget <http url>

File count in folder
<code
cd <folder path>

ls | wc -l

Check system version

cat /etc/redhat-release

 

 

Categories: Linux

Tags: Linux Command, Linux Commands

About Author:

Recent Posts

  • Install and configure logstash-forwarder
  • Redirect request on php script through squid proxy
  • Alerting for Elasticsearch : Log watcher in elasticsearch using ES Watcher
  • Detect face from image using python script with OpenCV
  • Change mysql root password on centos
  • Search part of word in elasticsearch using nGram – auto-complete search
  • Connect VPN on centos linux using command line
  • Custom river plugin in elasticsearch
  • Backup elasticsearch with snapshot and restore api
  • PHP code to exact keywords from text.

Tags

apache Apache Lucene cache Distributed Elastic Index Elasticsearch elasticsearch performance Git Clone Git Hub Git Hub Configuration Git Hub Installation grep Import Install MySQL JSON over HTTP Linux Linux Command Linux Commands Linux search local file lsyncd md5sum Multile Domain Multisite MySQL Open Source optimization performance php performance real time search remote file Remote Git Hub remote sync RESTful Scale Schema Free Search Engine Search Index Search keyword static cache Sub Domain sync Very fast Wordpress Wordpress multisite

Copyright Ask To Apps 2021 | Proudly powered by WordPress

facebook twitter google linkedin Email Rss