Index Situation SensitivityFile ExtensionsHidden FilesFile System ControlsThe Directory StructureHome Directories in a Network EnvironmentStoring Files in /tmpAll users, including the superuser, have their own directories where all private data such as documents, addresses or emails are archived. The Ripper user can only modify central configuration files or system directories that contain executable files. Learn more about access permissions and how to change them to suit your file permission editing needs. Say no to plagiarism. Get a tailor-made essay on "Why Violent Video Games Shouldn't Be Banned"? Get an original essay In Linux, you can choose whether you want to manage files and folders with the file manager or whether you want to use a traditional command line. The latter is usually faster, but some commands require more in-depth knowledge of file listing, creating, deleting, or modifying files. For more information about commands used to modify files, see "Working with Files and Directories." File Manager provides a more intuitive and graphical way to perform these tasks. Learn more about GNOME and KDE file managers in the GNOME User Guide and KDE User Guide. Regardless of the method, you choose: The following sections provide basic information about the file system and provide an overview of the default directory structure for Linux. In Linux, all files and directories resemble a tree. The top directory is called the root file system or just / (not to be confused with the root user). / In Windows system maybe it will be C: . All other directories in Linux are accessible from the root directory and organized in a hierarchical structure. The Linux file system basics listed below highlight some of the key differences between Linux and the Windows/DOS file system: Select Tracks. Unlike the Windows operating system, Linux does not use backslashes for separate components for the path name; use a backslash instead. For example, data can be stored for Windows users in C:Documents Mail, while in Linux/Home/Username/Litters.Plates, Engines/Hardware, and Manuals. Linux does not use drive letters like Windows does. In the Linux operating system, you can't tell from the perspective of just one "normal" path name, partition, drive, device, network device, or directory. Installation and separation. Another important difference between Windows/DOS and Linux is the concept of installing and removing partitions, drivers, or directories. During the Windows startup process, partitions detect drivers and assign them a drive letter. However, partitions in Linux devices are usually invisible in the directory tree unless they are connected; this means that the directory tree is integrated into the file system at a particular location. As a normal user, you cannot access data in a partition or device unless it is inserted. However, don't worry: in most cases you don't need to manually connect partitions or devices. During system installation, you can identify which parts will be installed automatically when the system boots. Removable devices are usually automatically detected and installed by the system. Desktop environments like KDE or Gnome will tell you what a new device will look like. At first glance, this concept of installation and separation may seem complicated or cumbersome, which offers great flexibility: for example, it can be easily installed from another device on the network into a directory and you can move around this directory as you think about yourlocal machine. The sensitivity of the situationWho distinguishes between upper and lower characters in the file system. For example, due to the file name test.txt, TeST.txt or Test.txt will make a difference in Linux. This also applies to directories: you cannot access a directory called Messages by name. File Extensions As in the Windows operating system, files on Linux can have a file extension, such as .txt, but it is not necessary to add it. When you start working with Shell, sometimes you are used to listing the contents of a directory which makes it difficult for beginners to create differences between files and folders, depending on the commands. Learn more about some of Shell's top orders in Shell Essentials. If you use the graphical file manager in KDE or GNOME (see the GNOME user guide and the KDE user manual), files and folders, depending on which view symbolize the different icons you choose. Hidden Files Linux, like Windows, also finds hidden files with "normal" files. These are usually configuration files that you don't want to see or access as a normal user. In Linux, hidden files are referred to as a period (for example, .hiddenfile). (Chapter 1, Introduction to the KDE Desktop, ? KDE User Guide) can now be viewed as a manager of a line or shell appearance, you can use a particular command using the "Command Options" section As described in Controls File System Since Linux is a multi-user system, each file in the Linux file system belongs to a user and a group. Only a file or directory (or, of course, root) can be granted access to other users who own it. It basically distinguishes between three different types of access permissions: write permission, read permission and execute permission. You can access a file or folder if you have at least read permission. There are several ways to change the access permissions of files and folders: traditionally via the shell or with the help of your desktop's file manager (see Section “Changing Access Permissions” (Chapter 1, Getting Started with the KDE Desktop, ? KDE User Guide)). a file or folder. Read how to do this in a shell in Changing file permissions. For more detailed information about file system permissions, refer to File Access Permissions. In addition to the traditional concept of permissions for file system objects, there are also extensions that handle permissions more flexibly. More information in the chapter Access Control Lists in Linux (?Reference). The Directory Structure The following table provides a brief overview of the most important top-level directories found on a Linux system. You will find more detailed information about important directories and subdirectories in the following list. The following list provides more detailed information and gives some examples of what files and subdirectories can be found in the directories:/binContains basic shell commands that can be used by both root and other users. These commands include ls, mkdir, cp, mv, rm, and rmdir. /bin also contains Bash, the default shell in openSUSE./bootContains data required for startups, such as the bootloader, kernel, and other data used before the kernel starts running user-mode programs./devContains device files representing hardware components./etc. Contains local configuration files that control the operation of programs such as the X Window System. The /etc/init.d subdirectory contains scripts that run during the boot process. /home/usernameContains the private data of each user who has an account on the system. Files located here can only be modified by the owner or”.
tags