shell(计算机壳层)_百度百科
- http://baike.baidu.com/subview/849/15831672.htm
Shell (computing) - Wikipedia, the free encyclopedia
- http://en.wikipedia.org/wiki/Shell_(computing)
iSeries QSHELL - Wikipedia
- http://en.wikipedia.org/wiki/ISeries_QSHELL
- According to IBM, QSHELL is a “UNIX-like” interface built over OS/400. The commands you issue point to programs in a “QSHELL” library. To use QSHELL, key STRQSH or QSH on an iSeries command line.
- PASE is a “real” UNIX—it is actually AIX. It looks similar to QSHELL, but doesn’t have some of the limitations built into QSHELL. To use PASE, CALL QP2TERM.
AIX_百度百科
- http://baike.baidu.com/view/349664.htm
- AIX(Advanced Interactive eXecutive)是IBM基于AT&T Unix System V开发的一套类UNIX操作系统,运行在IBM专有的Power系列芯片设计的小型机硬件系统之上。
编写可靠Linux shell脚本的八个建议
Linux常用命令全称 - 程序员大咖
- https://mp.weixin.qq.com/s/AMnlM75hAMdrSCURZ4QarQ
- https://www.cnblogs.com/wangcp-2014/p/6539035.html
176条DevOps人员常用的linux命令速查表 - 程序员大咖
- https://mp.weixin.qq.com/s/iQBmEzsGxAx4FJq0SBH6Gg
97条 Linux 常用命令总结 - 机器学习算法与Python学习
- https://mp.weixin.qq.com/s/RK_bqt5ihi3jAn9-i1qKtg
- https://zhuanlan.zhihu.com/p/36093355
Linux Shell的18条常用命令整理 - Linux学习
- https://mp.weixin.qq.com/s/mNSXpKzMpMcP3V6Rf6Nzcg
Linux Shell 基础 -- 总结几种括号、引号的用法
解放你的双手,一个命令帮你减负 - Linux学习
- https://mp.weixin.qq.com/s/EA3MbENrq8jfj0bD40ITNw
如何用 Linux 技巧大大提高工作效率? - CSDN
- https://mp.weixin.qq.com/s/wZ7tqB8EDEduQE-2gtUdFA
vim三种模式下的小技巧 - Linux学习
- https://mp.weixin.qq.com/s/XgKK9kyuaBwF8x4caBULYQ
常用命令
cat 文件名 输出文件内容到基本输出(
屏幕 or 加>fileName 到另一个文件)
- linux - How does "cat << EOF" work in bash? - Stack Overflow
cb 格式化
源代码
cd 进入目录
chmod //change mode,改变文件的权限
clear - clear the terminal screen
cp copy
date 当前的时间和日期
lint 语法检查程序
ls dir
man help
mkdir 创建目录
- unix - mkdir's "-p" option - Stack Overflow
- https://stackoverflow.com/questions/22737933/mkdirs-p-option
- -p, --parents
- no error if existing, make parent directories as needed
more 显示文件
more type
mv 改文件名 /移动文件
- Linux and Unix mv command tutorial with examples | George Ornbo
pushd and popd
- pushd and popd - Wikipedia
- https://en.wikipedia.org/wiki/Pushd_and_popd
- In computing,
pushd
andpopd
are commands used to work with the command line directory stack.
- Linux pushd and popd Command Tutorial for Beginners (3 Examples)
pwd 显示目录路径命令
rm
删除文件
rm -rf 删除非空文件夹
rmdir 删除目录
who 你的用户名和终端类型
定义
变量 name=abc? (bash/pdksh) || set name = abc (tcsh)
How to extract .tar.gz Files ?
- $ tar xvzf file.tar.gz
- $ tar xvzf file.tar.gz -C /path/to/somedirectory
- How To Extract .tar.gz Files using Linux Command Line - Interserver Tips
How to view the contents of tar.gz file without extracting it ?
- $ tar -tf filename.tar.gz
- How can I view the contents of tar.gz file without extracting from the command-line? - Ask Ubuntu
How to hide and view hidden files / directories ?
- $ mv file .file
- $ ls -al
- $ ll -a
- An Easy Way to Hide Files and Directories in Linux
- https://www.tecmint.com/hide-files-and-directories-in-linux/
- To hide a file or directory from the terminal, simply append a dot . at the start of its name
How to view system environment variables ?
- $ env
How to add and view path environment variable ?
- $ export PATH=~/folder/:${PATH}
- $ echo $PATH
How to add and use alias ?
- $ alias test=~/bin/test
- $ test
How to find and kill process ?
- $ ps ax | grep python
- 11111 pts/9 Tl 0:08 python ...
- $ kill -9 11111