free

displays the total amount of free and used memory
free [options]

top

provides a dynamic real-time view of a running system
top [options]

ps

provides snapshot of the status of currently running processes
ps [options]

kill

sends a signal to a process
kill [-s][-l] %pid

nice

runs a command with a modified scheduling priority
nice [OPTION] [COMMAND [ARG] …]

课程总结:

Command Description
awk interpreted programming language text processing
awk -F set the separator
cat Display the contents of a file at the command line,is also used to copy and or append text files into a document. Named after it’s function to con-cate-nate files.
cd Change the current working directory.Also known as chdir
cd / Change the current directory to root directory
cd .. Change the current directory to parent directory
cd ~ Change the current directory to your home directory
cp Make copies of files and directories
cp -r Copy directories recursively
cut Drop sections of each line fo iniput by bytes,characters, or fields,separated by a delimiter (the tab character by default)
cut -d -f -d is for delimiter instead of tab character,-f select only those fields(ex.: ” cut -d “,” -f1 multilined_file.txt” -will mean that we select only the first field from each comma-separated line in the file
du Estimate (and display) the file space usage -space used under a particular directory or file on a file system
df Display the amount of available disk space being used by file systems.
df -h use human readable format
free Display the total amount of free and used memory(use vm_stat instead on MacOS).
free -m Display the amount of memory in megabytes
feee -g Display the amount of memory in gigabytes
grep Process text and print any lines which match a regular expression(“global regular expression print”)
head Print the beginning of a text file or piped data.By default,outputs the first 10 lines of its input to the commannd line
head -n Output the first n lines of input data(ex: “head -5 multilined_file.txt”)
kill Send a signal to kill a process. The default signal for kill is TERM(which will terminate the process)
less is similar to more,but has extended capability of allowing both forward and backward navigation through the file
ls List the content of a directory
ls -l List the contents of a directory + use a long format,displaying Unix file types,permissions,number of hard links, owner,group,size,last-modified data and filename.
ls -lh List the contents of a directory + print sizes in human readable format.(eg. 1k,234M,2G,etc)
ls -lS Sort by file size
man Display the man pages with provide documentation about commands,system calls,library routines and the kernel
mkdir Create a directory on a file system.
more Display the contents of a text file one screen at a time
mv Rename files or directories or move them to a different directory
nice Run a command with a modified scheduling priority.
ps Provide information about the currently running process,including their process identification numbers (PIDS)(“process status”)
ps a select all processes except both session leader and processes not associated with terminal.
pwd Abbreviated from “print working directory”,pwd writes the full pathname of the current working directory.
rm Remove files or directory
rm -r Remove directories and their contents recursively.
sort Sort the contents of a text file.
sort -r Sort the output in the reverse order. Reverse means - to reverse the result of comparsions
sort -k -k or –key=POS1[,POS2] Start a key at POS1 (origin 1), end it at POS2 (default end of the line) (ex.: “sort -k2,2 multilined_file.txt”).
sort -n Compare according to string numerical value.
tail Print the tail end of a text file or piped data. Be default, outputs the last 10 lines of its input to the command line.
tail -n Output the last n lines of input data (ex.: “tail -2 multilined_file.txt”).
top Produce an ordered list of running processes selected by user-specified criteria, and updates it periodically.
touch Update the access date and or modification date of a file or directory or create an empty file.
tr Replace or remove specific characters in its input data set (“translate”).
tr -d Delete characters, do not translate.
vim Is a text editor (“vi improved”). It can be used for editing any kind of text and is especially suited for editing computer programs.
wc Print a count of lines, words and bytes for each input file (“word count”)
wc -c Print only the number of characters.
wc -l Print only the number of lines.

Yandex Big Data Essentials Week1 Unix Command Line Interface Processes managing的更多相关文章

  1. Yandex Big Data Essentials Week1 Unix Command Line Interface File Content exploration

    cat displays the contents of a file at the command line copies or apppend text file into a document ...

  2. 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 ...

  3. Yandex Big Data Essentials Week1 Scaling Distributed File System

    GFS Key Components components failures are a norm even space utilisation write-once-read-many GFS an ...

  4. Data Science at the Command Line学习笔记(一)

    学习Data Science at the Command Line时,win7下安装环境是遇到了一些小问题,最后通过百度解决. 官方指导可以在这个地址找到:http://datascienceatt ...

  5. atprogram.exe : Atmel Studio Command Line Interface

    C:\Program Files\Atmel\Atmel Studio 6.1\atbackend\atprogram.exe No command specified.Atmel Studio Co ...

  6. Centos下_MysqL5.7在使用mysqldump命令备份数据库报错:mysqldump: [Warning] Using a password on the command line interface can be insecure.

    在阿里云服务器增加一个shell脚本定时备份数据库脚本执行任务时,测试性的执行了备份命令,如下 [root@iZ2ze503xw2q1fftv5rhboZ mysql_bak]# /usr/local ...

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

    [root@qttc ~]# /usr/local/mysql/bin/mysqldump  -uroot -proot db > bak.sqlWarning: Using a passwor ...

  8. vue-cli 脚手架 Command Line Interface

    mac sudo npm install -g nrm sudo npm config -g set unsafe-perm sudo npm install webpack@3.0.0 -g sud ...

  9. Install the AWS Command Line Interface on Linux

    Install the AWS Command Line Interface on Linux You can install the AWS Command Line Interface and i ...

随机推荐

  1. WIN10升级后输入法无法输入中文

    查看是否安装了中文输入法,可能在升级后用户文件出现问题. 在设置>语言.添加一下中文输入法.

  2. python检查是否是闰年

    检查的依据: 闰年可以被4整除不能被100整除,或者可以被400整除. year = int(input("请输入年份:")) if year % 4 == 0 and year ...

  3. cogs 293. [NOI 2000] 单词查找树 Trie树字典树

    293. [NOI 2000] 单词查找树 ★★☆   输入文件:trie.in   输出文件:trie.out   简单对比时间限制:1 s   内存限制:128 MB 在进行文法分析的时候,通常需 ...

  4. 研究僧丨Window实用利器分享

    本人CS在读小硕,平时工作环境主要是win10加ubuntu,下面推荐一些我用过且觉得不错的应用. PS:我列举的应用基本被下面的网站收录,大家不妨去里面淘淘看. Windows 绝妙项目 Aweso ...

  5. 8.Java的特性和优势

    简单性:可以说Java是C++语法的纯净版,没有头文件,没有指针运算,也不用分配内存. 面向对象:是一种程序设计技术,它将重点放在对象以及对象的接口上,模拟人的思维写程序,所以人去学习非常快.因此,J ...

  6. newSQL 到底是什么?

    数据库发展至今已经有3代了: SQL,传统关系型数据库,例如 MySQL noSQL,例如 MongoDB newSQL SQL 的问题 互联网在本世纪初开始迅速发展,互联网应用的用户规模.数据量都越 ...

  7. 各种反弹shell方法总结

    获取shell的方法总结: shell分为两种,一种是正向shell,另一种是反向shell.如果客户端连接服务器,客户端主动连接服务器,就称为正向shell.如果客户端连接服务器,服务器想要获得客户 ...

  8. beta版本发布说明与总结

    1.发布说明: 软件介绍: deta版本的发布最终是一个可安装使用的窗体程序,已经由Alpha版本的应用解决方案完成到一个程序: deta版本解决了Alpha版本遗留的软件技术方面错误问题,以及针对有 ...

  9. 解决 C# GetPixel 和 SetPixel 效率问题(转)

    在对Bitmap图片操作的时候,有时需要用到获取或设置像素颜色方法:GetPixel 和 SetPixel, 如果直接对这两个方法进行操作的话速度很慢,这里我们可以通过把数据提取出来操作,然后操作完在 ...

  10. HTML:一张思维导图搞懂HTML

    HTML常用标签及其用法