Miscellaneous
  Home arrow Miscellaneous arrow In Detail: UNIX File Systems
Codewalker Forums 
  Tutorials  
Database Articles  
Miscellaneous  
Navigation Usability  
PEAR Articles  
Programming Basics  
Server Administration  
XML Tutorials  
  Reviews  
Database Book Reviews  
Linux Book Reviews  
Miscellaneous Reviews  
PHP Book Reviews  
PHP Software Reviews  
Server Admin Reviews  
SQL Tool Reviews  
  Code Gallery  
Content Management Code  
Contest Code  
Counters Code  
Database Code  
Date Time Code  
Discussion Board Code  
Email Code  
File Manipulation Code  
GUI Code  
Link Farm Code  
Miscellaneous Code  
Search Code  
Site Navigation Code  
User Management Code  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Download TestComplete 
Forums Sitemap 
Weekly Newsletter 
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MISCELLANEOUS

In Detail: UNIX File Systems
By: Gabor Bernat
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2009-04-01

    Table of Contents:
  • In Detail: UNIX File Systems
  • Mounting file systems
  • Links in UNIX
  • The standard files and directions
  • File names on the shell command line

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    In Detail: UNIX File Systems


    (Page 1 of 5 )

    The dream of every designer is to make something that works perfectly, or at least almost perfectly. Achieving this goal requires an investment of countless hours and effort. Additionally, most of the time you'll need to take care of many details. During our previous meeting, I presented the general concept of the file system in UNIX and the rights system that governs UNIX systems. Now we need to look into the details of the file system.

    This article will explain concepts like time stamps on files, symbolic and hard links, the mount command and a couple of other ideas that will help you later on. The article is UNIX/Shell Programming oriented. It will present some of the theories that you can use with these technologies. Of course, the most important tool remains the terminal. 

    If you missed my previous articles, please make sure you read them. Otherwise, the whole picture will not be clear. Now let us get straight to the subject. Time stamps on UNIX files will show you the last time a file was messed with. There are three types of time stamps, and every file contains this information inside the i-node structure (which I will explain later on).  

    Time stamps are in fact big integer numbers inside the structure. This is the UNIX timestamp. This represents the number of seconds elapsed since January 1, 1970, given in a concrete moment. We can list these stamps with the help of the ls command. To sort files by their timestamps, we will also add the -t option. 

    1) The last access time (atime):  

    ls -ltu

     2) The modification time (mtime): 

    ls -lt

     3) The last time a status change to the rights of the file was made (ctime): 

    ls -lct

    Go ahead and start up your terminal. Make a couple of files; change the rights on them and experience how this works. This is worth at least the effort you've invested into reading this article so far. 

    More Miscellaneous Articles
    More By Gabor Bernat


     

    MISCELLANEOUS ARTICLES

    - Install Slackware on Your Old PC
    - Firefox Plugins You`re Not Using (and Should...
    - Working with MP3 ID3 Tags in FTP Server Usin...
    - How Switching to Linux Can Make Your Computi...
    - Set Up Your Home Office on Linux: a Guide fo...
    - Putty File Transfer Commands in SSH Protocol
    - Setting Up Ubuntu for Your Home Office
    - Installing Mint Linux
    - Crucial Traits of Awk
    - Using PHP to Stream MP3 Files and Prevent Il...
    - 10 Must Have Firefox Improvements
    - All About OpenOffice 3.0
    - Shell Script Writing
    - Loops in the UNIX Shell
    - The Test in the UNIX Shell





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 8 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek