It is usually used when converting users.suUser's way. ButsuThe mode needs to know the user password to switch. Andsu RootToRooAccount,RootThe account has full permissions. To preventRootThe account did wrong, so there wassudo's command.sudoName
Use Login to viewW View the user's login information 1 minutes 5 minutes 15 minutes ago Average loadTty1 with table native terminalpts/0 with table remote terminalUser: Username for loginTTY: Login TerminalFrom: Which IP address to log in from[Email
Linux view the size of a folder by command:du 1 -lh The full path to the folderexample, query the size of the/var folder:du 1 -lh/ varDu recursively queries the size of all files under the path (if no parameters are present, all files within the
Installation EnvironmentLinux (Ubuntu Edition)JDK InstallationTar.gz is the version that can be used after decompression, here I will use jdk-8u65-linux-x64.tar.gz version, install to/usr/java/Step OneMove the file jdk-8u65-linux-x64.gz to/usr/java/,
Common directivesLS Display file or directory-l list File details L (list)-a lists all files and directories under the current directory, including Hidden A (all)mkdir Creating a Directory-P Create directory, if no parent directory, create p (parent)
To copy a file or directory command:To copy a file:(1) Copy Local files to remoteSCP filename User name @ computer IP or computer name: remote pathLocal 192.168.1.8 Clientscp/root/install.* [email protected]:/USR/LOCAL/SRC(2) Copy files back to
configuration file and execution order:1>/etc/profile, System level, will call/ETC/BASH.BASHRC2>/etc/enviroment, System level, setting system-level environment variables3> ~/.profile, user-level4> ~/.BASHRC, User level5> ~/.bash_profile or
1. Basic ConfigurationWorker_processes auto|3; Specifies the number of cores to use, the default auto, or the typical self-core number-1, which can be lscpu to viewEvents {Worker_connections 1024; Maximum concurrent connections, maximum concurrent
As long as you are familiar with Linux, know how to change the password, but it is not safe, because everyone can modify, how to protect them? There is a way to set the password at the time, set a password to protect it, not it?One: First, go to the
After two of the process we know that other people can effectively block when they are not able to enter the system, but what if someone can get into the system and look at/ETC/GRUB.COF? This involves a MD5 encryption, which is in principle
frequently used commands:#View Port usageNetstat-tunlp|grep 22#View Java ProcessesPs-ef|grep java#compression front-end engineeringRAR a-ep1./update/win32.zip./packages/**/win32/*#Find all files and folders with wineFind/-name *wine*#files that
First, add some methods of the Find command:The 13th question is to replace all files containing Oldboy in the/oldboy directory and its subdirectories with the file with the extension. SH, replacing all the strings with OldgirlAnswer:Method 1:find +
ACTIVEMQ Number of servers: 3 (3 copies)Activemq-a (consumer), Activemq-b (producer, consumer), Activemq-c (producer, consumer)Modifying a configuration fileModify the files in the Activemq-a (port number 8161 and 61616, this is the default), modify
1, PWDCD function : Displays the absolute path of the current working directory2. cd function : Switch to the established directory format : cd destination directory Example : Cd/root Remark :CD (or CD ~) to quickly switch to the current user's
Configure the RouterIn the process of learning Linux , the network configuration is necessary, how to Configure the routing network on the Linux system, so as to ensure that not the same network between the two hosts can communicate. First, network
Recently, a war package developed under Windows was deployed to the Tomcat times under Linux with an error: Tomcat error in opening zip file. Supposedly, if normal, when the war package is copied to the WebApps directory, it will be automatically
SecureCRT or XShell software, securecrtxshell
SecureCRTIt is a terminal simulation program that supports SSH (SSH1 and SSH2). It is simply a software used to log on to UNIX or Linux server hosts in Windows.
Xshell is a powerful security terminal
Crontab command for scheduled tasks and crontab command for tasks1. Introduction crontab is used to set the command to be periodically executed. In Linux, Linux transfer is divided into two categories: 1. system execution: The work to be
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