First I set up a folder under the/root/backup directory,#mkdir/root/backup/mysqlbackupAfter five o'clock every day, a file will be saved here.Then create a new file#vim/root/mysqlautobakInput:Filename= ' Date +%y%m%d
Background:Mac via [terminal]SSH login Linux and display Linux graphics on MacMAC Host ip:10.2.1.1Linux host ip:192.168.1.1DescriptionTo SSH access and display the Linux host graphics, here, first use the Xquartz tool. Second, you need to tell the
After Linux login, the configuration execution order is (Debian serials capable):/etc/environment,/etc/profile, ~/.bash_profile | ~/.bash_login | ~/ ~/.bash_logout,/ETC/BASHRC, ~/.BASHRC,. Profile)With regard to the role of individual files, the
LINUX Signal Concept DetailedWe run the following command to see a list of supported signals from Linux:# kill-l1) SIGHUP 2) SIGINT 3) Sigquit 4) SIGILL5) SIGTRAP 6) SIGABRT 7) Sigbus 8) SIGFPE9) SIGKILL (SIGUSR1) SIGSEGV) SIGUSR213) sigpipe)
Most of the time, we are going to calculate the total number of identical patterns in the data, for example, using last can be used to find the identity of the landing host this month. Can I find out their total number of landings for each user? At
First, the network card1, Linux: Network is the function of the kernel2, the network card definition:A) RHEL5 network card definition file:/etc/modprobe.confb) RHEL6 NIC definition file:/etc/udev/rules.d/70-persistent-net.rules3. Name of network
This script is to monitor all aspects of the system resources, need to change a little, if the network card is not correct, slightly modified, the mailbox to write their own 163 mailbox, the default is an hour to send an email to the mailbox, the
Click here to view the articleHave time to try ~ ~ ~ Oh ...Ubuntu (Linux) on Atom Z3700 SeriesASUS Transformer book T100 are particularly interesting platform, because some guys at XDA Developers Forum has already in Stalled Android/ubuntu on the
PrefaceQbittorrent is a new lightweight BitTorrent client that can run on Linux, Windows, and other possible systems, it's easy to use, beautiful look, and powerful, it's a great BT download tool under Linux. But want to use it is not simple, waste
1. Each Linux process has a maximum number of open files, by default, the maximum value is 1024 file descriptor can not only reference ordinary files, can also refer to sockets socket, directory, pipeline (everything is a file) by default, The child
AThe Linux system supports sharing open files between different processes. The kernel uses three data structures to represent open files: Process table items, file table entries, v-node tables. 1. Process table entry: Each process has a record entry
Recently began to pick up the Linux again, because the work is very little, so see things easily forget.These days to see the Linux partition, and how to make the file system and other related commands to use, the following in accordance with this
Two methods:1. Using the Pkill command1.1 Viewing the currently connected user through who or WFor example:WUSER TTY from [email protected] IDLE jcpu PCPUJjony pts/0 xxx.xxx.xxx.xxx 00:10 0.00s 0.03s 0.01s WRoot pts/1 xxx.xxx.xxx.xxx 00:20 1:25
There are many ways to implement mutual exclusion between multithreading, critical section (Critical), mutex (mutex), Semaphore (Semaphore), event, etc.Where the critical region, mutual exclusion, signal volume is strictly the realization of
Installing boot Linux in a Win7 environmentUnder the Win7 system, the installation of Linux is particularly inconvenient, because the boot. INI profile is not in the XP, to add a boot option, you can only use specialized tools, which is more or less
In other words, some things are very suitable for one day before the holiday, but they are definitely not suitable for you to take a look before you are going to eat... I met such a worried thing last week. In the end, I ended up with low blood
You can use getcwd () to obtain the current working directory.
1 #include 2 3 char *getcwd(char *cwdbuf, size_t size);
If the call succeeds, a pointer to cwdbuf is returned. If the call fails, NULL is returned.
The implementation of getcwd () is
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