Ls-l//View file permissions equivalent to LLPermission information for a file view-rw-rw-r--1 Ceshi Ceshi 891 8 17:28 ServerDrwxrwxr-x Ceshi Ceshi 4096 17:51 www.aa.comStart 10 characters determine the permissions for different users to manipulate
When we use the command "who" or "W" in Linux terminal, we always see a long list of users, at this time, you do not want to send a message to him/her. If she is a you love for a long time mm, and you just see her also in, under the shy of you, is
① finding and deleting files with the Find commandTo create test data with a script:[[email protected] ceshidata]# for n in ' seq 10 '> Do> date-s "12/0$N/16"> Touch access_www_ ' (date +%f) '. Log> Done[email protected] ceshidata]# LLTotal dosage 0-
Original reference Link: https://www.douban.com/note/338488349/To add a test user under Kali, for example:step1#: Adding a new userUseradd-r-m-s/bin/bash User nameUseradd-r-m-s/bin/bash TestParameter description:-R,--system Create a
Lesson 30 user additions and deletions and viewingUser additions and deletionsUser Add Command: UseraddUser Delete command: UserdelUser ViewView Current user commands: WhoAmIView all login user commands: WhoUser ID view command: IDLesson 31 User
The following Linux system resources view commands, more commonly used for Vmstat and lsof
Vmstat [Refresh delay Refresh Count]
1[Email protected]606: ~$ Vmstat1 52procs-----------Memory-------------Swap-------io-----system--------CPU--
1. Set up mount pointsystem default in/mnt directory1> Create mount point mkdir-p/mnt/cdrom parameter-p is the upper-level directory where the target directory is created when required, but even if these directories already exist and are not treated
1 Locate CommandLocate "Search name" in the background database according to file search, fast search speed/var/lib/mlocate the database location that you are searching forUpdateDB Update database, mlocate database is the default one-day update, use
This blog link: http://blog.csdn.net/jdh99, author: jdh, reprint please specify.The video transmission was tested on the basis of the previous "Ubuntu-based Qt+opencv control camera".Environment: Host: PC + Ubuntu10.04 + OpenCV + QtSlave machine:
Fdisk-l can view the current diskAssume that the unallocated disk is/dev/sdb size=10gFdisk/dev/sdb (m for help)Follow the prompts to be able to partition successfully, note that 1.1 disks have a maximum of three primary partitionsI'm dividing sdb
Write a blog record of their own in the development of the point drops, to their own learning technology, combing the difficulties still have a great helpThe first time to write a blog, or from a simple startInternship to write a download image of
In a Linux environment, you can view recently typed commands with the arrow keys up and down. But this method can only be viewed one by one, in fact the system provides a way to view all the historical commands. In the terminal, enter the following
1, how to filter out the known current directory in the Oldboy of all the first level directory (hint: Do not include Oldboy directory under the directory of subdirectories and hidden directories, that is, only a primary directory).^: With what
One, view the Linux kernel version command (two methods):1, Cat/proc/version2, Uname-aSecond, view the Linux system version of the command (3 methods):1, lsb_release-a, you can list all version information.This command applies to all Linux
Partition partition file and mount 1, hardware Device file name
hardware
device file name
ide hardware
/dev /HD[A-D]
scsi/sata/usb hard disk
/dev/sd[ A-P]
optical
Application: A set of instructions and parameters that can be executed by the operating system, is static, and is stored in disk space;Process: In the operating system after running the program, the program is running, is an application of the
Two methods of passing parametersA condition in which a thread function has only one parameter: directly define a variable to pass through the application to the thread function. Example #include #include using namespace Std; pthread_t thread;
Optimize kernel parameters to improve the server's concurrent processing capability and Kernel Parameters
PS: when the server hardware resources are rated Limited, the performance of the largest squeezing server and the concurrent processing
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