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