Linux Basic Operations Command
Ls
View all files and folders under the current path
Touch ' file name '
Create an empty file
Mkdir
Create a folder
Pwd
View the absolute path
Summary of several methods of Linux setup for bootLike Windows, Linux can also set some services to boot, which avoids the hassle of opening a service every time you boot up! Linux boot the service is set to boot from a few ways:Ntsysv Graphical
HBase is running on top of Hadoop, so please refer to the 3rd article build good one master, two slave Hadoop environments, I use the version of hadoop2.7.4Students who do not understand hbase can refer to this article for analysis, which is very
Linux File Management Commands (ii)chgrp : The group that is used to change the file or directory.The control of file or directory permissions is managed by the owner and the group to which it belongs. The settings are either group name or group
First, SSH free-secret configurationSSH login with no password to use the public and private keys. Linux can be used to generate a public/private key pair with Ssh-keygen, below I take CentOS as an example.There is machine A (192.168.1.155), B (192.1
I. Hierarchy of Linux file systemsIn a Linux or Unix operating system, all files and directories are organized into an inverted tree structure that starts with the root node,Second, the catalogue1, the definition of the directoryThe directory is the
The load on the Linux system measures the current CPU workloadLoad Average is the average load over a period of time (1 minutes, 5 minutes, 15 minutes).[Email protected] ~]# w20:01:55 up days, 8:20, 6 users, load average:1.30, 1.48, 1.69The meaning
Command format: watch[parameter [command]The output of the command can be output to a standard output device, which is used for periodic execution of commands/timed execution commandsCommand parameters:-N or--interval watch defaults to run the
The zero-based Linux eighth chapterCall ~ ~ is a good day ~ ~ from the last small update to the present, has been spicy for a long time ~ is not a little Miss small part ~ ~ Do not miss the small part to go crazy Oh ~ ~650) this.width=650; "src="
1, Inotify+rsync real-time synchronization1. IntroductionInotify-tools is a powerful, granular, asynchronous file system event monitoring mechanism that can be used to monitor file system events. Inotify-tools is written in C, except that it
Show Current time:Command: [Email protected]:~$ date Thu 03:01:17 PDT [email protected]:~$ date ' +%x ' 08/31/201 7 Display date and set time:Command: Date--date 08:42:00The date-d parameter uses:date-d "Nov 22" This year's November 22 is
BZ creates a block cloud drive to add to the virtual machine, and then mounts the hard drive as usual on the USB drive:Mount-t ext4/dev/vdb/mnt/xxxxThe results reported the following error:Mount:wrong fs type, bad option, bad Superblock
1. Command format:Head [parameters] ... [File] ...2. Command function:The head is used to display the beginning of the file to the standard output, and the default head command prints the first 10 lines of its corresponding file.3. Command
Portal: https://www.shiyanlou.com/courses/runningChallenge: Finding FilesLab Environment:User name: ShiyanlouPassword: 76036575Find a File IntroductionThere is a very important file (sources.list) but you forget where it is, you vaguely remember it
Common commands:1. View catalog: LSLS-A contains hidden directoriesLs-l Show details,-start with file D as directoryBlue for CatalogGreen as an executable fileBlack (white): Normal file2. See Help:Man command nameQ exit3. Look at the current
Methods of compiling multi-source filesIf you have more than one source file, there are basically two ways to compile it:[Suppose there are two source files for test1.c and test2.c]1. Compiling multiple files togetherUsage:GCC test1.c test2.c-o
Linux dns is hijacked, and linuxdns is hijacked
Environment: ubuntu16.04
We have encountered dns hijacking today. Here we record it:
1. First, how to determine whether a hijacking occurs:
Query a domain name that does not exist.
Nslookup notexit.
Hard Disk Partition mounting and unmount, hard disk partition mounting canceledI. Mount
1) fdisk-l | grep sd view partition information
Or fdisk-l
2) mkdir-p/data/disk1 create a data storage directory
Mkdir-p/data/disk2
Mkdir-p/data/disk3
......
3)
Linux disk management-(3) mount mounting,/etc/fstab configuration file, mountfstab
After partitioning and formatting the file system, the final mount is reached. After mounting, the disk device can be used.
1. What is mounting and unmounting?
No
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