⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.bak

📁 linuxunix 下的c语言实现
💻 BAK
字号:
Introduction============This is CORAL SHELL, version 0.01.  Bash is the DLMU Computer S&T Alex Wang (Yaodong), a particlly implementation of the POSIX shell spec, but also with interactive command line editing,and a slew of other features. For more information on the features of CORAL that are new to this type of shell, see the command `help'.  There is also a large details for each usage.  The man page is the definitive description of the shell's features. CORAL is free software, distributed under the terms of the [DLMU]IT Tec. More, do not parate copyright of author.To compile CORAL, try typing `make all', CORALauto-configures the build process, so no further intervention should be necessary.  CORAL SHELL builds with `gcc' by default if it is available.  Default debugging envriment is under Red Hat9.0 OS. IF you want  compile manually by gcc , use following:	gcc -o XXX_mysh XXX_mysh.cRead the file MAKEFILE in this directory for more information about how to customize and control the build process.Mainframe==============If you are insterested of CORAL SHELL 's code implementment , or as a coder to deeping understand the program, here will show out the main structure . The main program under such project :  promt on screen , capture user command , parse command, then executing. Similary phoney code following:	while(1) {	       print_prompt();	       get_input();	       parse_input();	       if(“logout” || “exit”)		      break;	       do_cmd();	}Manusript==============This chapter briefly summarizes the shell's commands, control structures, shell functions,* For details usage for commands ,input 'help [command]'	CoralShell commands include: ls echo cat mkdir rm cd chmod pwd wc date 	exit help kill who history systeminfo@ ls [-l]	-l: for long message to output@ echo [varity]@ mkdir [dir]@ rm [fiel | dir]@ printf   cd [dir]@ chmod [prevlege] [file | dir]	For example: chmod 777 hello.c	'777' will give hello.c full previlege.@ pwd [dir]		print  current directory@ wc [-c | -l] [file | dir]	  -c: number of bytes or characters	  -l: number of lines@ date   	Cmmand will show localtime@ time [cmmand]	show Command excecute time.	For exam: time date@ exit  	Quit CoralShell@ help [cmmand]	Use 'help' to show all commands in Coral shell	Also use 'help command' to show details for each command@ kill [-1 | -9 | -15] [pid]	-1: sighup	-9: sigkill	-15: sigterm@ echo [varity]@ Show     	all command used.@ system 	message such as CPU, Memory ...@ clear	just use 'clear' to clean screenIf you would like to give me any suggestion , send mailto wyaoodng_marine@163.comEnjoy!Alex Wang   2008.5.1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -