First, view LinuxKernel version Commandmethod One:cat/proc/versionUsage: [Email protected] home]# cat/proc/versionmethod Two:uname-aUsage: [Email protected] home]# uname-a Second, view Linux command for system versionmethod One:lsb_release-aUsage: [Email protected] ~]# lsb_release-aNote: Use this command to list all version information and this command applies to all Linux distributions, including RedHat,S
Linux Learning CentOS (ii)--some common commands for the initial knowledge of LinuxAfter installing CentOS6.4 on the VM, looking at the Linux system to run successfully, the heart small excited a ... But the road ahead of learning is still far away ...The first time you learn a Lin
650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M01/93/68/wKiom1kK3dzywyVjAABsxNIRoxo495.jpg "title=" Linux course "alt=" wkiom1kk3dzywyvjaabsxniroxo495.jpg "/>7 years of Offline Linux curriculum Development teaching experience, curriculum design of each knowledge cycle, so that students in the actual combat learning problem-solving process, to master the
How to learn Linux? The value of technology is not in this technology how superb, but the technology itself brings us what value, so many times we learn a technology, not blindly learn, is to use this technology, know the use of this technology, know the technology to bring convenience, we decided to learn in depth. Before you start operation, be sure to familiarize yourself with the 28 unix/linux command-l
Linux learning-vnc remote learning vnc installation Shell code [root @ SC-026 ~] # Yum install vnc www.2cto.com vnc remote connection first, log on to the remote machine through ssh, use the command vncserver to open a port for the current user, and then use the command vncviewer to connect to the remote machine, you can perform various operations. Shell code [ro
Linux File Creation commandWe often have to create some documents to add content or to create a file directory to organize the file collation, so we need to get familiar with the command created, the Linux file Creation command basically has the following: mkdir rmdir touch rm CP Move command:
Note: Before we learn to use the Create command, the first thing to know is that the file naming requireme
Review database MySQL backup and recovery:show databases;User spdb1;Show tables;Perform a backup in the Mysql/bin directory:./mysqldump-u root-p spdb1 >/home/spdb1.bakYou will be prompted to enter the password for the user root.Delete a database drop databases spdb1;Recovery database: Mysql-u root-p database name You need to create a new empty database before recovering the database, otherwise error. Create a new user under/mysql/bin: the Create database name;SSH Introduction:SSH (Secure Shell)
Linux C Programming learning-signal processing and linux programming Signal Processing
Signal processing is a special feature of linux programs. Use signal processing to simulate the interrupt function of the operating system. To use the signal processing function, you must enter a signal processing function.
1 #inclu
Linux Learning Record 5 (software installation and upgrade) and linux record
I. gcc
Gcc is the most standard C language compiler on Linux, used for source code compilation links.Gcc-c hello. c compilation generates the target file hello. ogcc-O hello. c compilation generates the target file and optimizes gcc-o hello. c
Linux C Programming learning-process, process, process !, Linux Programming
Linux supports multiple processes at the same time, that is, the multi-Program Design in the modern operating system, which is also called scheduling each process in the linux system to occupy the cp
Help for Umask:[Email protected] ~]# help Umaskumask:umask [-P] [-S] [mode] file mode mask.Note:help can also be used to view assistance for Shell programming if, case, while, and so on .(6) UseraddThe useradd command is used to add a new user , where the path is/usr/sbin/useradd, with the syntax format:useradd [user Name](7) passwdThe passwd command is used to set the user password , where the path is/USR/BIN/PASSWD, in the syntax format:passwd [user Name]Note: Passwords must conform to th
/wKioL1TuzBaAlc7VAAFgGFhKnVA669.jpg "style=" float: none; "title=" A12.png "alt=" Wkiol1tuzbaalc7vaafggfhknva669.jpg "/>650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/59/E4/wKioL1TuzBbRQ4iyAAF8hMYRu5w108.jpg "title=" a2.png "Style=" Float:none; "alt=" wkiol1tuzbbrq4iyaaf8hmyru5w108.jpg "/>Press Next to begin installing the system.Check the installation package after entering the system:Yum GrouplistForget to select the package, you can install Yum Groupinstall "Base"Network configura
) WhereisThe whereis+ command name, such as "Whereis ls", will tell you where LS is from, which file is executed when you knock the LS command, and where some of its help documents are in this command.(Ten) EchoFrom the command line, see what the current environment variable refers to (this command window is almost the same)Delimiter is a colon ":"(one) lnln is a link command. Let's use it down here.First we create a test folder, and then create a 3.txt text document belowWe use the VI command t
protected] ~]# CRONTAB-L20 3 * * 1-6/bin/cp/etc-rpf/backups/etc-' file\%y-\%m-\%d 'title: Every Sunday wee 2 minutes, run the CP command to backup the/etc/fstab file, storage location is /backup/ Fstab-yyyy-mm-dd-hh-mm-ss[[email protected] ~]# CRONTAB-L30 2 * * 7/bin/cp/etc/fstab/backup/fstab-' file\%y-\%m-\%d-\%h-\%m-\%s 'q : every night , get all lines starting with S or M in the/proc/meminfo file , append to /statistics/ Meminfo.txt file, and the daily message is preceded by a similar =====
, RM; Execute permissions x: CD2. Change the file owner: ChownCommand name: Chown Command English Original: Change file ownership command path:/bin/chown Execute permissions: All user syntax: chown [user] [file or directory] function description: Changes the owner of the files or directories3. Change the owning group of the file or directory: ChgrpCommand name: CHGRP Command English Original: Change file group Ownership command path:/BIN/CHGRP Execute permissions: All user syntax: chgrp [user] [
Source package installation service startup: Use absolute path: Invoke startup script to start. Different source package startup scripts, you can view the source package installation instructions, view the way to start the script. For example:/usr/local/apache2/bin/apachectl start|stop Source Services: Modify the vi/etc/rc.d/rc.local file, the standard launch Add Let the source package service be serviced by Service Management Command Service Identification: servi
First, Linux installed software 3 Method 1, Yum installationDownload the software for you to install for you to solve the dependency point out of the lack of things to sell out solution
Convenient and simple
There is no way to further modify
Example:Yum install-y Tree2, RPM installationSelf-download package yourself to solve the lack of self-reliance on semi-finished productsInstallation to resolve dependent complexRPM-IVH treexxxxxx
Comrade Ronaldinho wrote well, get a list. Linux learning CentOS (36)--ftp Service principle and VSFPTD installation and configurationxiaoluo501395377 2013-06-09 01:04 read: 5665 comments: 8Linux learning CentOS (35)--Configure domains from DNS servers and cache DNS serversxiaoluo501395377 2013-06-07 00:09 read: 6348 comments: 1Linux
of the connection host hosts allow=192.168.0.0 server.abc.com: Represents the Allow from 192.168.0.0 or server.abc.com access to this Samba server shared resource 5) hosts deny: Sets the host address of the Forbidden link hosts deny=192.168.0.0 Server.abc.com: Indicates not allowed from 192.168.0.0 or server.abc.com access to this Samba server shared resource 6) Read only: Used to set whether the shared resource is read-only read only= Yes: Allow read-only Only=no: not only read-only, but also
Linux learning, linux
Linux permission management
Chgrp: Change the group to which the archive belongs
# Chgrp [-R] group dirname/filename...
Chown: Change the archive owner
# Chown [-R] account name file name or directory
# Chown [-R] Account name: group name file name or directory
Chmod: unus
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.