Linux-system-based operations

Source: Internet
Author: User

Wall # Send messages to other users Whereis LS # Find a directory of commands which # view when                         The path of the command to be executed before clear # clears the entire screen reset # reinitialize screen cal # Show Calendar Echo-N123456|md5sum # MD5 encryption MKPASSWD # randomly generated password-l digit-C size-C lowercase-D number-s special character Netstat-ANLP |grep Port # Whether to open a port ntpdate stdtime.gov.hk # Sync Time tzselect # Select time Zone #+8=(5 9 1 1) # (tz='Asia/shanghai'; Export TZ) write/etc/in parentheses Profile/sbin/hwclock-W # Save to hardware/etc/Shadow # Account Shadow file LANG=en # Modify the language vim/ETC/SYSCONFIG/I18N # Modify the encoding lang="en_US. UTF-8"Export Lc_all=C # force character Set VI/etc/hosts # query static host name alias # alias watch uptime # Monitor command dynamic refresh IPCS 
    -A # View the maximum value of the current single shared memory segment of the Linux system lsof|grep/lib # View load library file ldconfig # dynamic link Library Management command dist-Upgrade # will change the configuration file, change the old dependencies, change the system version/boot/grub/grub.conf # GRUB Boot item configuration PS-MFL <PID># View the number of thread threads started by the specified process is limited by MAX user Processes Sysctl-A # View all current system kernel parameters sysctl-P # Modify kernel parameter/etc/sysctl.conf, let/etc/rc.d/Rc.sysinit Read effective strace uptime2>&1|grep Open # View the related files opened by the command grep hugepagesize/proc/Meminfo # Memory Paging size MKPASSWD-L8-C2-C2-D4-S0# Randomly generate the specified type password echo1>/proc/sys/net/ipv4/tcp_syncookies # Make TCP SYN Cookie protection Effective #"SYN Attack"is a denial of service attack mode grep Swap/proc/25151/smaps |awk'{A+=$2}end{print A}'# Query the swap size used by a PID

Linux-system-based operations

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.