Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

命令行积累 #1

Open
annewanghy opened this issue Jul 28, 2017 · 0 comments
Open

命令行积累 #1

annewanghy opened this issue Jul 28, 2017 · 0 comments

Comments

@annewanghy
Copy link
Owner

annewanghy commented Jul 28, 2017

  • 创建一个文件夹
    mkdir myblog
  • 创建一个文件
    touch index.js
  • 显示文件夹下有哪些文件
    ls
  • 重命名文件
    mv filename newfilename
  • 清屏
    clean或者ctrl + l
  • 取别名
    alias node="node --harmony"
  • 取消别名
    unalias node

筛选node进程

ps aux | grep server | grep node

查找进程

lsof -t -i:9009
kill -9 13761

@annewanghy annewanghy changed the title linux命令行 linux命令行积累 Oct 12, 2017
@annewanghy annewanghy reopened this Oct 31, 2018
@annewanghy annewanghy changed the title linux命令行积累 命令行积累 Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant