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. 初级程序员如何一分钟?解决一个BUG

    博主说明 -- 重要.重要.重要的事情说三遍 写这篇文章是主要锻炼写博客的能力以及记录自己的成长经历,要是写的不对欢迎大佬评论指正,同时希望对大家有所帮助.然后我写博客尽量简洁+图片+宏观的方式,便于 ...

  2. Longhorn入门级教程!轻松实现持久化存储!

    介 绍 在本文中你将学会如何使用k3s在Civo上运行Longhorn.如果你还没使用过Civo,可以到官网注册(https://www.civo.com/ )还可以申请免费的使用额度.首先,需要一个 ...

  3. Spring Cloud(二):Web服务客户端之Ribbon

    上文介绍了服务如何通过Eureka实现注册,以及如何从Eureka获取已经注册的服务列表.那么拿到注册服务列表后, 如何进行服务调用?一个简单的实现是可以从被调用服务的实例列表中选择一个服务实例,通过 ...

  4. 探究公钥、私钥、对称加密、非对称加密、hash加密、数字签名、数字证书、CA认证、https它们究竟是什么,它们分别解决了通信过程的哪些问题。

    一.准备 1. 角色:小白.美美.小黑. 2. 剧情:小白和美美在谈恋爱:小黑对美美求而不得.心生怨念,所以从中作梗. 3. 需求:小白要与美美需通过网络进行通信,联络感情,所以必须保证通信的安全性. ...

  5. 使用 git 将代码推送到多个仓库

    使用 git 将代码推送到多个仓库 起因     起初,在 GitHub 建了一个仓库,200+ 的 commits .后来(终于在眼泪中明白...误

  6. Elasticsearch系列---搜索执行过程及scroll游标查询

    概要 本篇主要介绍一下分布式环境中搜索的两阶段执行过程. 两阶段搜索过程 回顾我们之前的CRUD操作,因为只对单个文档进行处理,文档的唯一性很容易确定,并且很容易知道是此文档在哪个node,哪个sha ...

  7. 用K-Means聚类分析做客户分群

    聚类指的是把集合,分组成多个类,每个类中的对象都是彼此相似的.K-means是聚类中最常用的方法之一,它是基于点与点距离的相似度来计算最佳类别归属. 在使用该方法前,要注意(1)对数据异常值的处理:( ...

  8. Element中(Notification)通知组件字体修改(Vue项目中Element的Notification修改字体)

    这个问题纠结很久,一样的写的为啥有的页面就可以,有的就不行: 后来才发现: 先说一下怎么设置: 先定义customClass一个属性,用来写class属性值: 之后还需要修改一下组件里style标签的 ...

  9. 《ASP.NET Core 高性能系列》关于.NET Core的部署方式

    概述,.NET Core应用程序可以创建三种类型的部署:FDD SCD FDE 框架依赖的部署(FDD).顾名思义,框架依赖的部署(FDD)依赖于目标系统上是否存在.NET Core版本.由于.NET ...

  10. 通过示例学习rholang(上部:课程0-6)

    通过例子和实践来学习rho语言.下面的例子和练习都很值得去运行.阅读.修改和完善.修改练习和教程中任何你感到有意思的代码,这样能够获得最好的学习效果.该教程包含了rho语言最常见以及最重要的特性,足以 ...