Hello World , I am Lazy Swapper , today We conducted Glug meet about Version Control System . What is “version control” , and why should you care? Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. For the examples in this book, you will use software source code as the files being version controlled, though in reality you can do this with nearly any type of file on a computer. Consider you a part of a team creating website for your college event . you have been given a task to complete the frontend for a particular event . At the same time other members of the team will concentrate on some other work . When you complete the system , you will share the folder with your team leader. He will be collecting it from you and from all others for their respective tasks . So there are many copies of the files occur in our system . Which may cause a mess with project . Also consider a si...
How do you communicate through internet ? what protocol do you use ? How the connection is established ? Well , today we are going to see about establishing a simple tcp connection between client and the server . In the client side , we are gonna to establish a connection with server (send a request ) For that we need to do 3 things , 1.socket() -- create a socket . 2.connect() -- make a connection with the server . 3.recv() -- for receving data from server . below picture tells the needs for tcp client . In tcp server , we are going get the response from the client and response to it . For establishing a tcp server connection we need to do 4 things , 1: socket() -- create a socket connection . 2: bind() -- bind with ip , server_address , port . 3: listen() -- listen for any connections that are active . 4: accept() -- for accepting the client request . For video reference : tcp client tcp server
Backing up your data might be a nightmare . While we creating a tarball , we may added another file in to it , Also its a dream to extract a specific file from it , but its not true , Linux is like a wand with all spells in it . 1 . tar -cf outputfilename.tar source_files eg : tar -cf output.tar * This will create a tar ball of the files that are present in the current directory . 2 . tar -tf output.tar This will list all the files that are been presented in the tar file . tar -tvf output.tar - to list files with more details 3 . tar -xf output.tar To extract the files from the tarball . 4 . tar -xvf output.tar filename - filename corresponds to the file in output.tar . 5 . tar -xf output.tar -C location - to extract files in to the location [directory] 6 . tar -rvf output.tar file.pdf - Its simple to add another file into a tarball . 7 . tar -tf -u output.tar file.pdf - -u is for checking the duplicates in t...
Comments
Post a Comment