linux commands for interview

Alibabacloud.com offers a wide variety of articles about linux commands for interview, easily find your linux commands for interview information here online.

Interview Questions for Linux O & M engineers

Linux O M engineer interview question 1. File file11 is available. Use shell to query the row number awk of the empty line in file1 {if ($0 ~ /^ $/) Print NR} 'fileorgrep-n ^ $ file | awk' BEGIN {FS = ": '} {print $1}' 2. Compile ShellScript to query the row grep abc $ file1 ending with abc in file1 3. print the 1st to 3rd rows of file1 sed-n' 1, 3 P 'file1head-3 file1 2. How to forward requests from local

"Turn" cattle to organize and share the interview knowledge: Operating system, computer network, design mode, Linux programming, data structure summary

the class.What are the different types of MFC dynamic libraries? What does an extension library typically do?What are the classes of MFC threads? What is the difference between each other? What are the respective creation methods?What types of sockets can be used in a VC environment? of which MFC socket class have what kind of, each difference? What is the class name? what function is used to initialize the socket Library of MFC.three: Linux basic co

Linux view some commands for system information and commands to view installed packages (GO)

-cache showpkg pkgs--Displays package information.Apt-cache dumpavail--Print the list of available packages.Apt-cache Show pkgs--shows the package record, similar to Dpkg–print-avail.Apt-cache pkgnames--The name of all packages in the print packages list.Dpkg-s file--This file belongs to which installed package.Dpkg-l package--lists all the files in the package.Apt-file Search filename--finds packages that contain specific files (not necessarily installed) that contain the specified string in th

Linux view some commands for system information and the commands to view installed packages

more suitable for installation and uninstallation.Apt-cache showpkg pkgs--Displays package information.Apt-cache dumpavail--Print the list of available packages.Apt-cache Show pkgs--shows the package record, similar to Dpkg–print-avail.Apt-cache pkgnames--The name of all packages in the print packages list.Dpkg-s file--This file belongs to which installed package.Dpkg-l package--lists all the files in the package.Apt-file Search filename--finds packages that contain specific files (not necessar

2nd Day "Introduction to OS Linux distributions, Getting Started with Linux system basics, Linux command Help, Linux basic Commands"

Logout Exit SystemGedit Text Editor ToolsUname–r View kernel version information, uname–a more detailsCat/proc/cpuinfo viewing CPUsCat/proc/meminfo Viewing memoryHostname Viewing host namesIfconfig eth0 view eth0 IP AddressAlias ls= ' ls–ll ' setting aliasesTo view the path of the current terminal: TTYView current Shell:echo $SHELLAll Shell:cat/etc/shells under the current systemView CentOS System hostname Format: Echo $PS 1Distinguish internal or external c

Linux system Operations Common interview brief Answer series (three) (9 questions)

://www.baidu.com/s?wd=test on the specified server 61.135.169.121, and the time-out for the access is 20 seconds: Curl–connect-timeout Http://61.135.169.121/s?wd=test 9. With the netstat command with other shell commands, according to the source IP statistics all the established status links to 80 ports, the output is similar (the first column number of connections, the second column IP): [Email protected]~]# Netstat-an|grep est

Classic Linux kernel interview questions

Classic Linux kernel interview questions 1) What kernel locks does Linux have? 2) What is the meaning of the user mode and Kernel Mode in Linux? 3) How to Apply for a large kernel memory? 4) What are the main methods for inter-process communication? 5) What are the functions used by the partner system to apply for ker

Linux environment variables, CP commands, MV commands, and document viewing

) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/A7/13/wKioL1ngVDmR7fCTAAHDdmb_m4k622.png "style=" float : none; "title=" Linux environment variable, CP command, MV Command, document view 740.png "alt=" Wkiol1ngvdmr7fctaahddmb_m4k622.png "/>when moving files to the target directory, the target directory will be placed in the target directory, which is the same as the CP command. some commands for do

Linux Interview title: Delete all files in a directory, but keep a specified file

