关闭

File Structure

815人阅读 评论(0) 收藏 举报
File Types
Ordinary: Text or code data
Directory:
a table of contents, that stores a list of files within that directory.
special files
Represent hardware or loqical devices.
eg.CD-ROM-Device is represented bt /dev/cd0

=========================================
File Structure

/             rooot
./sbin        System utilities. sbin=system binary.
./dev         files represent devices
./etc         system configuration.

/usr          user? contain system programs.
/usr/bin      user's binary. cmd such as ls, cat.
/home         contain user login directories and files
/var          files dynamically change
/tmp          hold files that are temporarily needed or created by app and program.

/opt          optional. contain Linux command. such as gzip, tar.
/proc         supported with AIX 5L. pseudo file system processes and kernel data structures to corresponding files.
===========================================

cmd:

pwd: print working directory
ls: list
mkdir: make directory.
mkdir -m //special with a perticular set of permissions.
mkdir -p // create multiple directory.
rmdir: remove directory, & directory must be empty.
istat: display i-noe stat.
touch: update access & modification times, or create zero-length files.
0
0
猜你在找
【直播】机器学习&数据挖掘7周实训--韦玮
【套餐】系统集成项目管理工程师顺利通关--徐朋
【直播】3小时掌握Docker最佳实战-徐西宁
【套餐】机器学习系列套餐(算法+实战)--唐宇迪
【直播】计算机视觉原理及实战--屈教授
【套餐】微信订阅号+服务号Java版 v2.0--翟东平
【直播】机器学习之矩阵--黄博士
【套餐】微信订阅号+服务号Java版 v2.0--翟东平
【直播】机器学习之凸优化--马博士
【套餐】Javascript 设计模式实战--曾亮
查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:6609次
    • 积分:92
    • 等级:
    • 排名:千里之外
    • 原创:3篇
    • 转载:1篇
    • 译文:0篇
    • 评论:1条
    文章分类
    文章存档
    I/T