be called by command-line mode, but only for certain commands-the most common are installation and uninstallation commands.Since aptitude has more information than apt-get, it can be said to be more suitable for installation and uninstallation. Apt-cache showpkg pkgs--displays package information. apt-cache dumpavail--Print the list of available packages. Apt-cache Show pkgs--shows the package record, similar to Dpkg–print-avail. Apt-cache pkgnames--
uname: Viewing kernel-related informationParameters:-A,--all: all system related information, including the following data will be listed-S,--kernel-name: System kernel Name-N,--nodename: Print network node host name-R,--kernel-release: Kernel version-M: The hardware name of the system, such as i686 or x86_64;The type of-P:CPU, similar to-M, just shows the type of CPU-I: Hardware platform (ix86)-O,--operating-system: Print operating systemDMESG: Displays the kernel boot informationThe DMESG comm
This article mainly introduces the method of installing 7z command under Linux, and introduces the use of 7z command. 7z compression format has many advantages, with a very high compression ratio, if you do not understand, see the article: 7z format, LZMA compression algorithm and 7-zip detailed introduction.The Linux distribution used by Reille is Ubuntu and has been validated on Redhat for normal use.1. Linux Installation 7z commandThere are two ways to install 7z
This article is mainly used for common commands of the memo, the specific usage can be viewed by man, or query other information.CD: Changing the working directoryLS: List contents of directorymkdir: Create a directoryCat: Connect and display information about one or more of the files specifiedCP: Copy the given file or directory to another file or directoryMV: Renaming files or directories or moving files from one directory into anotherRM: Delete one
Protected]:/home/a.tar.tzCopy files from the entire directory of the remote machinescp-r [email protected]:/home/*./ Content Source: http://www.cnblogs.com/weafer/archive/2011/06/13/2079509.html --------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------ Add: If you are downloading to the Windows platform using SCP, there are two ways to do this: 1. WINSCP tool, a graphical too
passwd command
The use of PASSWD commands is many, for beginners, the general is to modify or set the password, we can view its basic parameters through the passwd-h command.1[Email protected]:~#passwd-h2Usage:passwd[Options] [LOGIN]3 4 Options:5-A,--All report password status on all accounts6-D,--delete delete the password forThe named account7-E,--expire force expire the password forThe named account8-H,--Help display this Help message and exi
Watch is a very useful command, basically all Linux distributions with this gadget, like a name, watch can help you monitor the results of a command, save you to manually run over and over again. Under Linux, watch is the periodic execution of the next program, and full-screen display of the execution results. You can use him to monitor everything you want. The result of the command changes, such as tail a log file, ls monitoring a file size changes, see your imagination!1. Command format:watch[
Commands for shutting down and viewing system information
Command
Description
Shutdown
Normal shutdown
Reboot
Restart your computer
Ps
View current program execution status
Top
View current program execution scenarios and memory usage
Kill
Terminate a process
Date
Change or view the current date
Aa
#查看系统内核/Operating System/CPU Informationuname-a# return: Kernel name host name Linux kernel version kernel build date OS version CPU model hardware platform GNU/linux# Viewing the operating system versionHead-N1/etc/issue# View gcc or G++versionGCC-VG++ -v#c++more rigorous grammar rules; #编译阶段, G+ + will call GCC, which is equivalent for C + + code, but becausegcc commands do not automatically link to libraries used by C + + programs, so usually with
password status-D Change the password last changed date-M two times password change interval-M Password expiration date-W warning days before password expires-I grace days after password expires-E Account Expiry timeCommand name: UserdelFunction: Delete UserUsage: Userdel [-r] User nameOptions:-R Delete User's home directory while deleting userCommand name: IDFeatures: View the user uid and GID, as well as information on the additional groups in which they are locatedUsage: ID User nameCommand
Linux commands--Rights management commandsRights Management Command: chmodEnglish Name: chmodCommand English original:change the permissions mode of a fileCommand path:/bin/chmodExecute Permissions: All UsersSyntax: chmod "{ugoa}{+-=}{rwx}" "File or directory""mode=421" "File or directory"-R Recursive modificationFunction Description: Change file or directory permissionsExample: Way One:chmod u+x japanlovestory.list Add an Execute permission to the Ja
) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/A7/13/wKioL1ngVDmR7fCTAAHDdmb_m4k622.png "style=" float : none; "title=" Linux environment variable, CP command, MV Command, document view 740.png "alt=" Wkiol1ngvdmr7fctaahddmb_m4k622.png "/>when moving files to the target directory, the target directory will be placed in the target directory, which is the same as the CP command. some commands for document viewing :the cat command can view th
/wKioL1ngdcbD03vBAAEB-2zmOQ4645.png "style=" float : none; "title=" Linux relative path and absolute path, CD command, create and delete directory, rm command 858.png "alt=" Wkiol1ngdcbd03vbaaeb-2zmoq4645.png "/>The!tree command can run the last hit of the tree at the beginning of the command:650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/08/61/wKiom1ngeIDygNeYAAdaqhJPvhA132.png "style=" float : none; "title=" Linux relative path and absolute path, CD command, create and delete dire
1. Check whether the operating system is 33-bit or 64 the simplest methodgetconf Long_bit or Uname-a2. Common commands2.1 Basic OperationsClear Clear Screen2.2 Installation Commands RPM (Redhat Package Manager).RMP was originally a Redhat Linux distribution program designed to manage Linux packages and is popular because it follows GPL rules and is powerful and convenient. is gradually being adopted by other distributions. the advent of RPM suite m
Tags: character inux play nbsp change settings local back ATTThe more command, which functions like cat, the Cat command is the entire contents of the file displayed on the screen from top to bottom. More will be a page-by-page display to facilitate users to read pages, and the most basic instruction is to press the blank key (space) on the next page, press the B key will be back to a page, but also the function of the search string. The more command reads the file backwards from the front, so i
Tags: using/tmp Operation CTRL AC unit description default parameter cat命令行提示符[[emailprotected] ~]## 超级用户$ 普通用户当前所在目录 ~用户的家目录管理员超级用户 /root普通用户 /home/用户名/所在目录linux 命令格式命令 空格 [选项] 空格 [参数]选项,使用或调整命令的功能参数:参数四命令操作的对象,如果可以省略,说明有默认参数显示注意:在linux下是严格区分大小写,所有内容!命令全部小写Linux view and create directory files and other commands 1 ls//list Displays the contents of the directory 1.1 Ls-l//Long format display (the thumbnail option with a minus sign, the comple
C ++ pre-processing commands and pre-processing commands
A pre-processing statement is composed of a series of pre-processing-related command operators. the pre-processing statement starts with #, followed by the keyword of the pre-processing command, followed by space, and followed by the content of the pre-processing command. C ++ provides a variety of preprocessing functions, such as macro definition, fi
Use python to execute linux commands and pythonlinux commands
Python version 2.7.12
1. Obtain the execution result of a linux Command. For example, obtain the process tree structure of a PID. the linux Command is pstree-p pid, which can be easily obtained by a module in python. As for the case where the obtained results are garbled sometimes, please refer to the previous article: some commonly used
Redis introduction and Common commands, redis introduction Common commandsRedis introduction and Common commands
Redis is an open-source, BSD-based, advanced key-value cache and storage (store) system. Redis keys include string, hash, list, set, sorted set, bitmap, and hyperloglog, which are often called Data Structure servers. You can run atomic operations on these types, such as appending strings, adding
About the Oracle rman command, I found the rman command set on a certain network a few days ago. The rman command set in the Oracle rman command has always been what I want to know and finally got a good introduction, so we will share it with you today.
I. Summary of list Common commands
THE list command lists the backup information in the control file and RMAN recovery directory, which is one of the most intuitive ways to understand all visible datab
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.