Basic Linux Exercises

Source: Internet
Author: User

1. List Linux distributions by series and describe the connection and difference between different distributions.

2, description of the use of the command on the Linux system format, details Ifconfig, Echo, TTY, STARTX, export, pwd, history, shutdown, Poweroff, reboot, Hwclock, the use of the date command , and is elaborated in conjunction with the corresponding example.

3, how to get the Help information of the command on the Linux system, please detailed list, and describe how the chapters of the man document are divided.

4. What are the file management commands on Linux, their commonly used methods and their related examples?

5. Bash's work characteristics the command execution status return value and command line expansion are involved in the content and its sample demonstration.

6. Use the command line expansion function to complete the following exercises:

(1), create/tmp directory: A_c, A_d, B_c, B_d

(2), create the/tmp/mylinux directory:

mylinux/

├──bin

├──boot

│└──grub

├──dev

├──etc

│├──rc.d

││└──init.d

│└──sysconfig

│└──network-scripts

├──lib

│└──modules

├──lib64

├──proc

├──sbin

├──sys

├──tmp

├──usr

│└──local

│├──bin

│└──sbin

└──var

├──lock

├──log

└──run

7, what is the metadata information of the file, what does it mean, how to view it? How to modify timestamp information for a file.

8. Display all files or directories in the/var directory that start with L, end with a lowercase letter, and have at least one digit (can have other characters) appear in the middle.

9. Displays files or directories that start with any number in the/etc directory and end with a non-numeric number.

10, Show/etc directory, start with a non-letter, followed by a letter and any other arbitrary length of any character file or directory.

11. In the/tmp directory, create a file that starts with Tfile, followed by the current date and time, with a filename such as: tfile-2016-09-20-09-32-22.

12. Copy all files or directories ending with. D in the/etc directory into the/tmp/mytest2 directory.

13. Copy all files in the/etc/directory that begin with L or M or N and end with. conf to the/TMP/MYTEST3 directory.

The second question in annex II is in annex I

Basic Linux Exercises

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.