Professional Documents
Culture Documents
User@Lenovo ~
$ cd ..
User@Lenovo /home
$ cd ..
User@Lenovo /
$ ls
bin Cygwin.bat Cygwin-Terminal.ico etc lib sbin usr
cygdrive Cygwin.ico dev home proc tmp var
User@Lenovo /
$ mkdir S
User@Lenovo /
$ ls
bin Cygwin.bat Cygwin-Terminal.ico etc lib S tmp var
cygdrive Cygwin.ico dev home proc sbin usr
User@Lenovo /
$ cd S
User@Lenovo /S
$ mkdir -p work/1CHDV
User@Lenovo /S
$ ls
work
User@Lenovo /S
$ cd work
User@Lenovo /S/work
$ ls
1CHDV
User@Lenovo /S/work
$ cd 1CHDV
User@Lenovo /S/work/1CHDV
$ mkdir -p misc help txt
User@Lenovo /S/work/1CHDV
$ ls
help misc txt
User@Lenovo /S/work/1CHDV
$ cd help
User@Lenovo /S/work/1CHDV/help
$ mkdir log
User@Lenovo /S/work/1CHDV/help
$ cd ..
User@Lenovo /S/work/1CHDV
$ cd misc
User@Lenovo /S/work/1CHDV/misc
$ mkdir -p trash images
User@Lenovo /S/work/1CHDV/misc
$ ls
images trash
2. User@Lenovo /
$ cd S
User@Lenovo /S
$ ls
work
User@Lenovo /S
$ cd work
User@Lenovo /S/work
$ ls
1CHDV
User@Lenovo /S/work
$ cd 1CHDV
User@Lenovo /S/work/1CHDV
$ ls
help misc txt
User@Lenovo /S/work/1CHDV
$ cd help
User@Lenovo /S/work/1CHDV/help
$ touch help.hlp
User@Lenovo /S/work/1CHDV/help
$ ls
help.hlp log
User@Lenovo /S/work/1CHDV/help
$ touch copy.hlp
User@Lenovo /S/work/1CHDV/help
$ ls
copy.hlp help.hlp log
User@Lenovo /S/work/1CHDV/help
$ touch date.hlp
User@Lenovo /S/work/1CHDV/help
$ ls
copy.hlp date.hlp help.hlp log
User@Lenovo /S/work/1CHDV/help
$
3.
cp /home/lenovo/*.bmp /S/work/1CHDV/misc/images
User@Lenovo /S/work/1CHDV/misc/images
mv /home/lenovo/*.bmp /S/work/1CHDV/misc/trash
4.
User@Lenovo /S/work/1CHDV/help
$ cd ..
User@Lenovo /S/work/1CHDV
$ ls
help misc txt
User@Lenovo /S/work/1CHDV
$ cd txt
User@Lenovo /S/work/1CHDV/txt
$ touch test.txt
User@Lenovo /S/work/1CHDV/txt
$ directories.txt
User@Lenovo /S/work/1CHDV/txt
$ touch directories.txt
User@Lenovo /S/work/1CHDV/txt
$ ls
directories.txt test.txt
User@Lenovo /S/work/1CHDV/txt
User@Lenovo cp cd/var/log/*.log /S/work/1CHDV/help/log
5.
User@Lenovo cp cd/var/log/*.log
User@Lenovo /S/work/1CHDV/help touch all.log
6.
User@Lenovo /S/work/1CHDV/misc/images
User@Lenovo /S/work/1CHDV/misc/trash rm *.bmp
cd ..
1. touch a.txt
2. mv a.txt self.txt
3. cp self.txt bio.txt
4. cat self.txt
5. chattr self.txt or attrib +s +h self.txt
6. touch a.txt
7. mv a.txt college.txt
8. cp college.txt course.txt
9. cat course.txt
10. attrib +r course.txt
11. cat *.txt (not sure)
12. mv *.txt *.doc
13. rm 1 (not sure)
14. touch a.txt
15. mv a.txt b.txt
16. cp copy.txt
17. cat copy.txt
18. chattr copy.txt or attrib +s +h copy.txt
19. pwd
20. ls (not sure)
1.
User@Lenovo /
$ mkdir Alpay_Alih
User@Lenovo /
$ ls
Alpay_Alih cygdrive Cygwin.ico dev home proc sbin usr
bin Cygwin.bat Cygwin-Terminal.ico etc lib S tmp var
User@Lenovo /
$ cd Alpay_Alih
User@Lenovo /Alpay_Alih
$ mkdir -p documents presentations programs
User@Lenovo /Alpay_Alih
$ ls
documents presentations programs
User@Lenovo /Alpay_Alih
$ cd documents
User@Lenovo /Alpay_Alih/documents
$ mkdir -p assignments projects
User@Lenovo /Alpay_Alih/documents
$ ls
assignments projects
User@Lenovo /Alpay_Alih/documents
$ cd ..
User@Lenovo /Alpay_Alih
$ ls
documents presentations programs
User@Lenovo /Alpay_Alih
$ cd programs
User@Lenovo /Alpay_Alih/programs
$ mkdir -p C-programs Java Visual_Basic
User@Lenovo /Alpay_Alih/programs
$ ls
C-programs Java Visual_Basic
2.