Files for environment variables in LinuxWhen you enter the system, Linux will read the environment variables for you, where the environment variables are stored, which is the file of the environment variables. There are many files in Linux that
The dump file allows us to view the crash of the program and contextual information when the program crash. Under window, to be able to generate a dump file, you need to write the appropriate code yourself. But now the online can find the
Ftrace is a debugging tool available in the Linux kernel. Using Ftrace can keep track of what is happening in the kernel, which is useful when debugging bugs or parsing the kernel. This series of articles introduces Ftrace, which is divided into
"The basic composition of Crontab"① system service CROND: Refreshes the scheduled task from the configuration file every minute② configuration file : Set up timed tasks by file mode③ Configuration Tool crontab: Use to adjust timed tasksConfiguration
/var/log/cron File Save Cron task execution recordCD/var/log/-L cron*Will find a cron log change every day.UseTail-f CronAbility to view logs for today's cron:UseCat/etc/crontabCan seeMailto=root means that when a crontab command or task is executed,
system calls and device drivers (system calls are calls to device drivers)To provide a consistent interface to the user, the device driver encapsulates all hardware-related features.Open: Opening a file or deviceREAD: Reading data from an open ask
Linux Systems-User management-Concepts and principlesA related concept1/etc/passwd file Format: User name: Password bit: User identification number: Group identification number: Comment and other related description: Host directory: Default shell,
I. User's permissions1. For documents:R: Readable, you can view the contents of the file using commands like CatW: writable, can edit or delete this fileX: Executable, exacutable, can be submitted to the kernel at the command prompt as a command to
Linux Systems-User management-common commandsa user1 Useradd user name [-parameters] .2 passwd Change Password3 Usermod Modify user information [-G add user to user Group] [-l Disable user][-u Restore user]Two user groups1 groupadd group name
You need to complete the following settings:1, the password must meet the complexity of requirements, letters, numbers, special characters. Length greater than 8 bits.2, the password changes regularly, the longest not more than 90 days.3, users can
Add your own path in path, there are several ways to use, this article mainly describes by modifying the/etc/profile file to achieve:First step: Open the profile file with a commandVim/etc/profileAt the end of the file, add the following:Path= $PATH:
Linux Process Management Knowledge collation1. What are the status of the process? What is the interruptible wait state for a process? Why wait for the scheduler to delete its task_struct structure after the process exits? What is the exit status of
For process and thread awareness, see the previous blog posthttp://yunweigou.blog.51cto.com/6299641/1634867There are many process management tools under Linux, and the following highlights the use of htop/glances/dstat Tools
The Htop of
If the port on the server has a pre-set trunk and allows certain VLANs to pass, then the server's network adapter must specify the VLAN it belongs to when it is configured, otherwise it will not work, which is more common in virtualized
Go to the installation directory, start memcached:/usr/local/memcached/bin/memcached-d-c 10240-m 1024-u root get running status: Echo Stats | NC localhost 11211 (can view PID) or use Ps-ef|grep memcached stop memcached:kill-9 pid (-9 for forced
Proc Virtual file System There are many digitally named subdirectories that represent the process number that the system is currently running;The/PROC/N/FD directory below holds an open file descriptor that points to a link to the actual file. As
Linux boot process analysis, linux boot process
Iii. linux boot process parsing date the current system hardware clock hwclock firmware (between hardware and software) clock ----> the general system clock and firmware clock are synchronized hwclock -
Getting started with Linux: last Command in Linux
The last command is used to list information related to users logging on to the system. Its main parameters include:
(1)-a displays the host name or IP address used to log on to the system on the
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