Reference URL: https://my.oschina.net/u/1046919/blog/477645
Http://www.cnblogs.com/lidabo/p/3974305.html
Basic Structure:
1, dependent on the CMakeLists.txt file, the project master target one, the main directory can be specified to include subdirectories;
2, in Project CMakeLists.txt, use project to specify the project name, add_subdirectory add subdirectories
3, subdirectory CMakeLists.txt will inherit settings from parent directory CMakeLists.txt
Basic Linux commands-Common Operations, linux -----
Linux/Unix Command Format:Command name [Option] [parameter]Note: The content in [] can be omitted.Example: $ ls$ Ls-l #-l is an optionStart symbol:File Name or folder name. Current folder.. Folder at the upper level~ User main directory (Home Directory)View class:Pwd command:Usage:Path used to display the curren
first, the system directory structureConventional:Bin (binaries) holds binary executable fileSbin (Super User binaries) holds binary executable files, only root can accessetc (etcetera) storage System configuration fileUSR (Unix shared resources) is used to store shared system resourcesHome Store The root directory of user filesRoot Super User DirectoryDev (devices) for storing device filesLib (library) stores the shared libraries and kernel modules n
The Cat (concatenation) command is one of the more commonly used commands in Linux/unix open source systems. We can use the Cat command to create one or more files, view the contents of the file, concatenate the files and output the content to the end device or new files, this article will be an example of the Linux cat commands in some simple ways.The cat (short
10 basic Linux commands that should be remembered by new Linux beginners
Linux has a huge impact on our lives. At least, your Android phone has a Linux kernel. However, starting Linux for the first time will only make you feel uncomfortable. In Linux, you should usually use terminal commands instead of just clicking the starter image (as you do on Windows ). But
2017-10-10linux Basics (6) Basic commandsIn the previous chapter, we mainly introduced some basic Linux command and command line interface format, in Linux, the command is necessary to master some basic commands, in the future shell script, we also use these commands to hand
at the cursor position
R
Replaces characters starting at the cursor position, while changing vim to text input mode
.
Repeat the last modification
The cursor moves the key, and the command mode controls the cursor movement.
Key
Function
h or [←]
Move the cursor to the left one
J or [↓]
Move the cursor down one line
K or [↑]
Move the cursor up one line
with Ubuntu desktop and CENTOS6/7 environments
Linux Knowledge related
Linux thought map finishing
Advanced Learning Resources finishing for Linux beginners
Getting Started with Linux basics
Understanding of the "translated" Linux conceptual architecture
How to start the Linux daemon
Memory mapping of Linux programming
Linux Knowledge points Summary
Share some information (Linux-focused)
10 White hat Hacker-specific Linux operating system
Linux
(hardlink) and soft link (symboliclink), hard link means that a file can have multiple names, The soft-link approach is to produce a special file with the content of the file pointing to the location of another file. Hard links exist in the same file system, while soft links can span different file systems.LN Source Dist is the generation of a link (dist) to the source, and the use of a hard or soft link is determined by the parameter.Whether a hard link or a soft link will not copy the origina
Git is a distributed version Control tool, this article starts with the introduction of Git, focusing on the basic commands and use of git, let you try to use Git at the same time, experience the original version control tool can have so much impact on development, the article is divided into two parts, The first part introduces some of Git's common commands, int
files;-d same as--no-dereference--preserve=links When the copied source file is a symbolic link file, the-D option preserves the symbolic link file as the source file for this time, and does not copy the file that the symbolic link file points to;-p same as--preserve=mode,ownership,timestamps The permission bits, ownership, and timestamp properties in the copied source file are preserved;-A,--archive same as-dr--preserve=all equals-DPR combination;-F,--force: If the destination file is a
of the path and the end of the path):Command DirName (remove the directory name from the path)Note: If you are using a relative path, use the absolute path if you are not on the way.Naming format for files:In the file system, based on the file name reference files, according to the name to access, in the file system, the filename has a series of provisions1. The file name cannot contain a "/" Slash, "/" can represent the root file system, or "/" can also represent the path delimiter.2. The file
Linux has a big impact on our lives. At the very least, your Android phone has a Linux kernel on it. However, starting Linux for the first time will only make you feel uncomfortable. Because on Linux, you should usually use terminal commands instead of just clicking on the launcher image (just like you do on Windows). But don't worry, the 10 basic Linux commands
Memcachedthe basicCommand(installation, uninstallation, startup, configuration related):-Pports to listen on-Lconnected toIPAddress,The default is native-D StartStartmemcachedService-D Restartre-upmemcachedService-D Stop|shutdownClose the runningmemcachedService-D InstallinstallationmemcachedService-D UninstallUninstallmemcachedService-URun as an identity(only in theRooteffective when running)-MMaximum memory usage, UnitMB. Default64MB-M memory is exhausted when an error is returned instead of d
Linux basic commands1. What is the symbolic representation of the absolute path? What is the current directory and top level directory used for? What does the home directory say? What are the commands for switching directories?2. How do I view the current process? How do I exit? How do I view the current path?3. How to clear the screen? How do I exit the current command? How do I sleep? How do I view the cu
index of the week corresponding to D, 1 for Sunday, and 2 for Monday. WEEKDAY (d) returns the working day index for D, 0 for Monday, and 1 for Tuesday. ⑦. Functions for cycle Weeks Week (d) and WeekOfYear (d) WEEK (d) The calculated Date D is the week ordinal of the year. WeekOfYear (d) calculates the week ordinal of a day in a year. ⑧. Functions to get the number of days DayOfYear (d) and DayOfMonth (d) DayOfYear (d) The function returns D is the day ordinal of a year. DayOfMonth (d) The
Article Title: Basic Concepts and Common commands of Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
I accidentally searched for LINUX and found many LINUX concepts and Common comma
Directory Structure of 1.linuxBin: (binaries) storing binary executable filesSbin (Super User binaries) store binary executable fileETC: (etcetera) storage System configuration fileUSR (Unix shared resources) is used to store shared system resourcesHome Store The root directory of user filesRoot Super User DirectoryDev (devices) storage device filesLib (library) stores the shared libraries and kernel modules needed to run the program in the file syste
For more information about linux basic help documentation, see-2014.2.11 --- the first man in common commands: whatis1, man manual search format-input? Key, forward search, such? -H: Searches for rows containing "-h", such as/-k, the "-k" rows will be searched backward, and the corresponding matching items of the previous one will be viewed by N or n (next. 2,
View basi
Vim basic commands
Leave ViZZ: WQ: X Archive before leaving: W archive name into his archive: Q quit (will prompt if the archive is changed): Q! Quit editing and leave: WQ! Force archiving and exit
Leave Vi temporarily:! Temporarily execute the Unix Command: Sh to generate a new shell, CTRL + d go back to the original editing location Ctrl + Z ?? Back to the prev
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.