Linux: File Command Proficient Guide-1-

xiaoxiao2021-03-06  41

Although the GUI desktop (such as KDE and GNOME) can help users use the Linux feature without the need for the functional knowledge of the command line interface, it is often necessary for more functionality and flexibility. Moreover, it is basically familiar with these commands to correctly automate certain functionality in the shell script. This article is a "fast tutorial" on Linux file commands, which is provided for users who just contact this operating system or just need to supplement this knowledge. It contains a concise overview of some more useful commands and guidance on their most powerful applications. The information contained below - combines some experiments - will enable you to easily grasp these basic commands. (Note: When involving a kernel combined with the Oracle Cluster File System (OCFS), the behavior of certain commands in these commands may be slightly different. In this case, Oracle provides an OCFS toolset, which The tool set can provide a better selection for file command applications.) Note that all examples included here are tested on SUSE Linux 8.0 Professional. Although there is no reason to believe that they will not work in other systems, but if you have problems, you should view your documentation for possible changes. Background concept allows us to review some basic knowledge before deep research specification. Files and commands are in the Linux / UNIX operating system, all things are treated as a file: hardware devices (including keyboards and terminals), directory, command itself, of course, there are files. This strange practice is actually the basis for Linux / UNIX's ability and flexibility. Most (almost all) command forms are as follows: command [option] [Source File (s)] [Target File] Get one of the most useful commands is those that provide help (especially those who learn Linux In the words). Two important sources of information in Linux are online reference manuals, or the Man page and whatis tool. You can use the Whatis command to access a MAN page that is unfamiliar command. $ Whats Echo To learn more about this command, you can use: $ man echo If you don't know the command required for a special task, you can use man -k (also known as Apropos) and a topic to generate possible The command. For example: $ man -k files A very useful but often ignored commands provide information about using Man itself: $ man man You can use spaceBar to browse any MAN page; UP Arrow will roll up the file up. To exit, type q,!, Or ctrl-z. User category Remember the name of the sentence "An example of all animals, but some animals are more equal than other animals"? In the Linux world, root users have everything. Root users can log in with another username SU (originate 'superUser'). To perform tasks such as adding a new user, printer, or file system, you must log in as root user or switch to superuser with the subscriber password. System files (including system files for control initialization) are owned by the root user. Although ordinary users may allow for their read operations, the rights of editing will be left to root users for system security. Although the Bash Shell provides other shells, Bash (Bash Again Shell) is the default shell of Linux.

转载请注明原文地址:https://www.9cbs.com/read-60955.html

New Post(0)