Group 33 : Lab03_inlab

Group Members:
(Vinayak K, 150050098)
I pledge on my honour that I have not given or received any unauthorized assistance on this assignment or any previous task.
Percent contributed - 100%

(Shriram S B, 150050099)
I pledge on my honour that I have not given or received any unauthorized assistance on this assignment or any previous task.
Percent contributed - 100%

(Anubhaw Kuntal Xess, 150050100)
I pledge on my honour that I have not given or received any unauthorized assistance on this assignment or any previous task.
Percent contributed - 100%

Task A

Reasoning:
	"/usr/share/bash-completion/bash_completion" gets called for tab-completion
	when a command is not found, command_not_found_handle() is invoked and python script 
	'command-not-found' is run


Task B
	> less /proc/meminfo | grep Mem | tr -d " " | cut -d':' -f2
	citation:
		- stackoverflow


Task C
	Task 1
	> ssh vinayakk@mars.cse.iitb.ac.in

	Task 3
	> ssh -X vinayakk@mars.cse.iitb.ac.in
	> subl /tmp/lab3_inlab_C3.txt

	Task 4
	read from www.tecmint.com/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps/
	ssh-keygen flags read from http://linux.die.net/man/1/ssh-keygen

Task D

	task 3:
		used & at the end of ./infiniteLoop.sh to run it as background process
		>./infiniteLoop.sh &
		studied from https://linuxconfig.org/understanding-foreground-and-background-linux-processes
	task 4:
		used %1 as an argument to kill ([1] was the process number returned by 'jobs')
		>kill %1
	- http://stackoverflow.com/questions/1624691/linux-kill-background-task
	task 5:
		1. run cell.sh as
		>./cell.sh
		2. open another terminal
		> pgrep cell.sh 
		gives process ID of cell.sh
		>kill -9 PID 
		kill -9 PID of above process as argument forces(-9) the process cell.sh to stop
		>stackoverflow


Citations:
	- http://linuxcommand.org/tlcl.php
	- https://linuxconfig.org/understanding-foreground-and-background-linux-processes
	- http://stackoverflow.com/questions/1624691/linux-kill-background-task
	- http://patorjk.com/software/taag/#p=display&f=Graffiti&t=Type%20Something%20
