The difference between/and ~ in Linux directory

/refers to the root directory, which is the topmost directory of all directories. ~ is the current user's home directory: If it is the root user, it is the/root/directory, and if it is another user, it is a directory named/home/under the user name,

Optimization of Linux Systems

1: Turn off SELinux and iptables (in the work scenario, if there is an external IP generally open iptables, high concurrency high traffic generally cannot be turned on)[[email protected] ~]$ grep SELINUX=disabled /etc/sysconfig/selinux

Linux background run-related commands

Screen-s name creates a background named name, or bash panel, where the task running does not exit because the connection is broken, and preserves information on bashSCREEN-LS Lists all the screenScreen-r the corresponding screen number back to the

n32-Marco Linux first week study

1, describe the composition of the computer and its functions.A: The computer consists of the computer, controller, memory, input device and output device five parts of the machine, each part of the requirements to perform specific basic

Linux file operations

sin

SCP copies files between hosts on a network. The same Securityas ssh (1). SCP would ask for passwords or passphrases if they is needed for authentication.File names may contain a, user and host specification to indicate, the file is to be copied

Common shortcut keys for linux command line

Common shortcut keys:Tab: command or path complement keyTo move the cursor shortcut key:CTRL + A: Cursor back to the beginning of commandCtrl+e: Cursor back to command line endCTRL+F: The cursor moves one character to the right (equivalent to the

Linux-samba Service

Temporarily turn off Iptables firewall[Email protected] ~]# Systemctl stop Iptables.serviceTemporarily turn off firewall firewall[Email protected] ~]# Systemctl stop FirewalldTemporarily close SELinux[Email protected] ~]# Setenforce 0Installing the

Linux Hybrid device driver

1. Linux Hybrid device driver model① in Linux systems, there are a class of character devices, which have the same main device number (10), but the second device number is different, we call this device a hybrid device (Miscdevice). All promiscuous

JDK installation in Linux systems

1 "Extract files (z-file format, X-Unzip, V-Show Extract progress information ,f-execution): Tar-zxvf filename 2 rename (not required): MV jdk1.7.0_80 jdk1.73 Set Environment variables:vi/etc/Profile After entering the above command, enter and

Control of Linux processes and services

One: Control of processes and services1. What is a processPrograms that are in progress in the system2. How the graphics process is viewedGnome-system-monitor3. View the commands for a processPS Viewing processA current process-related process

Linux file Search command which, Whereis

Which/usr/bin/whichSearch for the directory and alias information for your commandwhich LSAlias ls= ' ls--color=auto '/usr/bin/lswhich RMAlias rm= ' Rm-i '/usr/bin/rm/bin/rm/tmp/test2 this without asking for confirmation, delete

Linux Common Commands--grep

grep 文本过滤工具Syntax format: grep "Options" "Pattern" "File" grep [parameter] [match pattern] [find file]Attention:1.grep is one of the most important commands in a Linux system, and its function is to filter matching rows and data from a text file or

Linux Kernel---Memory

I. Memory INTRODUCTIONMemory, also known as primary memory, is the storage space that the CPU can directly address, which is made of semiconductor devices. It is a bridge to communicate with the CPU. All programs in the computer run in memory, so

Linux view CPU and memory information

View CPU Information commands# total number of cores = number of physical CPUs X number of cores per physical CPU# Total Logical CPUs = number of physical CPUs x number of cores per physical CPU X number of hyper-threads# View the number of physical

"Linux" tail command

UseThe tail command is primarily used to remove a few lines behindFull NameThe full name of the tail command is tail (tail)Parameters-N: followed by a number, which indicates the meaning of a few lines-F: Loop read-Q: Do not display processing

The difference between single quotes and double quotation marks in Linux

"‘‘``The single quote "is equivalent to the contents of the content directly output." Does not take into account whether there are variable commands, etc.Double quote "" Only variable command will be output directlyAnti-quote ' ' both

The most common and important Linux commands

1. For files or directory classesCd:CatLs:Pwd:lnMv:Cp:VI, VIM:FindMkdir:TouchEchoRm:chmodChownChattrScp:Grep:SortUniqWc:Tr:TarUnzipWhereis:Which:2. Performance Monitoring and optimizationNetstat:FreeDf:DuStraceTimeTop3. File System

Linux Basic Learning-user's creation modification Delete

User Add Modify Delete1 Useradd adding usersAdd a new user hehe, specifying a UID of 3000 and a home directory of/home/haha[[email protected] ~]# useradd -u 3000 -d /home/haha hehehehe:x:3000:3000::/home/haha:/bin/bash[[email protected] ~]# ls /home/

Linux Common Command Memo

Document Viewing and modificationVi/etc/hostsI modify the modeESC Exit Modification: Q Normal exit (File not modified: q! Do not save exit: X/:wq Save ExitCat/etc/hosts Document ViewModify HostVi/etc/hosts Reboot RequiredModify

Mount USB drive to Linux

One. mount a USB drive to Linux, or it can be a linux1 in a virtual machine. First plug the USB stick 2. Fdisk-l find their own USB stick device, and remember the file system type, mainly look at the size of space to judge, such as/DEV/SDC3. Set up

Total Pages: 5467 1 .... 4884 4885 4886 4887 4888 .... 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.