I astonish all the time when I see the FTP package name. vsftpd which abbreviated to Very Secure File Transfer Demon(vsftpd). But when we see the security prospective of this package there is no much security included with this package. I mean when you login to server the credentials are transferred in plain text. This is the reason by default root user is not allowed to login to ftp server. To eliminate transferring data/user credentials in plain text and to encrypt the entire transmission we can take help from openssl to generate a certificate and use SSL certificate when...Read More
Month: February 2010
This article show you how to convert Sun Virtualbox vmi file to Vmware vmdk file. Recently I have started using Ubuntu as my desktop in my company. And installed Sun Virtualbox for test VMs. But most of the people have vmplayer installed. So they donot know how to use this vmi images on a windows box. So here is a solution for converting those vdi image files to VMware .vmdk images. When we install Sun Virtualbox we have so many command lines tools installed along with it. One good tool is VBoxManage, Please remember commands in Linux are case sensitive. So if you try to type vboxmange it will not work. You have to type exactly as VBoxManage. Step1 : Convert from vdi to raw.#VBoxManage internalcommands converttoraw /data/Vm-images/ubuntu-vm.vdi /data/Vm-images/ubuntu.raw Step2 : Now install qemu, which is used to convert .raw files to .vmdk#apt-get install qemu Step3 : Convert .raw files to .vdmk using qemu-img command#qemu-img convert -O vmdk /data/Vm-images/ubuntu.raw /data/Vm-images/ubuntu.vmdknow try to access this .vmdk file using your VMware workstation or VMware player. So what about viseversa?here there are two methods are there 1. By default your Sun Virtualbox will support .vmdk vmware images.2. If its not supported use the following way. Step1 : Use again qemu-img to convert .vmdk disk to .rawqemu-img convert ubuntu.vmdk /tmp/ubuntu.raw Step2 : VBoxManage convertdd /tmp/ubuntu.raw ubuntu.vdiplease share your thoughts. Please visit http://www.linuxnix.com for...Read More
"How many types of files are there in Linux/Unix and what are they?" This is a common question to every person who starts to learn Linux. O.K, why is it that much important to know file types? Answer: This is because Linux considers every thing as a file. When ever you start working on Linux/Unix box you have to deal with different file types to effectively manage them. How many types of file are there in Linux/Unix? By default Unix have only 3 types of files. They are.. Regular files Directory files Special files(This category is having 5 sub types in it.) So in practical we have total 7 types(1+1+5) of files in Linux/Unix. And in Solaris we have 8 types. And you can see the file type indication at leftmost part of “ls -l” command. Here are those files type. Regular file(-) Directory files(d) Special files Block file(b) Character device file(c) Named pipe file or just a pipe file(p) Symbolic link file(l) Socket file(s) For your information there is one more file type called door file(D) which is present in Sun Solaris as mention earlier. A door is a special file for inter-process communication between a client and server (so total 8 types in Unix machines). We will learn about different types of files as below sequence for every file type. Definition and information of the file type...Read More
Get more stuff like this
in your inbox
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
we respect your privacy and take protecting it seriously
Linux Bash History: Replace occurrences in last commandNov 20, 2016 | Basics
My name is Surendra Kumar Anne. I hail from Vijayawada which is cultural capital of south Indian state of Andhra Pradesh. I am a Linux evangelist who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. At present I work at Bank of America as Sr. Analyst Systems and Administration. You can contact me at surendra (@) linuxnix dot com.