Lab 3_TAN YU ZHE 192020356

LAB 2 Using the Terminal / Command line

1.The .bashrc file


























after remove export PS1






2.Dealing with blanks and special characters in filenames












3. Understanding the $? variable




4. Redirection and piping




5. Sending output from one terminal to another

First open two terminal,then type "tty" at the first terminal which we call 'A' terminal,then open the 'B' terminal and type route.Then type 'route > /dev/pts/0'.the result will come out with B send the result back to A.(Below is the A terminal)

6. Using the Screen program

To run screen utility:


ctrl +A then press 0
ctrl A then press 3




END OF LAB 3-------

Comments

Popular Posts