The TR command can perform character conversion, character deletion, and repetitive character compression on content from standard input, often called a conversion command, with the following format:TR [option] Set1 Set2, which maps input characters
1. See which environment variables are currently availableDirect Input Command: env2. Setting User Environment variablesInput command: Vim ~/.bash_profile, open the file, enter the following content:Example (setting MAVEN environment
Search for all running threadsps-a | grep apt-GetYou will get output similar to the following:Root752 0.0 0.0 4508 1628? Ss on: - 0:xx/bin/sh/usr/lib/apt/apt.systemd.daily_apt2098 0.1 0.1 49572 5524? S on: - 0:
Reproduced in this blog Spirit Leap Cloud: the original link.1. Write in front The Linux operating system consists of four parts: (1) Kernel: The kernel is the core of an operating system. It is responsible for providing the operating
first, go to the bin directory under Tomcat
Cd/usr/local/tomcat/bin
using the tomcat Close command
./shutdown.sh
to see if Tomcat is shutting down
Ps-ef|grep Java
if the following similar information is
The NFS (Network File system), which is one of the file systems supported by FreeBSD, allows computers in the network to share resources across TCP/IP networks. In an NFS application, a local NFS client application can transparently read and write
Installing Epel on CentOSTo install Epel, we will first download the Epel RPM installation package.6.x and 5.x versions of the download page below Centos/rhelhttp://download.fedoraproject.org/pub/epel/6/i386/repoview/epel-release.htmlhttp://download.
1. First, we need to know what data needs to be backed up.Typically includes database and Web site data, in this case the database is in the/var/lib/mysql/directory, and the Web site is in the/www/users/directory.2. Determine where the data needs to
1. JDK InstallationNote:rpm and software-related commands are equivalent to software Assistant management software under WindowsSteps:1) See If the current Linux system has Java installedInput Rpm-qa | grep java2) Uninstall two x OpenJDKEnter rpm-e--
Basic terminology for LVMAs mentioned earlier, LVM is a logical layer that is added between the disk partition and the file system to mask the underlying disk partition layout for the file system, providing an abstract disk volume, and creating a
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
LinuxRemote Connection Introduction and related configuration1, the root cause of using remote connectionsIn the enterprise reality work, we can not configure a single monitor per server, it is impossible to always be next to the server, but the
Brief introductionYou can use the PS command. It can display information about the current running process, including the PID of the process. Both Linux and UNIX support the PS command, which displays information about all running processes. The PS
1. View Disk Allocations: Fdisk-lDiscovery Disk/dev/sdb2. Then use the FDISK command to create the partition: Fdisk/dev/sdbNew Partition NSave Partition W3. View partitionsDiscover new Equipment/DEV/SDB14. Format the partition and set up the file
Linux file systemThis document system, divided into 3 parts of the description:
partition, format, mount the hard disk
File storage structure, including two cases where the hard disk is full
Links, including soft and hard links to files
1. Output your most used 10 commandsHistory|awk ' {print $} ' |awk ' BEGIN {fs= ' | '} {print "} ' |sort|uniq-c|sort-rn|head-10
tail -f /path/to/file.log | sed ‘/^Finished: SUCCESS$/ q‘Exit tail when Finished:success appears in File.log, this
Install Python3 on Linux while retaining python2? This is going to use the path variable mentioned in the previous article.Specific introduction and operationHere i download the python3.6 version to introduceThe Django default database is Sqlite3,
Running Linux on WindowsHaving known about some of the Windows subsystems for Linux and recently heard about it, I installed an Ubuntu on my Windows 10 Pro Edition. It's really handy to run, and you don't need to install desktop virtualization apps
Linux and linuxSeven startup modes of Linux boot sequence init
#0-halt (Do NOT set initdefault to this) stop and shut down#1-Single user mode, No Password Logon, root permission#2-Multiuser, without NFS (The same as 3, if you do not have
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