Friday, August 2, 2013

Sưu tập lệnh linh tinh

1.Xem service nào đang sử dụng port
getent services <port>

2.Xem trạng thái tất cả dịch vụ:
service --status-all hay ps -A
3.Xem các gói phần mềm đã cài
yum grouplist
chkconfig --list | grep :on
4.

Related Posts:

  • dos2unix NAME dos2unix - DOS/MAC to UNIX text file format converter SYNOPSYS dos2unix [options] [-c convmode] [-o file ...] [-n infile outfile ...] Options: [-hkqV] [--help] [--keepdate] [--quiet] [--version] DESCRI… Read More
  • SSH Tutorial SSH (Secure Shell) là một giao thức mạng dùng để thiết lập kết nối mạng một cách bảo mật. SSH hoạt động ở lớp trên trong mô hình phân lớp TCP/IP. Các công cụ SSH (như là OpenSSH, …) cung cấp cho người dùng cách thứ… Read More
  • Midnight Commander Midnight Commander is a console file manager and directory browser. It is a friendly system for many tasks in the terminal window, and the quickest way to copy, move or delete multiple files. MC can also do fast ftp and netw… Read More
  • The-Perfect-Apache-Configuration # ---------------------------------------------------------------------- # Apache configuration file # This file is best used in /apache2/httpd.conf, but works (slower) in .htaccess # # I've spent quite a bit of time com… Read More
  • Setup mysql server 1.Add permission to tmp folder.  chown root:root /tmp   107  chmod 1777 /tmp 2.Video guide: 3.Command install sudo yum install mysql-server service mysqld start sudo /usr/bin/mysql_secure_installation Open po… Read More