Linux Scheduled Tasks (ii)

Authorization for Scheduled Tasks1.at Task/etc/at.allow/etc/at.deny2.crontab Task/etc/cron.allow/etc/cron.denyNote: If the Allow file exists, the user in enable can use a scheduled task that does not exist to find the Deny file, and the user in the

Linux character device driver source code Analysis

This paper mainly analyzes the linux-2.6.28 kernel version of the character Device abstraction layer source file CHAR_DEV.C. This file has a small amount of code, but it provides a bridge for Linux applications to access the actual character

Using Udev to bind shared storage on Linux 6

1. How to view the hard drive;2. Obtain the hard disk scsi (Small computer System Interface) ID;3. Bind shared storage;4. Bind the shared storage script;1. How to view the hard drive:[[email protected] ~]# ls-Ltr/Dev/Sd*BRW-rw----. 1 root disk 8, 48

Linux Learning Commands Summary ⑨

#重定向 Output redirection: 1> Overlay Output (1 can be omitted) [[Email Protected]_168_102_centos tmp]# ls functions >>shuchu[[email protected]_168_102_centos tmp ]# Cat Shuchu Fstab 1>> Append output (1 can be omitted) >>shuchu[[email protected]_168_1

Linux Scheduled Tasks

One-time scheduled task at/etc/init.d/atd [[email protected] ~]# at 22 : 18 at >/bin/ls/etc | WC -l >/tmp/yimiao_demo.txt #ctrl+d commits the scheduled task, executes the command with an absolute path, avoids errors, and can which view at > job

Process and service of Linux (ii)

1. View the processPs-processes SnapshotPS AuePs-elf[Email protected] ~]#PSAueuser PID%cpu%MEM VSZ RSS TTY STAT START time Commandroot3360 0.0 0.0 3816 -Tty1 ss+ -:Wuyi 0:xx/sbin/mingetty tty1 home=/term=linux selinux_init=yes

Spfvim installation in Linux

1. Install git1.1 Install dependent Packages:Curl Curl-devel zlib-devel openssl-devel perl cpio expat-devel Getttext-devel1.2 Installing GIT:wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gzTar xzvf git-latest.tar.gzCD

Install DNW under Linux

[email protected] secbulk]# make-c/lib/modules/' uname-r '/build m= ' pwd ' modulesMake: * * */lib/modules/2.6.32-71.el6.i686/build: There is no file or directory. Stop it.[Email protected] secbulk]# make-c/lib/modules/' uname-r '/build m= ' pwd '

Linux INIT.D scripting templates

#!/bin/Bash # # # BEGIN INIT INFO # # provides:location_server # Required-Start: $local _fs $remote _fs # Required-Stop: $local _fs $remote _fs # Default-start:2 3 4 5# Default-stop:0 1 6# Short-Description:initscript # Description:thisfileShould is

Linux Usage FAQs

1. How to see where the software is installed "Ubuntu"Today installed Lxc-docker, want to see where the files are installed, first find this package of ersion[Email protected]:~$ dpkg-s lxc-DOCKERPACKAGE:LXC-Dockerstatus:InstallOK

Allocating disks under Linux

in theLinuxInstallation and ConfigurationInitiatorMount[Email protected] ~]# Mkdir/mnt/cdrom[Email protected] ~]# Mount/dev/cdrom/mnt/cdromInstall package[Email protected] ~]# cd/mnt/cdrom/[[email protected] cdrom] #cd packages/[Email protected]]#

Linux System Information View command

System# uname-a #查看内核/operating system/CPU information# head-n 1/etc/issue #查看操作系统版本# Cat/proc/cpuinfo #查看CPU信息# hostname #查看计算机名# Lspci-tv #列出所有PCI设备# Lsusb-tv #列出所有USB设备# Lsmod #列出加载的内核模块# env #查看环境变量Resources# free-m #查看内存使用量和交换区使用量# df-h

How to empty files in Linux

Often encounter the view log file, if the log file is too large, with the Less,more,vi,tail command to view it will be more troublesome, but also very difficult to locate specific errors, and regular backup, regular emptying should be a good idea,

Installing the SVN service on Linux

1. Install SVNYum Install Subversion2. View versionSvnserve--version3. Create a DirectoryMkdir/web/svndata3. Create a Repo test librarySvnadmin Create/web/svndata4. Configuration: Turn on Anon-access=read auth-access=write password-db=passwd:q (exit)

The 033_2 of Linux Learning

At the beginning of the/sbin/(System auto-find directory, which is the directory listed in Path), the script a.sh begins: #! /bin/bash-fThen the execution a.sh-q is actually:/bin/bash-f/sbin/a.sh-q, used to connect multiple commands, execute each

Using the Samba server to upload files from the win platform to the Linux platform

1. Configure Yum[[email protected]/]# Cd/etc/yum.repos.d/[[email protected] yum.repos.d]# VI yum.repo --Modify disc mount location, enabled set to startConfigure Yum Reference link: Yum Configuration example2. Building a Samba server[email

[Shell] Bash basic functions: Input/Output redirection, shellbash

[Shell] Bash basic functions: Input/Output redirection, shellbash /* Configure /*----------------------------------------------------------------------------------------------- @ Blackeye poet Optional -----------------------------------------------

Install Opencv2.4.9 in CentOS

gtk

Install Opencv2.4.9 in CentOS Opencv was originally developed in windows, but TME code runs in Ubuntu. To run that code, you can only port the entire development environment to CentOS, the entire process is quite difficult, because many dependent

Grub2 guides LinuxISO for CentOS system installation and rescue

Grub2 guides LinuxISO for CentOS system installation and rescue In many Linux releases, the Grub boot loader is used to directly guide ISO. in practical applications, I found that this method can not only guide system installation, it can also guide

Add a route table to CentOS

Add a route table to CentOSStatic route modification command in CentOSMethod 1:Add routeRoute add-net 192.168.0.0/24 gw 192.168.0.1Route add-host 192.168.1.1 dev 192.168.0.1Delete A routeRoute del-net 192.168.0.0/24 gw 192.168.0.1Add routeDel Delete

Total Pages: 5467 1 .... 4372 4373 4374 4375 4376 .... 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.