The GCC compiler under Linux

1. Compiling a single file into an executable fileGenerate the default executable file a.out2. Compile a single file for the specified name of the executable file, use the-o option to specify the file nameGenerate an executable file named Test3.

Logging of all user logins and operations logs under Linux

In general, we can use the history command to view the user's operation record, but this command can not record which user logged in operation, and can not record the detailed operation time, and incomplete, so the wrong operation caused important

Third Linux system basic application

1. List the user name of all logged-on users on the system, note: The same user login multiple times, only one time can be displayed . W.H.O. | Cut-d '-f1 | Uniq2, remove the last login to the current system of the user's relevant information;last-1

How to turn on FTP service under Linux

First the server will install the FTP software to see if the FTP software has been installed:#which vsftpdIf you see a vsftpd directory stating that the server has FTP software installed View FTP Server Status#service vsftpd Status If it is not

Linux rookie Beginner's knowledge of Linux systems

System File Managementa Linux system architectureThe difference between a Linux system and a Windows system is superficially similar to the iOS operating system and Android, where the storage of Linux systems is based on the root directory, which is

The old boy of Linux learning Diary

October 5, 2016Enterprise Interview Questions:The CP command copies the file if there is coverage possible, how to remove the confirmation step, such as: Copy/mnt/text.txtTo/temp/text.txt, remove the overwrite confirmation command.Method:1, add the

Basic operation of Linux system (i)

basic operation of Linux system (i)First, the Linux system structure1.Linux system structure is inverted tree type2./bin # #二进制可执行文件也就是系统命令/sbin # #系统管理命令存放位置/ Boot # #启动分区, responsible for system startup/ Dev # #设备管理文件/ etc # #大多数系统管理文件 /Home #

Linux Unzip command

rar

Two commonly used decompression commands: Unrar and unzip, respectively, corresponding to two WinRAR and WinZip software on the Windows platform.[Email protected] ~]# Cd/usr/local/tomcat/webapps[[email protected] webapps]# unrar x

Linux under Disk Monitoring script

September stole a lazy, make up an articleNote: Shell scripts require FIO tools to monitor disk read and write performance in real time#!/bin/bashdate=$ (date +%m-%d) iostatlog=/var/log/iostat${date}.logfiolog=/var/log/fio${date}.log/bin/ps

Linux commands: Install

Introduction to the Install command:the Install command works by installing or upgrading software or backing up data, and its use rights are for all users. Install command -copy files and set attributes (properties)1. command format:Install [OPTION]

Custom Linux Terminal/ssh welcome information before and after login

Pre-Logon message:1. System-level settings (this information is not displayed when the remote SSH connection is used)Before entering the user name in the login system, you can see the Welcome ... Information, this will show the LINUX distribution

Linux common Commands--cat, more, less, head, tail

1. Cat Action and Usage:Cat [-option] File nameNAMEcat-concatenate files and print on the standardized output connection file and display standard outputs-N Displays the contents of the file with line numbers.-e Displays end-of-line terminator for

Linux command: Alias

alias Introduction to Commands: This command is used for command aliases, and aliases defined in the shell are valid only for the current Shell life cycle;The valid range of aliases is only the current SHELLJ process; If you want the alias to be

Linux Blog Third week

1. List the user name of all logged-in users on the current system, note: The same user logged in multiple times, only once.W.H.O. | Cut-d '-f1 | Sort-uSort-u Removing duplicate rows2. Remove the information about the user who last logged in to the

Linux commands: MV

Introduction to MV Command:The MV command is the abbreviation for move, which can be used to move files or rename files (rename), which is a common command under Linux, often used to back up files or directories.1. command format:MV [option] source

Basic Linux Learning (v)

The previous chapter we learned the user's rights and user management, this chapter we will learn the permissions and management of filesThe content of this chapter is very important, because everything in Linux is a file. Therefore, the management

About Linux permissions issues permission denied.

On Linux systems, the permissions for each file are specified by the user who created it. And the permissions do not change with the file environment. In other words, the file permissions you copy, download, and accept from elsewhere are consistent

Linux file system

The file system is a very basic knowledge of Linux, but also a prerequisite for learning Linux.This article will stand in a higher view to understand the Linux file system, mainly including the Linux disk partition and directory, Mount fundamentals,

Expect getting started--Automating Linux interactive commands

Many Linux programs, such as PASSWD,FTP,SCP,SSH, do not provide a silent execution option, but rely on the terminal input at runtime to perform the next steps such as changing passwords, uploading files, downloading, and so on. Although some

Shared Memory for inter-process communication and inter-process communication

Shared Memory for inter-process communication and inter-process communication Shared Memory is a physical memory shared by multiple time periods. Shared memory is the fastest way to share data between processes. Header file: # include # include A:

Total Pages: 5467 1 .... 2214 2215 2216 2217 2218 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.