1. Delete a large file#创建空的大文件 #dd if=/dev/zero of=test ibs=1k count=10240000#ll-h test-rw-r--r--. 1 root root 9.8G June 12:10 test# First empty the contents of the file and then delete the file (>test or: >test) #>test#ll-h test-rw-r--r--. 1 root
Serve end ip:192.168.2.128Client ip:192.168.2.131Server-side configuration:1. Install Nfs,rpcbind, you can refer to the configuration of Yum in Linux to install:Yum Install nfs*-y2. Create the folder you want to share, and then edit
1. Understanding and installation of the operating systemLinux All Files!For those of us studying and later working in operations, we recommend CentOS, other releases, original aim. (try to install a system to play)2.linux System Basics2.1.
1.java-jar Shareniu.jar The current SSH window is locked, you can press CTRL + C to interrupt the program to run, or close the window directly, the program exits.2.java-jar Shareniu.jar & the current SSH window is not locked, but when the window is
Each sector of the disk is 512bytes. The first sector of the disk records important information about the entire disk, including the primary boot partition (MBR): The place where the bootloader can be installed, 446bytes, partition table (partition
1 Linux performance monitoring-nmon1.1 Nmon downloadDownload path: http://nmon.sourceforge.net/pmwiki.php?n=Site.Download1.2 InstallationUbuntu:Installation: Apt-get Install NmonExecute: Nmon, enter Nmon interfaceInput C M D N T displays information
Configuring the SSHD ServiceTo modify the configuration file/etc/ssh/sshd_config, remove the following two lines of comments:Port #指定sshd服务的监听端口ListenAddress 192.168.44.242
A simple sum sumsum of tow numbers## writen by qinys## date:2018-06-26a=1b=2sum=$[$a + $b]echo "$a + $b = $sum"The above is a simple shell script summationA and B are variables, and the above script means assigning a value to a, a, a, two variables,
Cause of the problemThe Windows system directly displays the physical time of the computer as a local time, while the Linux system treats the computer's physical time as UTC time, adjusts the time in its timezone and then displays it, causing the
1. View Host Name#hostname2. Modify Host NameFor CentOS6Method One: # hostname New_name method two: # Vim/etc/sysconfig/network hostname= Note: Some people say that you also need to modify the/etc/hosts file inside the "Localhost.localdomain--and
1. Create a new repository:Create and write the relevant name and description on GitHub first.$CD ~/hello-world//to Hello-world directory$git Init//initialization$git Add. Add all files to the index (do not want to add all the files, you can use
fsck 磁盘分区功能Syntax format: fsck "option" "Filesys" fsck [options] [File system]Attention:
There must be at least one space between each element in the fsck command and subsequent options and device names
The Filesys can be a device name (
CentOS system iOS Image download: https://mirrors.aliyun.com/centos/, select the corresponding version, then download 32-bit, 64-bit, general production environment are 64-bit DVD format, ISO extension system image~]# uname-m~]#
/USR/BIN/LD:/usr/local/ssl/lib/libcrypto.a (X86_64CPUID.O): Relocation r_x86_64_pc32 against ' OPENSSL_cpuid_setup ' Can not is used when making a shared object; Recompile with-fpic# #g + + Compile the dynamic library, using the static
Click Back to learn the path of the Linux command line and shell script12.5-while, until command1 case var in pattern1 | pattern2) 2 Command1;; 3 pattern3) 4 command2;; 5 *) 6 commands;; 7 EsacMany programs require some
1, how to see if a service is turned onService XXX Status #可以看到端口和是否开启2 You can use the $ps command to query a running process;Parameters: The parameters of PS are very many, only a few common parameters are listed here and the meaning-A lists all
file 显示文件的类型Syntax format: file "option" "File" file [options] [file or directory]Attention:
The file command and subsequent options and files must have at least one space between each element
Separate multiple files using a space, you can
dumpe2fe 查看文件系统信息Syntax format: dumpe2fe "option" "Device" dumpe2fe [options] [device name]Note: There must be at least one space between each element in the DUMPE2FE command and in the following options and device namesOption Description:
Some problems with file Read permissions have been encountered in recent work. When a program in a fixed-name file to read and write operations, the outside world through the concurrent invocation of the application, there may be multiple processes
My requirement: To map the 1234 port of a win 2008 to the 22 port of SSH in Linux. Later, I connected the 22 port of Linux with Xshell by connecting the 1234 of win2008.Environment: Win 2008 Enterprise Edition, 64-bitLINUX centos6.4 64-bitSoftware
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