After writing the snake on the ultra-low windowsPeople spit out a few aspects:1. The interface really low, start, end, game, are too primitive ...2. Every time you clear the screen in the output character matrix solution ... It's dazzling.3. A bug,
1. ;Commands separated by a semicolon (;) are executed consecutively, even if the wrong command continues to execute the subsequent command.# LLD;echo "OK";Lok-bash:lld:command not foundOk-bash:lok:command not found2.&& The command is separated by &&
1. Basic IntroductionThe meaning of the Vmstat command is to display the virtual memory status ("Viryual memor Statics"), but it can report on the overall operational state of the system, such as process, memory, I/O, etc.2. Syntaxvmstat (option)
System directory Structure
To make it easier to view the system directory structure, use the tree command:
Installation commandsYum install-y TreeHelpTree--helpMan help command to useMans TreeTree Usage Example: viewing the root
1. Whether the Samba service is installedsudo apt-get install Sambasudo apt-get install Smbfs2. Create directories/Home/usr/share that need to be sharedIn the directory/home/xxxx/share xxx for the user namemkdir Share3. Modify the Directory
Often encounter this problem, virtual re-open CentOS, ifconfig always can not specify IP for eth0,Re-install CentOS several times for this. Most of the online solutions are useless, such as:In # Vi/etc/sysconfig/network-scripts/ifcfg-eth0Add
1. There is a dependency relationship that is not satisfiedToday, with the VM installed a deepin, found that can not be implemented with the real host drag shared files, and can not be enlarged in advance of the screen. When Windows virtual machines
1) effective after rebootOpen: Chkconfig iptables onoff: chkconfig iptables off2) Immediate effect, failure after rebootOpen: Service iptables startClose: Service iptables stopIt should be stated that for other services under Linux, the above
usage of the chattr command: chattr [-RV] [-v version] [mode] files ...Most crucially, in the [mode] section, the [mode] section is composed of +-= and [Asacddiijsttu] characters, which are used to control the fileProperty.+: The parameter is
System directory/directory below:1./bin (binary, binary file): Open it will find all the green files, that is, the executable file, and the name is the name of the system command, in fact, each system command is a small executable file, these
I. Environment variable Path$PATH: determines which directories the shell will look for commands or programs, the value of PATH is a series of directories, and when you use a command, Linux looks for specific command programs in these
1. The firewall takes effect immediately and fails after rebooting the systemOpen: [[email protected] ~]# service iptables start off: [[email protected] ~]# service Iptabl Es stop2. The firewall is permanently active after rebooting the systemOpen:
When you configure a network under a virtual machinerhel7.2 InstallationNew Virtual machineMemory 2G CPU 1 Core 2-wire HDD 20GSave as a single file using the ISO Mirror bridge adapterBoot interface:? Install Red Hat Enterprise Linux 7.2 Installation
1. First, we enter the PWD command to view the current user directory:Current user is xg which I explained [[email protected] ~]$ this meaning, where xg refers to the current user, localhost refers to the hostname, ~ refers to the current directory,
$* the arguments after the command as a string, [email protected] understood as a number of individual parameters, similar to the interpretation of data[Email protected] test]#/test4.sh JSKD sj212 2 1 theUsing the $* METHOD:JSKD sj212 2 1 theUsing
Tagged with: Wildcard linux GlobUsed in bash to implement file name "wildcard"Wildcard characters: *,? ,[](1) *Any character of any lengthA*b:AAB, AB, a123b canABC can NOT(2)?Any single characterA? B:AaB canAB, A12B, ABC can't be(3) []Matches any
1.xshell is a powerful secure terminal emulation software that supports SSH1, SSH2, and the Telnet protocol of the Microsoft Windows platform.2. is a powerful sftp, FTP file transfer software based on MS Windows platform.Two ways to use the Software
Basic linux commands and basic linux commands
1. Create a directory using mkdir
Mkdir-p create directory in a loop
Touch creates a file
2. ls displays directories or files
Ls-ld = ll view in a long directory
Ls-a (a = all) view all files or
Introduction to PowerShell and Bash, powershellbash
PowerShell is a script running on windows, While Bash is a script running on linux.
What bash can do now can also be done by PowerShell. What makes PowerShell powerful is that it can manage windows
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