1. 程式人生 > >Yandex Big Data Essentials Week1 Unix Command Line Interface File System exploration

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

相關推薦

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

使用Data Loader Command Line Interface定時同步資料到Salesforce

【前言】: 在做一個金融專案的二次開發的時候,客戶說定時同步資料沒成功,在沒有足夠業務背景情況下,我調查了相關資料整合的程式碼,並沒發現sf上有任何資料整合或者定時任務,幾經周折後,客戶發了第一波實施文

MYSQL報警:Warning: Using a password on the command line interface can be insecure.

color col fig文件 成功 efault 如果 輸入 nbsp pre 問題描述:執行下面的語句,sql是執行成功了,但是出現了一個報警,報警看上去始終不舒服 mysql -hip -Pport -uuser -ppassword -e "use db;de

Warning: Using a password on the command line interface can be insecure.解決辦法

com localhost log dev title war cli too edit 轉自 http://www.cnblogs.com/sunss/p/6256706.html 被一個小朋友問到,直接公布答案: If your MySQL cli

MysqL5.7在使用mysqldump命令備份數據庫報錯:mysqldump: [Warning] Using a password on the command line interface can be insecure.

導出 interface password spm 可能 tmp efm extra tps 在阿裏雲服務器增加一個shell腳本定時備份數據庫腳本執行任務時,測試性的執行了備份命令,如下 [root@iZ2ze503xw2q1fftv5rhboZ mysql_bak

zabbix監控mysql之Warning: Using a password on the command line interface can be insecure.

command fff agentd ack warning using 5.6 mys 方法 今天在添加zabbix對2臺mysql服務器監控的時候,其中有一臺的item報如下錯誤: Value "Warning: Using a password on the comm

Warning: Using a password on the command line interface can be insecure.

mysqldump war mysql密碼 編輯 inter The sin extra 賬號 1、編輯文件 /usr/local/mysql-5.6/my.cnf 在 [mysqldump] 下邊加入 user=你的mysql賬號password=你的mysql密碼 2

MySQL5.6警告信息 command line interface can be insecur

you mysql 5.6 interface lin etc scrip dump 避免 backup MySQL 5.6 警告信息 command line interface can be insecure 在命令行輸入密碼,就會提示這些安全警告信息。 Warnin

mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 2002 (HY000):

使用Ubuntu16.04出現的問題:mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 2002 (HY000): Can’t connect to local M

Mysql:備份提示Using a password on the command line interface

問題: 使用mysqldump備份警告:Warning: Using a password on the command line interface can be insecure. 原因: mysql 5.6版本之後,使用 mysqldump dbName -r - p &g

mysql 備份報錯mysqldump: [Warning] Using a password on the command line interface can be insecure.

用戶名 mysql mysql 備份 bsp 目錄 comm line 添加 -- -------------------------------------------------------------------------------- mysql 備份報錯mys

Building a Network Command Line Interface in Go

In this article, we are going to be building a very simple Command Line Interface in Go using the urfave/cli package available on Github here: http

Building a Command-line Interface in JavaScript with OClif

$ npm init #will create a new package.json file with the data you provide for the current directory $ npm install oclif #will insta

zabbix監控mysql :Warning: Using a password on the command line interface can be insecure.

使用zabbix自帶模板對mysql進行監控時,發現mysql5.6以上版本在使用mysqladmin時會發出警告: “Warning: Using a password on the command line interface can be insec

AWS Command Line Interface

Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So

MYSQL 5.7 Linux指令碼出現[Warning] Using a password on the command line interface can be insecure.

MYSQL版本:5.7在學習使用linux指令碼來更新資料庫中的資料,實現更新資料庫版本的需求時碰到:在寫linux指令碼執行MYSQL命令的時候,如果使用MYSQL="mysql -hlocalhost -P3306 -uroot -p666666 --default-ch

xmind - C:\Users\xxx\Application Data could not be created '-configuration' command line option.

The configuration area at'C:\Users\xxx\Application Data\XMind\configuration-cathy win32-R3.7.8.201807240049' could not be created. Please choose a wri

C:\Users\xxx\Application Data could not be created '-configuration' command line option.

The configuration area at'C:\Users\xxx\Application Data\XMind\configuration-cathy win32-R3.7.8.201807240049' could not be created. Please

[Linux] The Linux Command Line

prop 歷史 系列 復制文件 換行 his 刪除 可執行 符號 date: 顯示當前系統的時間和日期 cal: 顯示當月的日歷 df: 查看磁盤驅動器當前的可用空間 free: 顯示可用內存 exit: 關閉終端窗口 pwd: 查看當前工作目錄 cd: 改變工作目錄 ls

【原】The Linux Command Line - Redirection

report tee edi each new linux c pattern ext rom ● cat - Concatenate files● sort - Sort lines of text● uniq - Report or omit repeated line