Unix命令列程式和內建指令分類

2021-06-12 18:04:59 字數 1534 閱讀 8719

檔案系統

▪cat▪cd

▪chmod

▪chown

▪chgrp

▪cksum

▪cmp▪cp

▪du▪df

▪fsck

▪fuser▪ln

▪ls▪lsattr

▪lsof

▪mkdir

▪mount▪mv

▪pwd▪rm

▪rmdir

▪split

▪touch

▪umask

程式▪at

▪bg▪chroot

▪cron

▪exit▪fg

▪jobs

▪kill

▪killall

▪nice

▪pgrep

▪pidof

▪pkill▪ps

▪pstree

▪sleep

▪time

▪top

▪wait

使用環境

▪env

▪finger▪id

▪logname

▪mesg

▪passwd▪su

▪sudo

▪uptime▪w

▪wall

▪who

▪whoami

▪write

文字編輯

awk

▪comm

▪cut▪ed

▪ex▪fmt

▪head

▪iconv

▪join

▪less

▪more

▪paste

▪sed

▪sort

▪strings

▪talk

▪tac

▪tail▪tr

▪uniq▪vi

▪wc▪xargs

shell 程式

▪alias

▪basename

▪dirname

▪echo

▪expr

▪false

▪printf

▪test

▪true

▪unset

網路▪inetd

▪netstat

▪ping

▪rlogin

▪netcat

▪traceroute

搜尋▪find

▪grep

▪locate

▪whereis

▪which

雜項▪apropos

▪banner▪bc

▪cal

▪clear

▪date▪dd

▪file

▪help

▪info

▪size▪lp

▪man

▪history

▪tee

▪tput

▪type

▪yes

▪uname

▪whatis

C 呼叫命令列程式

using system using system.collections.generic using system.linq using system.text using system.diagnostics 執行cmd命令 會顯示命令視窗 指定應用程式的完整路徑 執行命令列引數 static ...

如何debug命令列程式 C

常用的2種方法 方法1在main 函式剛開始,加入如下 1 static int main string args 2 這樣能讓程式在此停住,等待輸入。此時便可以在vs中attach上該程式,開始debug。此方法在需要debug各種引數時比較方便。方法2直接在vs中開啟project proper...

命令列程式增加 GUI 外殼

圖 1 命令列程式工作介面 現在想辦法為它做乙個 gui 外殼,實際效果參考圖 2.圖 2 帶 gui 外殼的命令列程式 程式思路是這樣的 通過執行cmd.exe來操作命令行,現在要給它乙個 gui.windows 的命令列cmd.exe rightarrow 新程序process rightarr...