Description: Ls under UNIX to achieve full functionality, while adding a directory tree can be generated. The realization of the contents: 1. How to read the contents of the directory 2. Directory sort 3. File types and how to know the type of document 4.-Bit operation and the use of mask 5. user and group ID database 6.UNIX the internal structure of the file system: i-node and data block 7. Change the current directory 8. output color change and column 9. learn and achieve ls command parameters 10. Analysis of the command line parameters
- [ls] - procedures ls program's source code proc
- [hls.tar] - himself wrote the ls command
- [myls] - completion of the following non-function
- [myshell] - achieve Shell, can handle orders cd : th
- [bit_calculate] - achieved with c ,-,*,/ not to numerical
- [ls] - ls under linux the easy implementation,
- [ls] - shell under linux command " ls-l&quo
- [shell] - Shell code in linux
File list (Check if you may need any files):
ls
..\compare.c
..\compare.c~
..\compare.o
..\do_ls1.c
..\do_ls1.c~
..\do_ls1.o
..\do_ls2.c
..\do_ls2.c~
..\do_ls2.o
..\globals.h
..\globals.h~
..\main.c
..\main.c~
..\main.o
..\makefile
..\makefile~
..\mktree.c
..\mktree.o
..\ourls
..\util.c
..\util.c~
..\util.o