Linux Essential tools&commands
2010-10-09 03:49
399 查看
ps -u username #list all processing started by username
kill pic # terminate process
pmap pid #show process's memory mapping/usage
ls -l directory # list all files in directory
grep keyword filename #search keyword in file
fgrep
egrep
find directory -name filename #search filename in directory
less # look into file content shift+G: jump to end, shift+P: jump to begin, shift+F: keep appending
chmod #change file privilege: r,w, x
cp, rm -r, rmdir, mkdir
cat, cut, tr, sed #editing format file
gzip # compress tool
tar
vi file #edit file content
#subversion
svn up #update working directory
svn co #check out
svn diff -r 145:144 #compare two versions
svn status #show working dirctory's status
svn info
svn log -r versionNum
make
hostname
kill pic # terminate process
pmap pid #show process's memory mapping/usage
ls -l directory # list all files in directory
grep keyword filename #search keyword in file
fgrep
egrep
find directory -name filename #search filename in directory
less # look into file content shift+G: jump to end, shift+P: jump to begin, shift+F: keep appending
chmod #change file privilege: r,w, x
cp, rm -r, rmdir, mkdir
cat, cut, tr, sed #editing format file
gzip # compress tool
tar
vi file #edit file content
#subversion
svn up #update working directory
svn co #check out
svn diff -r 145:144 #compare two versions
svn status #show working dirctory's status
svn info
svn log -r versionNum
make
hostname
相关文章推荐
- 虚拟机中的Linux安装VMware Tools
- 虚拟机中的Linux安装VMware Tools
- Linux Network Statistics Tools / Commands
- Linux Commands For Shared Library Management & Debugging Problem & strace
- Chapter 4: Essential Linux Commands (part 2) __Linux 101 Hacks
- Execute failed: java.io.IOException: Cannot run program "sdk-linux/build-tools/22.0.0/aapt": error=2
- Linux Server Hacks, Volume Two: Tips & Tools for Connecting, Monitoring, and Troubleshooting
- 解决错误 'Cannot run program "/home/***/android-sdk-linux/platform-tools/adb": error=2
- RHEL / CentOS Linux Install Core Development Tools Automake, Gcc (C/C++), Perl, Python & Debuggers
- Shell & Linux commands reference
- Ubuntu Hacks : Tips & Tools for Exploring, Using, and Tuning Linux
- Linux Introduction && Commands
- Essential Linux/Unix Commands
- Linux android studio :'tools.jar' seems to be not in Android Studio classpath.
- 【转】Linux下使用C语言连接Mysql (commands out of sync, you can't run ...)
- The linux command line--part 3 Common Tasks And Essential Tools
- Execute failed: java.io.IOException: Cannot run program "sdk-linux/build-tools/22.0.0/aapt": error=2
- Chapter 4: Essential Linux Commands (part 1) __Linux 101 Hacks
- Wireless tools for Linux介绍
- how to run 2 or more commands in a shell script [for Linux & Windows]