mirror of https://github.com/01-edu/public.git
38606cbb2c
my-ls-1 to my-ls |
||
---|---|---|
.. | ||
README.md |
38606cbb2c
my-ls-1 to my-ls |
||
---|---|---|
.. | ||
README.md |
ls
with no arguments.ls
with the arguments: "<file name>"
.ls
with the arguments: "<directory name>"
.ls
with the flag: "-l"
.ls
with the arguments: "-l <file name>"
.ls
with the arguments: "-l <directory name>"
.ls
with the flag: "-l /usr/bin"
.ls
with the flag: "-R"
, in a directory with folders in it.ls
with the flag: "-a"
.ls
with the flag: "-r"
.ls
with the flag: "-t"
.ls
with the flag: "-la"
.ls
with the arguments: "-l -t <directory name>"
.ls
with the arguments: "-lRr <directory name>"
, in which the directory chosen contains folders."-l <directory name> -a <file name>"
"-lR <directory name>///<sub directory name>/// <directory name>/<sub directory name>/"
/
must be the same."-la /dev"
"-alRrt <directory name>"
, in which the directory chosen contains folders and files within folders. Time of modification of all files within that folder must be the same.-
name and run both my-ls and the system command ls with the arguments: "-"
"-l <symlink file>/"
/
at the end."-l <symlink file>"
"-l <symlink dir>/"
/
at the end."-l <symlink dir>"
"-R ~"
and with the command time before the program name (ex: "time ./my-ls-1 -R ~").