Must be! Linux systems configure aliases for commands

What is an aliasIn the process of managing and maintaining a Linux system, a large number of commands will be used, and some long commands or usages are often used, and it is undesirable to repeatedly and frequently enter a very long command or

Linux system's/etc directory

Important files in/etc directory/etc/sysconfig/network the network configuration information on the specified server/etc/rc.d/init.d/network the network configuration script information Network configuration script, Power on the script file

linux-centos7.x Initial

/boot directory, which is the startup directory, which is the startup file (the directory can not be put things)/dev Device File save directory/etc configuration File Save DirectoryHome directory for normal users/lib System Library Save

Linux Remote Connection

A remote connection is a remote connection to another computer. When a computer opens the Remote Desktop Connection function, we can control this computer at the other end of the network, through the Remote Desktop function we can operate the

Linux Learning-User enhancement and deletion check related operations

Useradd Add/create UserUserdel-r Deleting a userID Shizhengwen View User (Shizhengwen is user name)usermod-d Modify the user's profile in the home directory, after the modification also need to copy the original home directory of the configuration

Install RZ and SZ commands on Linux

Brief introductionLRZSZ Official entrance: http://freecode.com/projects/lrzsz/Lrzsz is a UNIX communication suite that provides the X, Y, and Zmodem file transfer protocolsWindows needs to upload files to the CentOS server to execute commands

Linux Disk Management, partitioning, loading

Common physical hard-disk interfaces:The same port: IDE (133MB/S), SCSI (640MB/S)Serial port: SATA3 (6Gbps), SAS (6Gbps), USB (480MB/S)Storage mechanism of mechanical hard disk:The motor drives the disc to rotate, each disc is divided into n

Nmon:linux Performance Monitoring

1 Linux performance monitoring-nmon1.1 Nmon downloadDownload path: http://nmon.sourceforge.net/pmwiki.php?n=Site.Download1.2 InstallationUbuntu:Installation: Apt-get Install NmonExecute: Nmon, enter Nmon interfaceInput C M D N T displays information

Linux new System Common configuration

Configuring the SSHD ServiceTo modify the configuration file/etc/ssh/sshd_config, remove the following two lines of comments:Port #指定sshd服务的监听端口ListenAddress 192.168.44.242

"Linux" is mathematically calculated by passing in variables

A simple sum sumsum of tow numbers## writen by qinys## date:2018-06-26a=1b=2sum=$[$a + $b]echo "$a + $b = $sum"The above is a simple shell script summationA and B are variables, and the above script means assigning a value to a, a, a, two variables,

When Linux compiles dynamic libraries, LIBCRYPTO.A prompts recompile with-fpic

/USR/BIN/LD:/usr/local/ssl/lib/libcrypto.a (X86_64CPUID.O): Relocation r_x86_64_pc32 against ' OPENSSL_cpuid_setup ' Can not is used when making a shared object; Recompile with-fpic# #g + + Compile the dynamic library, using the static

Getting Started with Linux to master 1

1, how to see if a service is turned onService XXX Status #可以看到端口和是否开启2 You can use the $ps command to query a running process;Parameters: The parameters of PS are very many, only a few common parameters are listed here and the meaning-A lists all

Linux Setup FTP

[Email protected] ~]# yum-y install vsftpd [[email protected] ~]# remove-yInstall VSFTPD[[Email protected] ~] #vim/etc/vsftpd/vsftpd.confGo, #Chroot_list_enable=yes# (default follows)Chroot_list_file=/etc/vsftpd/chroot_listAt the end of the

Linux-related commands

1 RPM1 under the Linux operating system, almost all of the software is installed, uninstalled and managed through RPM. RPM is all called Redhat Package Manager software for managing packages under Linux.2Linux installation, in addition to a few core

Linux Configuration IP and cloning

Configuring IP and Cloning1.cd/etc/sysconfig/network-scripts ls VI ifcfg-eth0Vi/etc/sysconfig/network-scripts/ifcfg-eth02.ipaddr=ip 192.168.83.10netmask= Subnet Mask 255.255.255.0gateway= Gateway 192168.83.2dns1= Domain name Interpretation Server 114

Linux removes all generated log files from Tomcat

#!/bin/bash#!/bin/bash#exact All log files#计算log文件个数log_number= ' ls *.log |grep log-c '#当log文件数大于0时遍历删除文件中的文件夹If [$log _number-gt 0];thenlist_log_files=$ (LS *.log)#Traverse to delete filesFor log_file in $list _log_filesDo#delete All log

Linux Basic Learning -6.5-How to modify host names

1. Host name configuration file[Email protected] ~]# cat/etc/sysconfig/networkNetworking=yesHostname=brj2. View Host Name[Email protected] ~]# hostnameBrj3. Temporarily modify host name[Email protected] ~]# hostname oldboy364. Permanently modify the

Linux Common commands

1.xargs combined with find useWhen you delete too many files with RM, you may get an error message:/BIN/RM Argument list too long. Use Xargs to avoid this problem:Find. -type F-name "*.log"-print0 | xargs-0 rm-fThe xargs-0 is used as a

Linux Basic Learning -10.2-wildcard review

1. * EverythingEnd With. txt *.txtEnd With. Log *.logA file in the system that begins with LS.Find/-type f-name "ls*"Locate the file in the system that contains Oldboy.Find/-type f-name "*oldboy*"2. {} Generate Sequenceecho {1..10}echo {10..1}echo {0

"Linux" Configuration java_home environment variables

1. Permanent modification, valid for all users# Vi/etc/profilePress Keyboard [Shift + G] To add the following at the end of the profile file:Export Java_home =/home/myuser/jdk1.7.0_03Export PATH = $JAVA _home/bin: $PATHExport classpath=.: $JAVA

Total Pages: 5467 1 .... 5459 5460 5461 5462 5463 .... 5467 Go to: GO

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.