Previously created files I usually use DD to create, for example, create a 512M file:The DD command can be easily implemented to create a file of the specified size, such asDD If=/dev/zero of=test bs=1m count=1000Generates a 1000M test file with a
Grml 2014.11 was released, codenamed ' Gschistigschasti '. This version provides the latest Debian ' testing ' packages, as usual, updated with hardware support to fix bugs in the previous GRML version.New features:
New boot option
Redflag Linux installation, to remote access via SSH, you need to manually perform service sshd start so that the sshd service is turned on.Sshd can be added to the system service via Chkconfig.[[email protected] ~]# chkconfig sshd onYou can view
RSYNC-VZRTOPG--progress felix//home/magnum/work-environment/Synchronization Local folder, can continue after an abnormal interruptionchmod 777 *-R action to assign permissions to all files in the current directorySed-i ' s/^.:/ The/' Add.cpp
Under Redhat, the network configuration is as followsHow to configure a static IP fileVIM/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ETH0DEVICE=ETH0ONBOOT=YESBOOTPROTO=STATICHWADDR=64:27:37:D3:B5: f7ipaddr=192.168.0.3netmask=255.255.255.0gateway=192.168.0.1
1.Linux Link ConceptThere are two types of Linux links, one called hard links, and the other called Symbolic links (symbolic link). By default, the LN command produces a hard link.In a Linux system, the kernel allocates an Inode (index node) for
The previous section has the system Initramfs has started to complete, the system control to the real Rootfs/sbin/init, the following is the time/sbin/init work.4/sbin/initInitramfs init script, through the Switch_root command, after switching to
the properties of a Linux file or directory include: The file or directory's node, kind, permission mode, number of links, the user and user group to which it belongs, the time of the most recent visit or modification, and so on . . The details are
SECURECRT can be set at the GUI interface, but Securefx does not have a setup interface. However, you can modify it directly in the configuration file.1. Locate the Configuration folder (Options-Global options, General Configuration folder), by
Linux viewing processes that occupy the highest CPU
PS Aux|head-1;ps aux|grep-v pid|sort-rn-k +3|head
or top (then press m, note that this is uppercase)Linux view the most memory-intensive processes
PS
Usage of wildcards and special symbols in Linux
We will encounter some special symbols in the Linu system. Let me give you a rough description of them.
* Represents 0 or multiple special characters
The example yum. * indicates that yum. or yum. a,
Install JDK and configure environment variables in Linux
This section briefly describes how to install JDK and configure environment variables in Linux.
JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Linux 6
Analysis of Iptables Principles and Applications
I. Iptables principles
Currently, firewalls are divided into three types: packet filtering, application proxy, and status detection.
Packet Filtering Firewall: the static packet filtering firewall is
Common linux commands used to trace hacker attacks
1
The process where filename is running can be obtained.
# Pidoffilename
2
You can see the process through the file or tcpudp Protocol
# Fuser-ntcpport
3
You can view the file modification time,
LinuxShell parameter extension (ParameterExpansion)
The parameter extension format is $ {expression }. Expression contains various characters until matching'}'. When the following situations occur:'}' Will not be checked for matching:
1) after the
Linux basics: PS1 prompt settings, linuxps1 prompt settings
Modify the. bashrc file in the user's home directory
Set a new PS1 value to overwrite the default value of the system.
Example: PS1 = "[\ u @ \ W] \ $"
× Note: There are no spaces on
Common Linux commands (14)-tail
The tail command writes the file to the standard output from the specified point. you can use the-f option of the tail command to conveniently check the changing log file. The tail content of the filename is displayed
CentOS user and group managementAdd an account02.03.Useradd-m ltw parameter-m is used to set the system to automatically create the user root directory when adding an account04.05.adduser06.07.Modify the logon name of an ltw account08.09.usermod -l
Install phpmyadmin in CentOS6.x
PhpMyAdmin is a Web interface that allows you to manage your MySQL database. So how can I install phpMyAdmin in CentOS 6.0? This article introduces the installation process, hoping to help you.
First, let's import the
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