Linux basic commands

Source: Internet
Author: User

Linux basic commands

1. What is the symbolic representation of the absolute path? What is the current directory and top level directory used for? What does the home directory say? What are the commands for switching directories?

2. How do I view the current process? How do I exit? How do I view the current path?

3. How to clear the screen? How do I exit the current command? How do I sleep? How do I view the current user ID? What commands do you use to view specified help?

4. what function does Ls command perform? Which parameters can be taken, what is the difference?

5. Create a soft link (shortcut), and a hard-link command.

6. What are the commands for directory creation? What are the commands for creating files? What are the commands for copying files?

7. What are the commands for modifying file permissions? What is the format?

8. What commands can I use to view the contents of a file?

9. Feel free to write a file command? How to output a string with spaces, such as "Hello World" to the screen?

10. Which file is in which folder is the terminal? Which command is under which folder is the black hole file?

11. Which command is used to move files? Which command is used for renaming?

12. Which command is used to copy files? What if you need to copy the folder together? How do I need to have prompt function?

13. Which command is used to delete a file? What if I need to delete a file in the directory and directory? What are the commands for deleting empty folders?

What kinds of wildcard characters can I use for Linux commands? What does each mean?

15. What command is used to count the contents of a file? (line number, number of words, number of bytes)

What is the use of the. grep command? How do I ignore the case? How do I find rows that do not contain the string?

What are the different states of a process in Linux? What symbols are represented in the information displayed by PS?

18. How do I make a command run in the background?

19. How do I display all the processes using PS? How do I use PS to view information for a specified process?

20. Which command is dedicated to viewing background tasks?

21. What commands do I use to move the background task to the foreground? What commands do I have to perform in the background to stop a background task?

22. What command is used to terminate the process? With what parameters?

23. How do I view all the signals supported by the system?

24. What are the commands for searching for files? What is the format?

25. View who is currently using the host with what command? What commands do you use to find your terminal information?

26. What commands are used to view the list of used commands?

27. What commands do you use to view disk space usage? What about free space?

28. What commands are used to see if the network is connected?

29. What commands are used to view IP address and interface information?

30. What are the commands for viewing various environment variables?

31. What commands do you use to specify a command prompt?

32. Where do I find the executable file for the command? How do I set it up and add it?

33. What commands do I use to find the execution command?

34. How do I alias a command?

Linux Programming

1. List several functions related to Linux memory management, what are their functions?

2. What are the options for GCC to compile only? What are the options for preprocessing only? What are the options for defining macros on the command line?

3. How to create a static library using the Linux static library? How do I use a static library? What is the suffix name of the static library file? Naming conventions for static libraries.

4. The role of NM tools, the role of LDD tools.

5. How to create a dynamic library using the Linux dynamic library? What is the suffix name of the dynamic library file? How do I use a dynamic library? Naming conventions for dynamic libraries? What is the system default dynamic library lookup path? What is the system library used by the dynamic library to display connections?

6. Make and Makefile under Linux. What parameters do you use to specify the makefile file? What is the default makefile file.

7. Under which folder is all the information about the process running?

8. Which three file devices does each program open by default?

9. What is the read and write function of the action file descriptor? Open the file descriptor and close the file descriptor function?

The FCNTL function has several main functions.

11. Create several functions of the process, and their respective differences.

12. The parent process ends first, and the child process becomes? The child process ends first, and the child process becomes?

13. How do I get the parent process to reclaim the child process? Several of the related functions.

14. Replication issues with the memory resources of the parent process when the child process is created.

15. What is the macro for interrupt signal, stop signal, timer signal?

16. What function is used to register the signal and send the signal in the program?

17. Signal reliability and unreliable meaning. Which signals are reliable? Which signals are unreliable?

18. What function is used for signal shielding? The role of Sigsuspend? The role of sigpending?

19. Will the signal processing function be interrupted when processing the signal?

20. The latest version of the signal sending and processing functions? What is the difference between a send and a data function with an older version?

What are the communication methods (IPC) of the process under Linux?

The TCP server programming model.

A. UDP server programming model.

The TCP programming feature, what options are generally used because of the arrival of each indefinite length of data?

What is the selected model? What is the difference between a multi-process implementation approach? The difference between Selected, Epoll model, poll model.

26. What are the common socket options? Which function is used to set the socket option?

27. How do I send and set out out-of-band (OOB) data?

What are the multi-threaded libraries under Linux? Which function is used to create the thread? Which function is used to force the end thread? The function used by the main thread to wait for the child thread to end?

29. How can threads do some aftercare when forced to quit? And how to deal with it in a Linux-specific way?

Linux basic commands

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.