gzip [file]Compressed file format. GZ, this command only compresses files and cannot compress the directory. And this command does not retain the source file after compressiongunzip [file] or gzip-d [file]Unzip the. Gz zip filetar [-ZCVF] [file name
Ubuntu Server Installation Apache2Command: sudo apt-get install apache2Prompt: Could not reliably determine the server ' s fully qualified domain name, using 127.0.1.1 for ServerNameWorkaround:sudo vi/etc/apache2/apache2.conf1. After entering the
FTP (file Transfer Protocol) is a document transfer protocol that is commonly used to control two-way transmission of files over the Internet. It is also an application where users can connect their PC to servers running FTP protocols around the
Linux Commands format :command [options] [arguments]Command: CommandsOptions:--words or-wordsuch as: LS--allEqu ls-aLs-a-b-cEqu LS-ABCArgument: parameter (file name or other)Detailed introduction to Ifconfig,echo, TTY, STARTX, export, pwd, history,
Prepare the disc (my operating system is X86)[[email protected] ~]# Rpm-q Samba queries whether samba installs[[email protected] ~]# mount/dev/cdrom/mnt mount the disc file to the/MNT directory[[email protected] ~]# cp/mnt/packages/samba*/home Copy
The recent study of Linux, the Linux profile and BASHRC files are not clear, so in-depth study.If you want to know when these files are being executed, you need to know a few tips about the shell. (CentOS6.5 Linux)1.login Shell, login shell, init 3
Practical operation of a small Linux home
Overview: with the previous system start-up process, we have a rough idea of what files and procedures are required for Linux to boot, and now we can make a little Linux of our own.
Practice
Learn the basics of Linux, take notes, and record some of the usual commands.1. ID or WhoAmI view current user information2, su user switch usersSu–user switch users and load user variables3. Set environment variable Vi/etc/profileExample: Export
When our program has frequently used modules, and this module is also used in other programs, at this time according to the idea of software reuse, we should create libraries, so that later programming can reduce the amount of development code. This
?Method One, modify the/ETC/BASHRC fileAdd at the bottom of the fileAlias zone= "Cd/usr/local/webserver" Entering zone at the command line will go directly to the development directoryMethod Two, establish shell script implementation1. Create a
# View current time zone date-r# Result: "Tue, -Sep . -: +: One+0800"," +0800"It is Beijing time," said the East eight district. # Modify the Linux server time zone and follow the prompts to select the time zone tzselect# view times and dates date#
Add user useradd-d home directory-G Group name-group set (comma interval)-p password-S user Shell program user name useradd-d/usr/local/nginx/-G nginx-g nginx,oracle-p1234 56-s/bin/bash test4 If you do not use-p, you can use command encryption:
1: Background. I win7, the back end is Win10, using the Tortoisegit tool. I use SSH and he uses HTTP. Warehouse is on Linux, using Gitlab management2: The problem. The warehouse was built before the director. Back end of the file after the add push,
Linux Command details-more command, linux Command details more
Like the cat command, the more command in Linux is used to view the file content. This article describes how to use the more command in Linux.For more information about Linux commands,
Set up an ftp server using centos and set up ftp using centos
1. Install vsftpd
sudo yum install vsftpd
2. Configure vsftpd. conf
# Allow anonymous FTP? (Beware-allowed by default if you comment this out ). anonymous_enable = NO # When SELinux is
Linux management and I/O redirection and linuxo redirection
I/O:
System settings
Default Input Device: standard input, STDIN, 0
Default output device: standard output, STDOUT, 1
Standard Error output: STDERR, 2
Different data streams
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