# CompressionTAR-CZVF ***.tar.gzTAR-CJVF ***.tar.bz2# UnzipTAR-XZVF ***.tar.gzTAR-XJVF ***.tar.bz2 +++++++++++++++++++++++++++++++++++++++++++++Brief introductionParameters:-C: Create a compressed file parameter directive (the meaning of Create);
1.g++ (GCC)-save-temps [filename]Will get linked files, assembly files, executable files at once.2. When this sentence occurs each time, "test.cpp" E212:can ' t open file for writing, stating that the plaintext is not writable, or you do not have
Add Getpid and GETPID-ASM functions to the corresponding test.c to enable the menu to implement Getpid and GETPID-ASM commands.After the add is complete, modify the Qemu-kernel linux-3.18 in the Makefile file in the menu directory . 6/ARCH/X86/BOOT/
Linux network card can be a life temporarily modified, or can be a GUI modification, but our most commonly used is to edit the configuration file to make it permanent, so that we do not need to be like a temporary modification of every boot to reset
1. Use the SHA algorithm to encrypt the date and output the first 32 characters of the result: Convert current time to SHA algorithmThe resulting results are as follows:1. Ztnimgm0ndi5ogzjmwmxndlhzmjmngm42. Use the inline/dev/urandom and filter
The Linux directory is similar to a tree, and the top level is its root directory, such as:/bin Binary executable command /dev device special files /etc system administration and configuration Files /etc/rc.d startup configuration files
1. View the capacity of a disk or directoryDF View Disk partition usageDf-i-h-mDu view the amount of space a directory or file occupiesDU-A/tmp: Train full file and directory sizeDu-c: Final Summary2. Partitioning and formatting of disksFdisk-l
CTRL + C Cancel commandCTRL + Z Pause commandCTRL + a cursor to the beginningCtrl+e cursor to end of lineCtrl+u Delete all characters before the cursorCtrl+k Delete all characters after cursorCtrl+l Clear ScreenCtrl+d Exit login equals exitCtrl+s
1 I want to turn off the machine immediately!$shutdown-H now2 I want to restart now$shutdown-R Now3 I want to shut down on time 23:30 minutes.$shutdown-H 23:304 I want to shut down in 15 minutes.$shutdown-H +155 Summary, you can see, if you want to
One of the Linux (CentOs6.6) System Study Notes series, centos6.6 Study Notes
Since all the applications of the new company are deployed on the Linux server, the boss requires us to understand a little knowledge about the Linux system in every
Common linux commands: packaging, copying, and other common linux commands
Backup File
Tar-cf/home/app20140703bak.tar/home/app/uat/test. war
Copy the file to the target folder.Example:Cp-af/app/wasapp/appname_uat.ear/appname.
Ls command: Ten interview-level questions-Episode 2
As xiaobian has been a little busy recently and has not had time to knock on it very quickly, now let's take a look at the second article about listing ls commands. If you have forgotten what you
CentOS learning route guide
I am a non-specialist and will be dedicated to linux. Starting today, I will record my journey into the linux World. My college major is machinery. I am from the countryside. My vision of Mechanical Engineering stems from
What components does linux have?
A saying goes: the general system consists of the core, shell (command interpreter), and application linux. The core of linux (2.6.9.18), shell (/bin/bash ), applications (Xwindow) or linux kernels are mainly
Common linux commands: packaging, copying, and so onBackup File
Tar-cf/home/app20140703bak.tar/home/app/uat/test. war
Copy the file to the target folder.Example:Cp-af/app/wasapp/appname_uat.ear/appname.
Git configuration, git
1. Set an alias for the git sub-command
Edit $ HOME/. gitconfig
[User] name = xxx email = xxx [alias] co = checkout ci = commit st = status br = branch
2. The tab key automatically pops up the git sub-command
Find the git-
Centos command to permanently delete folders and files
Centos commands for thoroughly deleting folders and files (commands for creating, deleting, moving, and copying centos:
1. Create a folder
Mkdir file name
Create a folder named test under
Clear history in CentOSIn/etc/profile, change HISTSIZE = 1000 to 0 or 1 and run rm-rf. bash_history to clear historyhistory-c.Do not write the command name into the history file during command execution,Put it into the buffer and write it again when
RHEL6.5 replace local YUM Source
Introduction: Because RHEL's yum online update is charged, it cannot be used without registration, that is, it cannot install software online. In this case, do you want to use the RHEL system and yum source to
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