background preloader

Linux Directory Structure (File System Structure) Explained with Examples

Linux Directory Structure (File System Structure) Explained with Examples
by Ramesh Natarajan on September 8, 2010 Have you wondered why certain programs are located under /bin, or /sbin, or /usr/bin, or /usr/sbin? For example, less command is located under /usr/bin directory. Why not /bin, or /sbin, or /usr/sbin? What is the different between all these directories? In this article, let us review the Linux filesystem structures and understand the meaning of individual high-level directories. 1. / – Root Every single file and directory starts from the root directory.Only root user has write privilege under this directory.Please note that /root is root user’s home directory, which is not same as /. 2. Contains binary executables.Common linux commands you need to use in single-user modes are located under this directory.Commands used by all the users of the system are located here.For example: ps, ls, ping, grep, cp. 3. 4. 5. Contains device files.These include terminal devices, usb, or any device attached to the system.For example: /dev/tty1, /dev/usbmon0 6. 7. 8. 9.

Time dilation Time dilation explains why two working clocks will report different times after different accelerations. For example, ISS astronauts return from missions having aged slightly less than they would have been if they had remained on Earth, and GPS satellites work because they adjust for similar bending of spacetime to coordinate with systems on Earth.[1] An accurate clock at rest with respect to one observer may be measured to tick at a different rate when compared to a second observer's own equally accurate clocks. This effect arises neither from technical aspects of the clocks nor from the fact that signals need time to propagate, but from the nature of spacetime itself. Overview[edit] In theory, and to make a clearer example, time dilation could affect planned meetings for astronauts with advanced technologies and greater travel speeds.

Skip Graduate School, Save $32,000, Do This Instead Three years ago, I invested $32,000 and the better part of two years at the University of Washington for a master's degree in International Studies. The verdict? It wasn't a complete waste of time and money. Once I accepted that 80% of the course requirements were designed to keep people busy, I enjoyed the other 20% of the work. 15 Examples To Master Linux Command Line History When you are using Linux command line frequently, using the history effectively can be a major productivity boost. In fact, once you have mastered the 15 examples that I’ve provided here, you’ll find using command line more enjoyable and fun. 1.

7 Tasks You Shouldn’t Use a GUI For Sometimes the GUI is just too slow. Learn how to resize images, add drop shadows, splice mp3s, clone hard drives and more with the command line. Here are a few tasks that you might want to consider using the command line for. 1. Lackadaisy Expressions Boy, I didn't know what I was getting myself into when I started this. I've had requests for some sort of expressions tutorial dating back a while now, so I figured, "Sure! I can explain expression drawing...and it'll be way better than all those tutorials out there that are nothing but charts of generic expressions.

25 Best SSH Commands / Tricks « UrFix's Blog OpenSSH is a FREE version of the SSH connectivity tools that technical users of the Internet rely on. Users of telnet, rlogin, and ftp may not realize that their password is transmitted across the Internet unencrypted, but it is. OpenSSH encrypts all traffic (including passwords) to effectively eliminate eavesdropping, connection hijacking, and other attacks. The encryption that OpenSSH provides has been strong enough to earn the trust of Trend Micro and other providers of cloud computing.Additionally, OpenSSH provides secure tunneling capabilities and several authentication methods, and supports all SSH protocol versions. SSH is an awesome powerful tool, there are unlimited possibility when it comes to SSH, heres the top Voted SSH commands 1) Copy ssh keys to user@host to enable password-less ssh logins.

Unix LS Command: 15 Practical Examples ls – Unix users and sysadmins cannot live without this two letter command. Whether you use it 10 times a day or 100 times a day, knowing the power of ls command can make your command line journey enjoyable. In this article, let us review 15 practical examples of the mighty ls command. 1. Open Last Edited File Using ls -t Linux Newbie Guide: Shortcuts And Commands [an error occurred while processing this directive] Linux Shortcuts and Commands: Linux Newbie Administrator Guideby Stan and Peter Klimas This is a practical selection of the commands we use most often. Press <Tab> to see the listing of all available command (on your PATH). Step 7. Take the bottom piece of the can and start to ruffle the perimeter of the can with your thumb. (Figure 10.) You don’t want creases, just ruffles. bash commands - Linux MAN Pages Commands marked • are bash built-ins Many commands particularly the Core Utils are also available under alternate shells (C shell, Korn shell etc). More bash commands: Linux Command Directory from O'Reilly, GNU CoreUtils.SS64 bash discussion forumLinks to other Sites, books etc