Well
so today whole of the days gone in the Room itself. Yes I had learnt few C++ and shell scripting stuffs which i was totaly forgetten(since many days back i had a look on them)
C++ how actually file pointer work. we need to create object of fstream class to seprately access the file and that file object handle all the file related accessing.cerr is a new object besides cin and cout which i came to know today. cerr is used to handle error reporting.
PATH setting is one of the important activities in linux OS. By setting the appropriate path we can make our script available system wise. And use our own script similar to the inbuild commands like- ls,cd,cp etc.
command: $ env
will give you many information related to our system environment together with path.
The first entries of each line here act as linux system variable and there values can be obtained seprately like for e.g.
$ echo $PATH
here we can see various path setted in our system seprated by : .
hence if we want to add our own path we can add it by
$ PATH = $PATH : \new directory path
for e.g.
$ PATH = $PATH : .
will set our path to current directory.
The above is the temporary way for adding path and will diminish as soon as we will close our terminal.
For permanat setting we need to make a change in the ~./.bashrc
in your home directory type
$ find | grep 'bash'
now you can open the ./.bashrc file and can add you path.
Attending lecture on F.V(formal Verification) was also quite interesting and thanks to Jeetu for waking me up so early(10 Am ah ah) in the morning and hope i will continue the same .
yeh the movie I watch today with Leela "Catch me if you can" is OK. Will not give negative review on this.Leonardo Decarpio had acted fabulous acted as against Tom Hanks.
Hope will write the very next day:
No comments:
Post a Comment