Alibabacloud.com offers a wide variety of articles about linux commands for interview, easily find your linux commands for interview information here online.
and compressed with gzipTAR-JCVF/HOME/ABC.TAR.BZ2/HOME/ABC packaged and compressed with bzip2Of course, if you want to decompress, just replace the above command TAR-CVF/TAR-ZCVF/TAR-JCVF "C" in the "X".Shut down/Restart the machineShutdown-R shutdown Restart-H shutdown does not restartNow turn the machine off.Halt shut down the machineReboot restartLinux PipelinesUse the standard output of one command as the standard input for another command. That is, the combination of several
20 Linux Command Interview Questions and answersQ: 1. How can I view the running level of the current Linux server? A: the who-r and runlevel commands can be used to view the running level of the current Linux server.Running level:0-downtime (do not set initdefault to 0) 1-S
Commands for viewing hardware device information in linux and for viewing hardware commands in linux
Reprinted: http://blog.chinaunix.net/uid-26782198-id-3242120.html
# Uname-a # view kernel/operating system/CPU Information# Head-n 1/etc/issue # view the operating system version# Cat/proc/cpuinfo # view CPU Information
Summary of common linux commands and common linux commands
I. Summary of common linux commands
Cd: Open the Directory
Cd/home to the '/home' directory'
Cd .. back to the upper-level directory
Cd... returns the last two levels
Crontab for linux commands and crontab for linux commandsCron is a built-in service in Linux. Run the following commands to start, view, and disable the service.
Service cron start // start service cron stop // close service cron restart // restart service cron reload // rel
[] One of the interview questions for C/C ++, a Linux Application Development Engineer: synchronization of multi-threaded programs in Linux
Reference: three methods for Linux Thread Synchronization
Link: http://www.cnblogs.com/eleclsc/p/5838790.html
Brief answer:
In Linux, t
Q: 1 How do I check the current operating level of a Linux server?A: The ' who-r ' and ' runlevel ' commands can be used to view the running level of the current Linux server.Q: 2 How do I see the default gateway for Linux?A: With the "Route-n" and "NETSTAT-NR" commands, we
Accumulate common linux commands and common linux commandsAccumulate common linux commands
Record problems encountered in daily life:
Linux files contain ^ M The shell command tr can be used for removal. The specific command is
Basic Linux commands and Linux commands
Cd-> transform path // file usually exists under/var/path, var can be modified storage disk
Ls-> list all properties of hidden and Related Files # ls-al
# Ls-al
-Rwxrwxrwx 1 root 293 2016-02-23 test
File property connection count file owner file user group size time file name
-Rw
Common Linux commands and common linux commands
1. Common commands
Ls displays the files and folders in the current directory;
-Ltr displays detailed information about files and folders in chronological order. Only folders and files are displayed without parameters.
Vi O
Common Linux commands and common linux commandsLinux yum command
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 softwar
Linux Study Notes (7) common Linux commands: compression and decompression commands, learning notes compression and decompression(1) gzip
The gzip command is used to compress files. The original English meaning is GNU zip. The path is/bin/gzip. The syntax format is as follows:
Gzip [file]
The file format is .gz.
For ex
Linux File Management commands and linux commands
Directory management:
Ls cd pwd mkdir rmdir tree
File Management:
Touch stat file rm cp mv nano
Date and Time:
Date clock hwclock cal
View text:
Cat tac more less head tail
Cat: connect and display (multiple files can be connected)
Split-screen display:
More, less
Mor
Common linux commands and common linux commands
1. Change the group to which the chgrp belongs:
For example, change the group of install. log to users.
chgrp users install.log
ls –l
View results: root users 68495 25 install. log
Owner Group
2. chown changes the owner
For example, change the owner of the
002day -- common linux commands and common linux commands
Exit terminal command: exit
Command to disable Linux: init 0
How to switch the virtual terminal: Ctrl + Alt + F [1 ~ 6]
Who command: check how many terminals are open
Whoami command: Get the current user name
Da
Common Linux commands (16) and common linux commands
The whereis command can only be used for searching program names (where is the program installed ?), Only binary files (parameter-B), man description files (parameter-m), and source code files (parameter-s) are searched ). If the parameter is omitted, all information
Common Linux commands (10) and common Linux commands (
The nl command is used in linux to calculate the row number in the file. Nl can automatically add the row number to the output file content! The default result is a little different from cat-n. nl can compare multiple di
Network Communication commands (relatively simple): 1. writeusrbinwritewrite [user name] is used to send information to the user, provided that the user has logged on to the server host, otherwise, therefore, write is a real-time communication tool
Network Communication commands (relatively simple ):
1. write/usr/bin/write
Write [user name]
Used to send information to a user, provided that the user has logg
20 Linux Command Interview Questions and answers
Q: 1. How can I view the running level of the current Linux server?
A: The 'Who-R' and 'runlevel' commands can be used to view the running level of the current Linux server.
Q: 2. How do I view the default gateway of
Linux is just a personal hobby, before a little touch, the school of this part of the learning arrangements in the next semester, and they are now ready to practice, many companies on the operating system and Linux inspection is more, whether in the written test or interview, is a summary of their own knowledge and review it, From all over the internet to collect
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.