Posts

Showing posts from August, 2015

Debunking Myth : Is "Ubuntu" a Spying on Me ??

Image
After reading the title of this post, you might be a bit astonished , WTF!!! is Ubuntu really spying on ME ??. Ubuntu is currently the most popular Linux distribution used by a hell lot of people including myself and it is the most user friendly Linux distro i have ever seen.Ubuntu has lot of cool features like a software center,periodic updates and of course, its based on Debian. So, Is Ubuntu Really Spying on Me?? The answer for this question is "YES" .Ubuntu is definitely spying on you.It records all your dash searches and is sending all your information to interested parties like Amazon,Facebook,Twitter etc. If you really want to see this for yourself then  Goto DASH (press SUPER key) - > System Settings - > Details  And you can see this for yourselves     Should i be worried about this ? I personally think that you are not supposed to be worrying too much about this because in todays world all your information ONLINE or OF

How to Execute Shell codes and get their output in Python[ with Code ]

Image
In this tutorial, I will be providing you a code snippet with which u can execute shell codes(or commands in terminal and obtain the output of these commands) Here, I am using the linux command "ls" ,which is used to list the files in the given directory So in terminal we have somthing like this So Now we will see how the same output can be obtained and stored in a variable in python So here is the Code snippet import subprocess output = subprocess.check_output("ls") print(output) In the above code, we first import a module called "subprocess"  Then we are executing a method called "check_output()" and the result is stored in a variable called "output". Thus , we can execute and retrieve the output of any shell code executed in python Now, we run the python script and view the same output