Location:
Search - shell cd
Search list
Description: 一个简单的shell,实现4个功能:
(1)cd
(2)pwd
(3)pid
(4)logout-a simple shell, achieving four functions : (a) cd (2) pwd (3) pid (4) logout
Platform: |
Size: 3493 |
Author: 亿摆 |
Hits:
Description: 在minix3.1.8中实现了简单的shell解释器,功能有: 1. 基本界面 由输入提示符开头 2. 执行可执行文件 包括参数 3. 错误提示 4. 内置简单 shell 命令 cd exit 5. 单次 I/O 重定向 > < 6. 单次管道 | 7. 后台运行 & 8. 顺序执行多个命令 ;
Platform: |
Size: 229 |
Author: xcdabaichi |
Hits:
Description: MFC没有提供CD刻录的类,但WindowsXp内置了写入CD的支持。如果只是复制文件和目录,可以用shell s ICDBurn接口。如果要刻录音频或更近一步的实现对音频的控制,那么下面会介绍一个专用的API。 ICDBurn有三个方法,HasRecordableDrive扫描系统内可写的CD驱动器,找到的话返回TRUE。GetRecorderDriveLetter返回可写驱动器的盘符。最后刻录指令通知Windows从“集结区”向可写CD拷贝数据。“集结区”是一个专用的文件夹,通常是-MFC failed to provide the kind of CD burners, but built into Windows Xp CD support. If it is duplicated files and directories, you can use shell s ICDBurn interface. If recording audio or closer to the realization of the right to control audio, will be introduced following a special API. ICDBurn are three ways HasRecordableDrive scanning system can write CD drives, found by the return TRUE. GetRecorderDriveLetter return can write drives drive. The final notice Windows burners directive from the "assembly areas" can write to CD copy data. "Assembly areas" is a special folder, usually
Platform: |
Size: 3072 |
Author: 罗森 |
Hits:
Description: 一个简单的shell,实现4个功能:
(1)cd
(2)pwd
(3)pid
(4)logout-a simple shell, achieving four functions : (a) cd (2) pwd (3) pid (4) logout
Platform: |
Size: 3072 |
Author: 亿摆 |
Hits:
Description: 实现Shell,能处理命令
cd :改变进程当前路径
pwd :查看进程当前路径
pid:查看当前进程号(getpid()系统调用)
logout :退出shell
ls [-l]
rm [-r]
mkdir, mv, cp-achieve Shell, can handle orders cd : the process of change current path pwd : View current path process pid : View the current process (getpid () system call) logout : withdraw from the shell ls [-l] rm [-r] mkdir, mv, cp
Platform: |
Size: 11264 |
Author: 叶黎 |
Hits:
Description: 本书介绍Linux环境下的编程方法,内容包括Linux系统命令、 Shell脚本、编程语言(gawk、Perl)、系统内核、安全体系、X Window等,内容丰富、论述全面,涵盖了Linux系统的方方面面。本书附带光盘包括了RedHat Linux系统的最新版本,及安装方法,还包括本书的大量程序代码,极大地方便了读者,为使用和将要使用Linux系统的技术人员提供了较全面的参考。
-book about the Linux programming environment, including Linux system order Shell scripts, programming languages (Retrieved, Perl), the core system, security system, X Window, rich in content and comprehensive expositions, covering all aspects of the Linux system. The book includes a CD-ROM attached RedHat Linux system to the latest version, and installation methods, the book also includes a large number of procedural code, a great convenience for readers, to use, and will use the Linux operating system technical staff to provide a more comprehensive reference.
Platform: |
Size: 9359360 |
Author: asdfkh |
Hits:
Description: 一个简单的shell,可以实现管道,重定向,cd,后台,ls等功能-a simple shell, can achieve a pipeline, redirects, cd, background, and other functions ls
Platform: |
Size: 4096 |
Author: 刘光 |
Hits:
Description: Linux中Shell的几条简单命令的实现,基本框架已经搭好了,如果需要可以在此基础上进行扩充(代码中增加了多条命令同时执行的功能)
试验内容:
实现简单的Shell,至少能处理四条命令
cd :改变进程当前路径
pwd :查看进程当前路径
pid:查看当前进程号
logout :退出shell
-a few simple order to achieve the basic framework has been put up. If need be on the basis of this expansion (code added to the number of orders carried out simultaneously function) test : Shell simple realization, at least four orders can handle cd : the process of change the current path pwd : View the current path process pid : View the current process, logout : withdraw from the shell
Platform: |
Size: 2048 |
Author: shoarh |
Hits:
Description: Unix shell是unix的命令解释程序,用于让用户以一种友好的方式运行程序和执行命令。
本课程设计要求学生在linux下写一个命令解释程序,实现Ksh最基本的功能。即:允许用
户打入一个可执行的程序的名字以及其命令行参数,执行这个程序。同时实现一部分内部命
令(比如cd,详见要实现的命令),以及输入输出重定向等功能。-Unix shell is unix order to explain procedures to enable users to a friendly manner operational procedures and the enforcement of the order. The courses require students to design the linux under orders to write an interpretation of procedures, Ksh most basic functions. : Allows users to enter an executable program and the name of its command line parameters, the implementation of this procedure. Simultaneously part of the internal commands (such as cd, details to be achieved in order), and redirect input and output functions.
Platform: |
Size: 58368 |
Author: nimeda |
Hits:
Description: 操作系统课程设计
要完成的任务是模拟unix操作系统中的文件系统功能。在终端界面上用户可以象unix的shell命令一样输入一些命令,如输入ls 显示文件目录,chmod改变文件权限,chown改变文件拥有者,chgrp改变文件所属组,chnam改变文件名,pwd显示当前目录,cd改变当前目录,mkdir创建目录,rmdir删除目录,mk创建文件 ,cp文件拷贝,rm删除文件,cat显示文件内容,login切换用户,passwd修改用户口令 等功能。在后台,要实现混合索引式文件结构,包括用空闲结点号栈管理空闲结点和成组链接发管理空闲盘块。-courses on operating system design to complete the task of simulation unix operating system of file system function. In a terminal interface, users can like unix shell orders importation of certain orders importing ls show directory, change file permissions chmod, chown change who owns the file, chgrp Changes file group, chnam change the name, pwd shows the current directory, cd change the current directory, create directories mkdir, rmdir delete directory, mk founding documents, cp paper copy, delete the file rm, cat shows the contents of the documents, login switching users, passwd user password changes, and other functions. In the background, in order to achieve mixed-indexing structure of the document, including the use of idle nodes, stack management spare node and link the group mana
Platform: |
Size: 265216 |
Author: xlog |
Hits:
Description: shc是一个加密shell脚本的工具.它的作用是把shell脚本转换为一个可执行的二进制文件.
用shell脚本对系统进行自动化维护,简单,便捷而且可移植性好.
但shell脚本是可读写的,很有可能会泄露敏感信息,如用户名,密码,路径,IP等.
同样,在shell脚本运行时会也泄露敏感信息.
shc是一个加密shell脚本的工具.它的作用是把shell脚本转换为一个可执行的二进制文件.
这就很好的解决了上述问题.
tar zxvf shc-3.8.tgz
cd shc-3.8
make test
make
make test
make strings
make install 这一步需要root权限
使用方法:
shc -r -f script-name 注意:要有-r选项, -f 后跟要加密的脚本名.
运行后会生成两个文件,script-name.x 和 script-name.x.c
script-name.x是加密后的可执行的二进制文件.
./script-name 即可运行.
script-name.x.c是生成script-name.x的原文件(c语言)-err
Platform: |
Size: 34816 |
Author: |
Hits:
Description: shell程序实现下列功能:
(1)解析用户提交的命令行;按照环境变量搜索目录系统;执行命令。
(2)执行外部程序命令,命令可以带参数,可提交后台命令(如ls &);
(3)提供fg、bg、cd、history、exit等内部命令。
(3)提供管道和输入输出重定向。
(4)提供作业控制功能,包括打印作业的清单,改变当前运行作业的前台/后台状态,以及控制作业的挂起、中止和继续运行。
-Design a shell
Platform: |
Size: 14336 |
Author: zhanghonglang |
Hits:
Description: 本实验完成了一个shell命令解释器,实现了shell的解释命令功能,实现了重定向功能和多管道、后台运行等功能。具体功能描述如下:
1)解释器的命令格式为
cmd1[<infileName][|cmd2][|cmd3]…[|cmdn][>or>>outfileName][&]
2)cmdi为命令名+参数形式的命令,<为输入重定向,后跟输入重定向文件名infileName;>或>>后跟输出重定向文件名,输出内容将写入outfileName,
>>表示以追加方式写入文件,>则表示以覆盖方式写入;
3)实现了多管道
4)命令结尾可加后台运行符号& ,表示此命令将以后台运行的方式执行
5)实现了cd命令
6)exit为退出命令
7)history为历史命令,可以显示最近执行的命令,最多100条
8)!i为执行历史命令,意为执行第i条历史命令。!!为执行上一条命令。
9)’|’为管道符号,使用|符号隔开的若干条命令之间,前一条命令的输出是后一条命令的输入。
10)自定义命令myname,将输出此Shell的版本信息
11)本解释器命令格式中的简单命令可为所有外部命令和一部分内部命令和自定义命令
-a shell experiment base in uxix
Platform: |
Size: 22528 |
Author: souven |
Hits:
Description: 在linux上编写的简单的shell,包括cd、ls、echo等命令-Shell code in linux
Platform: |
Size: 31744 |
Author: Cicy |
Hits:
Description: 一个C++编写的LINUX SHELL,支持的命令有cat cd rm mkdir ls pwd pid mv cp,"exit"命令用于退出- The program is to execute some common commands of Linux,available commands are: cat cd rm mkdir ls pwd pid mv cp,same function as the standard linux shell command.There’s also a command “exit” to let the user exit the program.The programe also shows how long did the last executed command take(in second).
Platform: |
Size: 1024 |
Author: 王跃辉 |
Hits:
Description: 这是一个在linux的vi编辑器下开发的,用gcc编译器编译的一个shell简单的解析程序,包括对简单shell命令,如ls,cd等命令的解析,还包括对一些复杂命令如管道命令的解析-This is a linux developed under the vi editor, and with the gcc compiler to compile a shell of a simple analytic procedures, including a simple shell commands, such as ls, cd, etc. command parsing, but also includes a number of complex commands, such as piping commands Analytical
Platform: |
Size: 79872 |
Author: 吴倩倩 |
Hits:
Description: 自制的一个shell程序,实现cd,dir,clr,help,quit,if..then等命令-Made a shell program to realize cd, dir, clr, help, quit, if .. then other commands
Platform: |
Size: 3072 |
Author: llm |
Hits:
Description: Linux下Shell命令解释器,一、 实现功能:
要求实现一个简单的命令解释器,也就是linux中的shell程序,在本程序中我们将其起名为mysh,要求:
1、 能够执行外部程序命令,命令可以带参数;
2、 能够执行fg、bg、cd、history、exit等内部命令;
3、 使用管道和输入输出重定向;
4、 支持前后台作业,提供作业控制功能,包括打印作业的清单,改变当前运行作业的前/后台状态,以及控制作业的挂起、中止与继续运行;
5、 使用Make工具建立工程;
6、 使用调试器gdb来调试程序;
-Shell command interpreter under Linux, one Function: called for a simple command interpreter, which is a shell in linux, in this program we will be named mysh, requirements: 1, to execute an external program command command can take arguments 2, to perform fg, bg, cd, history, exit and other internal command 3, the use of input and output redirection and pipes 4, support the front and back operations, provide job control features, including a list of print jobs, change the currently running job before/background status, and control operations hang, suspend and continue to run 5, build the project using the Make utility 6, using the gdb debugger to debug the program
Platform: |
Size: 33792 |
Author: 张亮 |
Hits:
Description: 程序要求:
(1) 程序运行时,先显示欢迎信息;
(2) 创建一个新的用户。用户名为本人的姓名拼音缩写加学号的后两位
(3) 在本人的主目录下创建目录,目录的名称为本人的学号
(4) 在新创建的目录下,创建一个新文件,文件名为本人的姓名全拼
(5) 修改文件的权限为-rwxr--r--;
(6) 判断文件是否可读,如果可读,显示“File yangchuanying is readable.”,否则,显示“File yangchuanying is not readable.”;
判断文件是否可写,如果可写,显示“File yangchuanying is writable.”,否则,显示“File yangchuanying is not writable.”。
判断文件是否可执行,如果可执行,显示“File yangchuanying is executable.”,否则,显示“File yangchuanying is not executable.”。
(7) 修改文件的用户拥有者为ycy08;
(8)显示当前目录;
(9)以长格式的方式显示文件yangchuanying的信息。
3、命令提示:echo adduser mkdir touch chmod chown pwd ls cd(1. Under UBUNTU, write a SHELL scripting program using the VI editor.)
Platform: |
Size: 121856 |
Author: 阿文201 |
Hits:
Description: a basic UNIX shell in C that reads and processes commands
Platform: |
Size: 3072 |
Author: hlmtxx |
Hits: