61Chapter 2Running Commands from the ShellIf you were (Free web hosting music)

61Chapter 2Running Commands from the ShellIf you were to map out the files and directories in Linux, it would look like anupside-down tree. At the top is the root directory, which is represented by a singleslash (/). Below that is a set of common directories in the Linux system, such asbin, dev, home, lib, and tmp, to name a few. Each of those directories, as well asdirectories added to the root, can contain subdirectories. Figure 2-1 illustrates how the Linux file system is organized as a hierarchy. Todemonstrate how directories are connected, the figure shows a /homedirectorythat contains subdirectories for three users: chris, mary, and tom. Within thechrisdirectory are subdirectories: briefs, memos, and personal. To refer to afilecalled inventoryin the chris/memosdirectory, you could type the full pathof/home/chris/memos/inventory. If your current directory were /home/ chris/memos, you could refer to the file as simply inventory. Figure 2-1:The Linux file system is organized as a hierarchy of directories. Some of the Linux directories that may interest you include the following: ./bin Contains common Linux user commands, such as ls, sort, date, andchmod. ./boot Has the bootable Linux kernel and boot loader configuration files(GRUB). ./dev Contains files representing access points to devices on your systems. These include terminal devices (tty*), floppy disks (fd*), hard disks (hd*), RAM (ram*), and CD-ROM (cd*). (Users normally access these devices directlythrough the device files.) ./etc Contains administrative configuration files. bin/dev/etc/home/ / root/ chris/mary/tom/ briefs/memos/personal/ tmp/ …
Note: If you are looking for high quality webhost to host and run your jsp application check Vision jsp web hosting services

Leave a Reply