In: Computer Science
Command | Function |
info cat | |
Demonstrate 'cat' in use | |
man cp | |
Demonstrate 'cp' in use | |
man touch | |
Demonstrate 'touch' in use | |
man mv | |
Demonstrate 'mv' in use | |
man rm | |
Demonstrate 'rm' in use | |
info wc | |
Demonstrate 'wc' in use | |
man find | |
Demonstrate 'find' in use | |
man chmod | |
Demonstrate 'chmod' in use | |
man chown | |
Demonstrate 'chown' in use | |
Lookup append ">>" operator online | |
Demonstrate '>>' in use | |
Lookup redirection ">" operator online | |
Demonstrate '>' in use | |
Lookup another command not previously covered | |
Use that command | |
PART B (50 total pts) - File Operations (Windows)
Command | Function |
help type | |
Demonstrate 'type' in use | |
help copy | |
Demonstrate 'copy' in use | |
help xcopy | |
Demonstrate 'xcopy' in use | |
help move | |
Demonstrate 'move' in use | |
help del | |
Demonstrate 'del' in use | |
Demonstrate 'find' in use | |
Demonstrate 'find' with parameters to get Word Count | |
help attrib | |
Demonstrate 'attrib' with parameters to get Word Count | |
help rmdir | |
Demonstrate 'rmdir' with parameters to get Word Count | |
Look append ">>" operator online | |
Demonstrate '>>' in use | |
Look redirection ">" operator online | |
Demonstrate '>' in use | |
help whoami | |
Demonstrate 'whoami' in use | |
Lookup another command not previously covered | |
Use that command |
Command |
Function |
info cat |
This command is used for display file content and create new file with cat > filename and cltr + d to save that file |
Demonstrate 'cat' in use |
Cat filename |
man cp |
Cp is used to copy file with our desired filename |
Demonstrate 'cp' in use |
Cp <source filename> <destination filename> , cp file file1 |
man touch |
Touch is used to create empty file with date also |
Demonstrate 'touch' in use |
Touch <filename> |
man mv |
Mv is used to move file from one destination to another destination also used to rename filename as well |
Demonstrate 'mv' in use |
Mv <source filename> <destination filename>, mv test /home/ |
man rm |
Rm is used to remove file and directory also |
Demonstrate 'rm' in use |
rm test |
info wc |
Word count is a utility to count number of lines and character in file |
Demonstrate 'wc' in use |
Wc -l test, wc -c test |
man find |
Find command is used to find the file and directory |
Demonstrate 'find' in use |
Find /home test |
man chmod |
Chmod is used to change the file permission on file |
Demonstrate 'chmod' in use |
Chmod <000 to 7777> filename |
man chown |
Chown is used for change the ownership of file |
Demonstrate 'chown' in use |
Chown user:group , chown test:test <filename> |
Lookup append ">>" operator online |
This is used for append the existing file |
Demonstrate '>>' in use |
Ls -l >> testfile |
Lookup redirection ">" operator online |
This > is used to create new output file |
Demonstrate '>' in use |
Cat > filename |
Lookup another command not previously covered |
Ls,shift,rmdir,mkdir manymore. |
Use that command |
mkdir test , rmdir test |
We are allowed to do only 4 exercise out of any given.
if you have any doubt then please ask me without any hesitation
in the comment section below , if you like my answer then please
thumbs up for the answer , before giving thumbs down please discuss
the question it may possible that we may understand the question
different way and we can edit and change the answers if you argue,
thanks :)