zoukankan      html  css  js  c++  java
  • Yandex Big Data Essentials Week1 Unix Command Line Interface File System exploration

    File System Function

    In computing, a file system or filesystem is used to control how data is stored and retrieved. Without a file system, information placed in a storage medium would be one large body of data with no way to tell where one piece of information stops and the next begins. By separating the data into pieces and giving each piece a name, the information is easily isolated and identified. Taking its name from the way paper-based information systems are named, each group of data is called a “file”. The structure and logic rules used to manage the groups of information and their names is called a “file system”.

    Graphic File Manager

    • Gnome : Nautilus
    • Windows : Windows Explorer
    • Mac OS : Finder

    Bash

    • command interpretor
    • programming language
    • command processor that typically runs in a text windows,where the user types commands that cause
    • actions
    • can also read and execute commands from a file, called a script

    Basic commands to explore file system

    • ls -lSh : get the file list of the current path sorted by file size
    • cd [-L|-P] directory : change directory
    • pwd [OPTIONS] : Prints the whole pathname of the current directory
    • du [OPTION] .. [FILE] : estimates and displays the disk space by files
    • df [OPTION] … [FILE] : reports the amount of available disk space being used by file systems
    • man : man is the interface used to view the system’s reference manuals
    • mkdir [OPTIONS] DIRECTORY: creates directory on a file system
    • cp [OPTIONS] … SOURCE … DIRECTORY: makes copies of files and directory
    • mv [OPTIONS] … SOURCE … DIRECTORY: moves or rename files
    • rm [OPTIONS] … FILE … : removes (deletes) files or directories
    • touch [OPTION] … FILE … : changes file timestamp
  • 相关阅读:
    Linux下tty/pty/pts/ptmx详解
    ubuntu 12 或更高版本 下安装和配置 xrdp 远程登陆
    ubuntu+apache2+php5+mysql5.0的安装
    Ubuntu SSH 服务安装配置和使用
    ubuntu 12.10 进入命令行界面 (字符界面)
    ubuntu 下使用 cron 和 crontab
    Ubuntu用命令行发邮件mutt,报警发短信通知
    Ubuntu 安装 proftpd,并添加虚拟用户
    绝对有效的 ubuntu 12.xx 下 apache2 + svn 安装和配置方法
    添加android系统通知
  • 原文地址:https://www.cnblogs.com/infoflow/p/8975269.html
Copyright © 2011-2022 走看看