Linux has a command-line tool called Pidof, can be based on the user input process name to find the process number, but sometimes we need to implement in the program, do not want to call system, after looking at many versions of the pidof source
Experiment: Accessing disc data
Experimental objectives
Familiar with Linux CD installationAccessing the disc's data
Experimental steps
[Email protected] ~]# Umount/dev/cdrom[Email protected] ~]# ls/media/[[Email
you must have encountered the problem of disk chaos in the process of using Linux. In general, there are several possible disk chaos, such as the disk is connected to the serverthrough a RAID card, the raid card battery is not power, this time if
One source fileThe following two source files are available for download:/* BILL.C */#include void bill (char* Arg) { printf ("Bill:we passed%s\n", Arg);}/* FRED.C */#include void Fred (int arg) {printf ("Fred:we passed%d\n", Arg);}Compile build.
Linux Command Beginner Levelhttp://ke.qq.com/video/index.html?course_id=6815Ls-A All Files-LType, number of connections, owning user, workgroup, size, modification time, file name-Normal fileCatalog DL Symbolic LinkGreen ExecutableRedBlue
What is a package?How does CentOS install, uninstall, upgrade packages?How is the package managed?How do I compile the installation?How do I configure a yum source?Part of a package:1. Binary
1. Operating system generally four levels, kernel-"system call -" Library-"ApplicationKernel: The kernel provides the implementation of some basic functions of the operating system, such as file system, network protocol stack, process Management,
1. file Sharing1), the method of Sharing folders under Windows system to Linux:Install FileZillaand set up a Linux server connection. Upload the file.2), Mremote Machine Connection management2. File Management commands2.1. Copy command CPCp–r Dir1
Chsh1. RoleThe purpose of the CHSH command is to change the user shell settings, which are used by all users. 2. FormatChsh [-S] [-list] [--help] [-v] [username]3. Main parameters-L: Displays all shell types of the system. -V: Displays the shell
mkdir1. RoleThe purpose of the mkdir command is to create a subdirectory named DirName, similar to the MD command under MS DOS, which is used by all users. 2. Formatmkdir [Options] Directory name3.[options] Main parameters-M,--mode= mode: Set
grep1. RoleThe grep command allows you to specify a file to search for specific content and to output the standard rows containing the content. The grep full name is global Regular expression Print, which represents the globally regular expression
1. Configure VIMOpen Vim, enter the following command in normal mode to find the location of vim: Echo $VIM/usr/share/vimOpen the file VIMRC in the returned directory to configure[email protected]:~#VIM/USR/SHARE/VIM/VIMRCThe specific configuration
At 1. RoleThe at command is used to execute the specified sequence of commands at a specified time. 2. FormatAt [-v] [-Q x] [-F file] [-m] time3. Main parameters-V: Displays the standard error output. -Q: Many queue outputs. -F: Reads the job from
Soon after sitting down, the leader spoke, and in such a file found the beginning to: =?, the data wrapped in angle brackets is stored in the database. The file is as follows: to : =? UTF-8? b?5p2o5lqr5big?= [email protected]>Message-id: subject: =?
About Linux virtual machine, when the virtual machine copy, because the virtual machine configuration file will record the MAC address of the network card, so the Linux inside the recorded network card address and the actual conflict, so Linux will
Ldd/path/to/program To find out which libraries a particular executable depends on, you can use the LDD command. This command invokes the dynamic linker to find the library file dependencies of the program. Objdump-p/path/to/program | grep NEEDED
easy to play with Windows/linux voice service interface
in Midsummer May , the online class is officially started! first push Android SDK boutique course; linked June, the development of the Great God
Network Configuration of ifconfig Nic in Linux (1)
The Ifconfig command allows the LINUX core to know some network interfaces such as software delivery and network card, so that Linux can use them.
In addition to the usage described above, 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