Linux Source how commands and scripts are executedWhen I modify the/etc/profile file, I want it to take effect immediately without having to log in again;Sourcecommands, such as: Source/etc/profileThe source has beenLearning, and compares it with
1. IntroductionLN is another very important command in Linux, its function is to create a file in another location with a non-link, the most common parameter of this command is-s, the specific use is: Ln–s source file Destination file. When we need
Security is always relative, and a safe server can be compromised. As a safe operation and maintenance personnel, to grasp the principle is: as far as possible to do a good job of system security, repair all known dangerous behavior, while the
The HTTP://APPS.HI.BAIDU.COM/SHARE/DETAIL/19572755LS command can be said to be one of the most commonly used commands under Linux.-A lists all files under the directory, including the. The implied file at the beginning.-B lists the characters that
ETSTAT-ANP |grep Port numberRoot User executionNetstat-ntupln indicates that DNS is not queriedT represents the TCP protocolU means UDP protocolP indicates the program occupied by the queryL indicates that the query is listening on the programView
Linux under Memcache server-side installationServer side is mainly installed Memcache server side, the current version is memcached-1.3.0.Download: http://www.danga.com/memcached/dist/memcached-1.2.2.tar.gzIn addition, Memcache used the libevent
Backup Common shortcut keys:Ctrl + D deletes one character, which is equivalent to the usual delete key (the command line is equivalent to exit if none of the characters are the same; EOF is also represented when working with multiple lines of
One[Email protected] etc]# getconf long_bit[Email protected] etc]# getconf word_bit(the int and long types in a 32-bit system are generally 4 bytes, and the int type in the 64-bit system is still 4 bytes, but LONG has become a 8-byte inux "getconf
Etc directory there are two files under one passwd a grouppasswd GID is the primary group, the other groups are extension groups, and the extension groups are described in/etc/group.Useradd username if not specified, a GID with the same UID is
1. When the VirtualBox and expansion packs are installed, the system will automatically generate Vboxusers user groups, add their own usernames to the Bvoxusers group, or you will not be able to use VBox.sudo usermod-g vboxusers your_user_name2.
First, the variable name1, can only contain letters, numbers and underscores, and cannot start with a number,2. Should not be the same as the existing environment variables in the system3, the name to have the meaningIi. Assigning values to
SSH configurationHost a:10.0.5.199Host b:10.0.5.198Need to configure host a without password logon host A, Host BFirst make sure that all hosts ' firewalls are turned off.On host A, perform the following:1. $CD ~/.ssh2. $ssh-keygen-t RSA ------------
First, the basic concept:1, agreement protocol: agreed to send and receive the data format understood by both parties.2. Layering: Decompose complex tasks into simple tasks.3, Mac:media access controls media access control.Second, the network type:1,
Mtime:modification timeWhen the "content data" of this file is changed, update the time! "Content data" means the contents of an archive, not attributes or permissionsExample: View Man.config's mtime, found to be 2006-07-13[Email protected] ~]# ls-l/
Linux Common Commands--directory and file operations[Directory] Delete, copy, move:1. Delete folder by: RmDir folder nameHowever, RmDir cannot delete a non-empty folder, then how to delete a non-empty folder:2. Typically, delete files by: RM file
Usage of sed in linux (addition and deletion of row data), linuxsed
Sed syntax[Root @ fwq test] # sed -- helpUsage: sed [Option]... {script (if no other script exists)} [input file]...
-N, -- quiet, -- silent cancel Automatic print mode space-E
Gentoo: startx Failed to load module troubleshooting
After Gentoo has installed xorg-server, startx starts the desktop environment and the module error is missing.
View log:
Cat/var/log/Xorg.0.log | grep EE [75.403] (EE) Failed to load module
Markdown + Pandoc → HTML slide Quick Start
Wysiwyg ppt is a relatively inefficient task, because content and style are not separated, half of the effort should be put on the appearance rather than on the content; complex and huge file formats do not
Usage of grep commands in Linux
Usage of grep commands in Linux
Search for a specific string and display the color[Root @ www.bkjia.com] # grep-n 'the 'regular_express.txt -- color = auto8: I can't finish the test.12: the symbol '*' is represented
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