--exclude "File10" /null//xx /[[emailprotected]xx]#lsfile10 old boy Teacher Reviews: This method for icing on the cake, add sub-item! Method Three: Open Bash's extglob function (the function is to use rm! ( *jpg) Such a way to delete files that do not include the number of files) [[emailprotected]xx]#shopt-sextglob[[email protected]xx]#lsfile1file10file2file3file4 file5file6file7file8file9[[emailprotected]xx ]#rm-f! (FILE10) [[Emailprotected]xx]#lsfile10 The third method is equally grateful to t

Commands for viewing system information and commands for viewing installed software packages in Linux

provides a function to find corrupted files. Run this command: rpm-Va. Linux will list all corrupted files for you. You can fix the issue through the Linux installation CD. 8. in Linux, there are many files, which we will inevitably encounter when using. in Windows, we can use the "Start/search" menu to quickly determine which folder a file belongs, in

Linux C + + server-side development interview must read books

) This is mainly about IPC, there is time to seeLinux books:APUE * * *Deep understanding of the Linux kernel *Other series of Linux source books, you can see in moderation.Test algorithm and Puzzles:The beauty of programming, programming Zhu Ji NanxiongMassive data processing:This online collection of information, or have time for me to pass up.Data:Data structure and algorithm analysis-C language Descripti

Relative and absolute paths to Linux, CD commands, create and delete directories, RM commands

/wKioL1ngdcbD03vBAAEB-2zmOQ4645.png "style=" float : none; "title=" Linux relative path and absolute path, CD command, create and delete directory, rm command 858.png "alt=" Wkiol1ngdcbd03vbaaeb-2zmoq4645.png "/>The!tree command can run the last hit of the tree at the beginning of the command:650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/08/61/wKiom1ngeIDygNeYAAdaqhJPvhA132.png "style=" float : none; "title="

Common Linux shell commands and shell commands

Common Linux shell commands and shell commands I. Basic commands 1. Shut down immediately and restart again. Execute the following command: Shutdown-r now or reboot 2. Shut down immediately and execute the following command: Shutdown-h now or poweroff 3. Wait for two minutes to shut down and restart again. Execute the

Learn practical written interview techniques: Linux

Tags: Log weekend data other HTTPS inux simple order Linux1.f:\movies\ School Big Data Weekend class original (Wisdom Big Data third phase): the course is quite chaotic, in order to learn it1.linux Foundation: It turns out that Linux is useless. Be sure to install a virtual machine. 2018-05-27 Open.The server can only install Linux or UNIX. Because they are the m

Differentiate Linux built-in commands from external commands

Linux commands have internal commands and external commands, and internal commands are basically the same as external commands, but with subtle differences  Internal Command : part of the shell programTypically, the shell is loade

Linux traditional network configuration commands and ip advanced routing commands

Linux traditional network configuration command and ip advanced routing command-Linux Enterprise Application-Linux server application information, the following is a detailed description. Knowing how to configure network commands is a must-have technique for general technicians. After some time of research and study, I

Summary of common functions used to execute linux commands in PHP, and summary of phplinux commands

Summary of common functions used to execute linux commands in PHP, and summary of phplinux commands In general, php is rarely used to execute linux commands, but in special cases, you may use these functions. I used to know that there are two functions that can execute

Linux yum commands and yum commands

Linux yum commands and yum commands Yum (all called Yellow dog Updater, Modified) is a Shell front-end Package Manager in Fedora, RedHat, and SUSE. Based on RPM package management, You can automatically download and install the RPM package from the specified server, automatically handle dependencies, and install all dependent software packages at a time, you do n

Linux cd commands and several tips on cd commands

The linux cd command is one of the two commands with the highest usage in Linux. The other is ls, of course ), I have never known the tips for seeing a linux cd command two days ago. Cd-# Go Back To The Last directory. I didn't know this technique. It seems to be useful and I have omitted a lot of input. Cd! $ # Input

Scp commands for Linux learning and XCOPY commands for Windows

Scp commands for Linux learning and XCOPY commands for Windows 1. basic concepts scp commands are used for communication between Linux and Linux hosts, simply put, a linux host can use

Total Pages: 15 1 .... 11 12 13 14 15 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.