I am happy to post another blog post on how to enable bash on ubuntu on windows application in a windows 10 device and check which version is it running.
If you have done this step (link) then proceed the below steps.
Open Settings –> Update & Security –> For Developers
Enable Developer Mode and restart the system.
After restarting your system just search for bash on ubuntu for windows 10. A command prompt opens.
To check which Ubuntu release has been installed. Type
josept@LENOVO-PC:~$ cat /etc/lsb-release
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
My system is running Ubuntu 14.04.4 LTS.
Happy Learning !!
I am happy to post another blog post on how to format a JSON string in GNU/Linux.
If a string is large then JSON looks very cryptic and it becomes difficult to search/edit it.
We can format easily using the Python interpreter. Python provides JSON modules that will do the needful.
#echo ‘content’ | python -m json.tool
Hope this post helps you. Please subscribe and comment if you have any doubts.
Happy Learning !!
I am happy to post another blog post on how uninstall packages in bash for Windows 10.
I just updated my system to Windows 10 Anniversary update. Hurray!! I found bash (beta) feature in my Windows 10.
So, this post is about uninstall packages in bash.
How to get list of packages installed in your system?
just type dpkg --list
You will see the list of packages installed.
Do you like to uninstall a particular package?
just type sudo apt-get --purge remove nmap
Now, the nmap package gets deleted.
Just read this post How to get bash on Windows 10?
Hope, this helps you to delete the unwanted packages in Windows 10 Bash.
I am happy to post another blog post on how to find the total number of directories and files present.
#sudo apt-get install tree
#tree name-of-the-directory/ | tail -1
Hope this post helps. Please subscribe for future updates.