basicsys@mars~>echo abc abc basicsys@mars~>echo -e "\001" basicsys@mars~>echo -e "\002" basicsys@mars~>echo -n abc abcbasicsys@mars~>echo -e -n "\001" basicsys@mars~>echo "\a" \a basicsys@mars~>echo -e "\a" basicsys@mars~>echo -E "\a" \a basicsys@mars~>echo "\a" \a basicsys@mars~>echo -e "\a" basicsys@mars~>echo -e "\a\001\002\003\004" basicsys@mars~>echo "abc\ndef" abc\ndef basicsys@mars~>echo -e "abc\ndef" abc def basicsys@mars~>echo -E "abc\ndef" abc\ndef basicsys@mars~>echo -e -n "abc\ndef" abc defbasicsys@mars~>echo -e "\005" basicsys@mars~>echo -e "\006" basicsys@mars~>echo -e "\007" basicsys@mars~>echo -e "\008" 8 basicsys@mars~>echo -e "\018" 8 basicsys@mars~>echo -e "\18" \18 basicsys@mars~>echo -e "\01" basicsys@mars~>echo -e "\x1F" basicsys@mars~>cat F1 abc def 123 basicsys@mars~>cat -n F1 1 abc 2 def 3 123 basicsys@mars~>cat F1 abc def 123 basicsys@mars~>cat -s F1 abc def 123 basicsys@mars~>date Sun Nov 6 16:06:15 IST 2011 basicsys@mars~/lec1>cat P1 #!/bin/bash echo abc date cat -n F1 echo bye date basicsys@mars~/lec1>cat F1 Hi Hello 123 basicsys@mars~/lec1>P1 -bash: ./P1: Permission denied basicsys@mars~/lec1>chmod u+x P1 basicsys@mars~/lec1>P1 abc Sun Nov 6 16:16:17 IST 2011 1 Hi 2 Hello 3 123 bye Sun Nov 6 16:16:17 IST 2011 pico .bashrc add the following 3 lines at the end of the file PS1="\u@\h\w>" set -C PATH=$PATH:. after that run the following command . .bashrc From now on don't need to do it again. you need to register to the course just once to do it: shalidan@mars~>~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): 123456789 To submit execise 1 you need to have the files in your directory. For example P1.1 P1.2 P1.3 P1.4 to see them run the command ls P1* then type: ~basicsys/submit 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)? shalidan@mars~>ls P1 P1.1 P1.2 P1.3 P1.4 shalidan@mars~>ls P1 P1 shalidan@mars~>ls -l P1 -rwx---rwx 1 shalidan shalidan 39 Nov 6 16:44 P1 shalidan@mars~>ls P2 ls: P2: No such file or directory shalidan@mars~>ls -l P1 -rwx---rwx 1 shalidan shalidan 39 Nov 6 16:44 P1 shalidan@mars~>ls P2 ls: P2: No such file or directory shalidan@mars~>ls -a . .bash_logout .bashrc .kde P1 P1.2 P1.4 .. .bash_profile .emacs .mozilla P1.1 P1.3 .zshrc