Execute Ubuntu Linux Command on Virtual Machine | IndianTechnoEra - IndianTechnoEra
Latest update Android YouTube

Execute Ubuntu Linux Command on Virtual Machine | IndianTechnoEra

Execute Ubuntu Linux Command on Virtual Machine | IndianTechnoEra, How to execute kali Linux , Ubuntu commands on virtual machine?


How to execute kali Linux , Ubuntu commands on virtual machine? | IndianTechnoEra

How To execute UNIX/LINUX commands in Virtual Machine

Requirements: 

VirtualBox software 

Ubuntu OS of version ubuntu-15.10-desktop-i386 / Linux 

Procedure: 

Open the virtual box image which has Hadoop installed. 

Log in using hduser account. 

Execute different Unix commands in the virtual machine. 


Commands 

1. ls: Lists files in current directory

2. mkdir: Make a directory

3. cd : Used to enter into the given directory 

 1

4. rmdir  : Used to remove directory and dir should be empty.

5. cat : Used to create file (cat>file.txt) with data and Ctrl+C to save.

It is also used to display file (cat file.txt). 

It is also used for copy, combining text file.

2

6. cat file.txt : It will show the data of file.txt file

7. cp : Used to copy a file. 

Here myText.txt is original text file and making 

a copy of myText.txt with different name myNewText.txt 

but including data of myText.txt 


3

8. mv : Move or rename the file

9. rm : Remove file 

5

10. Cd .. : Back directory 

11. mv : Moving one folder to another new folder

6

12. clear : It’s clear the screen


Result: Hence executed most useful commands in Linux

Post a Comment

Feel free to ask your query...
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.