#!/bin/bash#读取文件内容到变量中
Filecontent= ' Cat ~/file.txt ' is the TAB key on thatEcho $filecontent#取得文件内容的每一行
For Fileline in $filecontentTodoEcho $filelineDone#写内容到文件中
echo $filecontent >> test.txt
Bash built-in UNIX command
.: Executes the
As a result of the project, the need to compile the kernel, modify the TUN source support sharing mode, compile the kernel encountered the network card driver lost problem, nonsense, said directly to solve the problem, I understand the bottom of the
The actual use of FTP tools, need to do in the Linux configuration, the original use of VSFTPD, the results of a variety of problems, finally selected PROFTPD This tool, configuration is directly available.
All of the following actions need to be
Today in a new Tencent cloud Server installed PHP7, now PHP7 's stable version has been removed, the expansion of MySQL has been replaced, you can use mysqli or pdo-mysql to replace.
Below I will compile and install the Linux PHP7 to do the
When the installation of LNMP through Putty or SECURECRT, the network suddenly dropped or accidentally putty turned off, and so on, causing LNMP installation process was interrupted, in fact, to prevent this phenomenon is very simple, as long as the
/> Cat > test29.sh#!/bin/sh#1. An earlier entry already describes the function of the match function in awk, and returns 0 if the match returns a matching location value.#2. For a function in the shell, the return of 0 indicates success, and the
When you use Yum to install something, if you have a forced exit Yum or Yum exception end, the next time you use the Yum command, you will be prompted: There are unfinished transactions. You might consider running yum-complete-transaction A to
I had this problem today when I was installing subversion for my friends.
Internal compiler error:killed (program Cc1plus)
Google later learned that due to insufficient memory, the compilation was interrupted.
A friend's Aliyun host would have
Umount command
Unpack the file system. Umount [-ahnrvv][-t ][file system]
Umount can dismount a file system currently attached to a Linux directory.
There was a problem with NFS access on the line, which caused the/data1 directory LS to be out of
Directory Operations:RM-RF Mydir/* Delete Mydir directory * *mkdir dirname/* Create directory named DirName * *CD mydir/* Enter Mydir directory * *CD-*/* Back to the previous directory */Cd.. /* Back to the parent directory, with space in the middle
Linux directory structure 2 1./etc/rc.local: The file that holds the boot-up content:File type: theWindows is distinguished by its extension, such as png,txtLinux file types are not related to extensionsto make it easy to differentiate and be
How to install WIN10 and Linux dual system a lot of getting started small partners want to experience a Linux pleasure, but the data on the windows on the deletion must not, helpless had to give up. Small series through some online tutorials, a
If the device has been mounted, the eject disconnects the device and then exits.SyntaxEject [-dfhnqrstv] [-a ] [-c ] [device]Parameter description: The [device] device can be the driver name or the Mount point. -A or -- auto controls the
When other hosts transmit files through UUCP, you can use the uupick command to retrieve these files.SyntaxUupick [-v] [-I ] [-s ] [-x ] [-- help]Parameters: -I or -- config specifies the configuration file. -S or -- system processes files
Uuto is a script file. It will actually execute uucp to send the file to the remote UUCP host, and notify users on the remote host by email after the work is completed.SyntaxUuto [file] [purpose]Parameters:For more information about the parameters,
Each printer defined in/etc/printcap must have a corresponding directory in/var/lpd. Files starting with cf in the directory indicate a print table waiting to be sent to the appropriate device. This file is usually generated by lpr.Lpr and lpd
When the two files to be compared are identical, the command does not display any information. If the difference is found, the first character and number of columns in the difference are displayed by default. If no file name is specified or 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