Operating System/O.S(Arif Butt)

/proc directory , software Installation (Lec12,Lec13)

Tony Lim 2021. 1. 16. 16:45

even though it has string even though directory's size is 0.

 

in this case since it is "S" == sleeping in an interruptible wait

file descriptor for stdin ,stdout ,stderr 

when i did the redirection of stdout "something" appeared in the othe terminal. 

every process has a thread and in this example 2852 is thread id

all the numbers are the directories created on the fly for every process. other deals with information regarding the kernel

23996 is process id of ls command

 

Software Installation

to download sourcefile of certain package == $ apt-get source <package> 

if you do not enable "deb-src" file you will get error as above so i added this 

after this process i could download hello source files.

Index of /gnu/hello/

we can check what i have downloaded from here 

to make use of this we can check file name INSTALL

after running $ ./configure we will get a Makefile 

$ sudo make && make install  and finally i can print hello world!