Lab 1-2 Linux Assignment and Solution

Lab 1-2 Linux Assignment Requirement

Introduction to the Linux system: log in, log out, basic commands

lab1-2

Lab 1-2 Assignment Solution

1.
2.  script lab1-2
3.  who
4.  whoami
5.  finger
6.  exit
7.  script -a lab1-2
8.  cal -3
9.  bc
    scale=2
    1/3
    quit
10. date

11. exit -- exit from script

12. lpr -U testUser lab1-2 -- pick up your copy from printer

13. exit -- exit from linux terminal

14. winscp                  -- change file name to lab1-2.txt after copied to windows
15.