basicsys@mars~>echo abc abc basicsys@mars~>echo -n abc abcbasicsys@mars~>echo -e "abc\ndef" abc def basicsys@mars~>echo -e "abc\\def" abc\def basicsys@mars~>echo -E "abc\\def" abc\def basicsys@mars~>echo -E "abc\ndef" abc\ndef basicsys@mars~>echo -e "\001" basicsys@mars~>echo -e "\002" basicsys@mars~/lec1>cat F1 Hi Hello 123 basicsys@mars~/lec1>cat -n F1 1 Hi 2 Hello 3 123 basicsys@mars~/lec1>cat F1 Hi Hello 123 basicsys@mars~/lec1>cat -s F1 Hi Hello 123 basicsys@mars~/lec1>cat -s -n F 1 Hi 2 3 Hello 4 5 123 basicsys@mars~/lec1>cat -n -s F 1 Hi 2 3 Hello 4 5 123 basicsys@mars~/lec1>cat -ns F1 1 Hi 2 3 Hello 4 5 123 basicsys@mars~/lec1>cat -sn F1 1 Hi 2 3 Hello 4 5 123 basicsys@mars~/lec1>cat -n F1 1 Hi 2 3 4 5 Hello 6 7 8 123 basicsys@mars~/lec1>seq 100 >| F2 basicsys@mars~/lec1>more F2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 --More--(21%) basicsys@mars~/lec1>cat P2 #!/bin/bash echo abc date cat F1 echo -e "\002" date basicsys@mars~/lec1>P2 -bash: ./P2: Permission denied basicsys@mars~/lec1>ls -l P2 -rw------- 1 basicsys basicsys 53 Nov 11 13:07 P2 basicsys@mars~/lec1>chmod u+x P2 basicsys@mars~/lec1>ls -l P2 -rwx------ 1 basicsys basicsys 53 Nov 11 13:07 P2 basicsys@mars~/lec1>chmod o+x P2 basicsys@mars~/lec1>ls -l P2 -rwx-----x 1 basicsys basicsys 53 Nov 11 13:07 P2 basicsys@mars~/lec1>chmod u-x P2 basicsys@mars~/lec1>ls -l P2 -rw------x 1 basicsys basicsys 53 Nov 11 13:07 P2 basicsys@mars~/lec1>P2 abc Fri Nov 11 13:14:35 IST 2011 Hi Hello 123 Fri Nov 11 13:14:35 IST 2011 ------------------------------------------------------- The followng 3 lines has to be added to the .bashrc file at your home directory PS1="\u@\h\w>" set -C PATH=$PATH:. after that logout and login (or do . .bashrc) ------------------------------------------------------------ Here is how to register to the course: hizkrach@mars~/lec1>~basicsys/register Hello you called the basic systems registeration program You need to call it in order to be able to submit exercises. You need to call this program just once. Please enter your id number (9 digits): 111111111 Please enter your name (first-name and last-name): racheli hizkiyahu You entered, id: 111111111 name: racheli hizkiyahu OK to update your details: (y/n)? y Your details were sent for update. It will take several days Until your details will be updated, bye. ------------------------------------------------------ Here is how submit ex1: shalidan@mars~>~basicsys/submit Hello you have called the submit program Enter the exercise number: ex1 You can not submit exercise ex1 Bye. shalidan@mars~>~basicsys/submit Hello you have called the submit program Enter the exercise number: 1 Hello you have called the submit ex1 program. Note that you can submit files only once. Do you want to continue (y/n)? y Enter the login name of your partner (if you do not have a then enter your login name): shalidan Enter the login name of your partner (if you do not have a OK to continue (y/n)? y The files that you have to submit are : P1.1 P1.2 P1.3 P1.4 Your file list is: P1.1 P1.2 P1.3 P1.4 Recall that you can submit exercises just once!!! OK to submit your files (y/n)? ------------------------------------------------