1. File Operation commands
1. Create a file
The Touch command is in the same directory/bin/touch
Touch FileName//Create an empty file2. Switch directories
CD or CD ~//Back to home directory
CD-Return to previous catalog
CD!$ switch to
Linux File SystemLinux system is a file design of the operating system, in Linux everything is file, its file structure is a tree structure,/root directory, and so on the other directories are from the root directory.下面介绍几个根目录下比较重要的目录文件:1,/: root
Fault:File system/Home partition encountered mount:structure needs cleaning error, fault partition of the information, how to save the file and repair the partitionAnalysis:1. The host often experiences a power-on restart2. The system is not loaded
LoadRunner the following error occurred while monitoring Linux Resources: Monitor Name:unix Resources. Cannot initialize the monitoring on 192.168.52.189. Error while creating the RPC client. Ensure that the machine can is connected and that it
Linux Server Optimization --time_wait Questions:Check for server time_wait issues:Netstat-n | awk '/^tcp/{++s[$NF]} END {for (a in S) print A, S[a]} ' return: time_wait 41735close_wait 145fin_wait2 3ESTABLISHED 413 Optimized configuration:sudo nano/
Article transferred from https://www.ezloo.com/2009/05/linux_poweroff_and_reboot.htmlRestart command:1, reboot2, Shutdown-R now restarts (root user)3, Shutdown-rTenautomatic Restart after 10 minutes (root user)4, Shutdown-r -: *Restart on time 20:35
1.cobbler IntroductionCobbler is a Linux server-installed service that can be installed quickly through a network boot (PXE), reloading physical services and virtual machines, and managing DHCP, DNS, and so on.Cobbler can be managed using the
Network settings in LinuxLinux systems have powerful network functions, such as routing, bonding, and so on.I. Basic network configurationOnce the Linux system installation is complete, the network card configuration file is automatically generated,
I. Description of the OrderThe free command displays the usage of system memory: physical memory, swap memory (swap), and kernel buffer memorySecond, parameter description
-b-k-m-g: Display memory usage in bytes, KB, MB, GB, respectively
Linux basic Commandsshutdown System: Init 0Exit Current User: Exitswitch Terminal: ctr+alt+f[1-6]view directories and files in the current directory: LSview directories and files under current directory (Details): ls-l (=LL)View all directories and
1. What are the file management commands on Linux, their commonly used methods and their related examples?File Management class commands: CP, MV, RMCP command: Copy, from source file to destination fileCommon options:-I: Interactive replication,
one, process priorityLinux process scheduling and multitaskingEach CPU (or CPU core) can handle only one process at a time, and with time slice technology, the number of processes (and threads) that Linux actually can run exceeds the number of CPUs
1. Introduction to external equipment
(1.) Classification of hard disks:
IDE hard disk,/dev/hda hdb,hdc ... After partitioning:/dev/hda1/dev/hda2
SCSI HDD:/dev/sda SDB,SDC .... After partitioning:/dev/sda1/dev/sda2
1. View of the process:
Ps–el
--E: Show all processes, including those without control terminal
--l: Display in long format
The results show:
PID: Process Number
PPID: Parent Process
TTY: Control terminal
Stat:
First, partition the SDA disk:To see how many primary partitions the SDA disk has already used, as shown in, the primary partition is already using 3, so you should choose an extended partition:Second, partition the extended partition:Third, the
1. Relative Path/absolute pathThe absolute path is written from the root directory, like this:/user/share/doc;The relative path is first for the current position, and the join is now in the/user/share/doc directory, then CD. /man, the implementation
February 05, 2018 11:02:17 read: 851 1, how to build the jar package can refer to the following link: http://blog.csdn.net/zk0920zk/article/details/792307072, next talk about how to upload files to Linux via Windows batAdd Windows Batcht Code
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