Viewing program package1 dependencies5 Clearing the CacheYum Clean packages clears the package from the cache directoryYum clean headers clears the headers in the cache directoryYum clean oldheaders Clear Cache directory for old headersYum Clean, yum clear all (= Yum packages; Yum oldheaders) clears the cache directory of packages and the old headersFor example, to install a game program group, first look for:#:yum grouplistIt can be found that the installable game package name is "games and en
The procedure in progress is called a process. When a program is stored in an executable file and runs, each process is dynamically assigned system resources, memory, security attributes, and the state associated with it. Multiple processes can be associated to the same program, and simultaneous execution does not interfere with each other. The operating system effectively manages and tracks all running processes.To manage these processes, users should be able to:
To view all running pr
This may be useful-Linux Quick Start, basic commands, C Programming basics, embedded system basics (to)-Linux general technology-Linux programming and kernel information. The following is a detailed description. [I = s] This post was last edited by kkkdang
Linux Quick Sta
search for text in the man manual???? /keyword : Search from the current position to the end of the file, without distinguishing the character case???? keyword : Search from current position to file header?????? n: Same direction as Find command?????? N: Opposite of Find command direction? 3. Use the Info page to query the command??? Info gets the online documentation for the command, supports hyperlinks??? syntax : info COMMAND? 4. Using Search engine query??? Google??? Search :
At It's FOSS we are not talking about the "command line aspect" of Linux every day. Basically, I'm more focused on the desktop side of Linux. But some of your readers in-house surveys (It's FOSS newsletter subscribers only) point out that you also want to learn some command-line tricks. The Quick check table is also popular with most readers.To do this, I edited a list of basic network
Requirement background:
Corresponds the data in the database to the associated file path one by one. Such as:
Modify the File_path:/opt/downloads/20121105/001.pdf in table File_config to:/opt/downloads/20121107/001.pdf
This requires two steps, one is to update the database, and the other is to move the file in the database with the path consistent. This seems to be so simple, but in the actual operation of
-ii386Again, i386 means that it is running a 32-bit system, and if the output is x86_64 then you are running a 64-bit system.7. Processor typeYou can view the processor type with the- p parameter. If uname is not recognized, it displays ' unknown ' as the output.# uname-pi6868. Operating systemUname can also reveal the operating system information you are running, with the- o parameter for this purpose.# Uname-ognu/linux9. All informationThere is a parameter to show all the information! This is
One of the keys to the successful management of any system using common log files and commands in Linux is to know what is happening in the system. Exception logs are provided in Linux and the log details are configurable. Linux logs are stored in plain text, so you can search and read them without special tools. You c
togetherpdftk A=in.pdf cat A5 output out.pdf # Extract page from PDFYou can also use the cpdf action content:in.pdf -o out.pdf # Remove imagescpdf -blacktext in.pdf -o out.pdf # Convert all text to black color29. Monitor progress against the generated output# Write random data, encode it in base64 and monitor how fast it# is being sent to /dev/nullcat /dev/urandom | base64 | pv -lbri2 > /dev/null# pv options:# -l, lines# -b, total counter# -r, show rate# -i2, refresh every 2 seconds30. Fi
Backup files
Tar-cf/home/app20140703bak.tar/home/app/uat/test.war
Copy files to destination folderExamples are as follows:cp-af/app/wasapp/appname_uat.ear/appname.war/*/app/wasapp/appname_rn_war.ear/appname_rn.warDetailed command:Cp-ai the directory where the source files are placed+ + at the same time, if you have a file with the same name that prompts you to overwrite it when you execute the command, it's a good idea if you want to mark it, and of course, if you don't want the hint, yo
Tags: SPL enc meaning Lisp encoder htm convenient ice astEnter Gedit in the terminal to open the file editor in the attachment, enter GED before you can tab out all.In the terminal, enter Firefox to open the attachment in Firefox, enter firef before you can tab out all.Enter "Nautilus directory" in terminal to open the folder window under the specified directory.In the terminal, enter "evince/home/weis/desktop/bird's Linux Private cuisine _ Basic Lear
Backup files
Tar-cf/home/app20140703bak.tar/home/app/uat/test.war
Copy files to target directoryExamples are as follows:cp-af/app/wasapp/appname_uat.ear/appname.war/*/app/wasapp/appname_rn_war.ear/appname_rn.warCommand specific explanation:Cp-ai directory where source files are located+ + at the same time. Running the command assumes that you have a file with the same name that prompts for overwrite, which is a good idea if you want to mark it, and of course, assuming you don't want the
cursor before theCtrl+u: Delete text entered under input modeF. Search and Replace commands/pattern: Searches for pattern at the end of the file from the beginning of the cursor? pattern: Searches for pattern from the beginning of the cursor to the top of the fileN: Repeat the last search command in the same directionN: Repeats the last search command in the opposite direction: s/p1/p2/g: Replaces all P1 in the current row with P2: n1,n2s/p1/p2/g: Al
information to be displayed directly in the terminal but in a log file, you can use the following command:
Wget-o Download.log URL
13, use wget-q limit the total download file sizeWhen you want to download more than 5M files and exit the download, you can use the following command:
Wget-q5m-i filelist.txt
Note: This parameter does not work for a single file download and is only valid for recursive downloads.14. Use Wget-r-A to download the specified format fileYou ca
===================================== Mobile mv=========================================== ===usage:mv[option]...[-t]sourcedest#mvfile1/home/dir3 move File2 to/home/dir3#mv file2/home/dir3/file20 move File2 to/home/dir3 and renamed to file20#mv file4file5 rename File4 to File5 and the current position is renamed ================================== = = Delete rm=============================================== Example 1: Delete/home/dir1 #cd/home#rm-rfdir1-r Recursive-fforce Mandatory-v Detailed p
deletes the cursor before theCtrl+u: Delete text entered under input modeF. Search and Replace commands/pattern: Searches for pattern at the end of the file from the beginning of the cursor? pattern: Searches for pattern from the beginning of the cursor to the top of the fileN: Repeat the last search command in the same directionN: Repeats the last search command in the opposite direction: s/p1/p2/g: Replaces all P1 in the current row with P2: n1,n2s
11: Use Wget–reject to filter the specified format for downloadCommand:wget--reject=gif urDescriptionTo download a website, but you do not want to download pictures, you can use the following commands.Example 12: Use Wget-o to save download information to a log fileCommand:Wget-o Download.log URLDescriptionDo not want the download information to be displayed directly in the terminal but in a log file that can be usedExample 13: Limit total download file size using Wget-qCommand:Wget-q5m-i filel
Guide
Many times we need to see whether the current Linux system is a 32-bit or 64-bit system architecture type, and I will recommend 5 common commands in this article. Whether you're using a desktop version or a Linux environment with a text-only interface, the following commands can be used for almost all
Whether you're using a desktop version or a Linux environment with just a text interface, the following commands take almost all of the Linux distributions, such asRHEL, CentOS, Fedora, Scientific Linux, Debian, Ubuntu, Linux Mint
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.