Home / Groups

During Oracle cloud setup. I created one instance with Ubuntu as os. I wanted to install apache2 in my system. But when i tried to run the following command. 

sudo apt install apache2

i got error no package found. So i searched on google for resolving this issue. After searching a lot, i found one command to install all package in system this command is 

sudo apt-get update

this command will store packages in your system and you can now run sudo apt install apache2 command successfully.

In next post, i will tell you how get oracle cloud vm instance on remote through SSH

Today i found one interesting thing when i was thinking to import .sql file into my database. I didn't find the way how to import it through command line. I searched on google for it and then i found this command to import database..

 

sudo mysql -u root -p [tableName] < [filename]

In my case i wrote it.

sudo mysql -u root -p saveourhistory < saveourhistory.sql

 

and it worked for me.

To move a directory from one location to a other location in Linux. Follow the below command

 

rm - r present_directory target_directory

 

-r represents recursive , means all the files, folders inside the present directory will be moved. 

Search Groups

Groups

2 Members joined | Created By: Mr. Dubey
3 Members joined | Created By: Kartik Sharma
2 Members joined | Created By: Mr. Dubey
2 Members joined | Created By: Mr. Dubey
2 Members joined | Created By: Mr. Dubey
3 Members joined | Created By: Mr. Dubey
4 Members joined | Created By: Ram Avtar Sharma
5 Members joined | Created By: Vinay Kumar
4 Members joined | Created By: Manisha Agrawal
9 Members joined | Created By: Mr. Dubey
10 Members joined | Created By: Mr. Dubey
9 Members joined | Created By: Mr. Dubey
8 Members joined | Created By: Mr. Dubey
8 Members joined | Created By: Mr. Dubey
9 Members joined | Created By: Mr. Dubey
12 Members joined | Created By: Mr. Dubey
10 Members joined | Created By: Deepak Sahoo
11 Members joined | Created By: Java
10 Members joined | Created By: Vijay Sangwan
20 Members joined | Created By: Nisha Gupta

You need an account to perform this action. If you have account click Login or Create an Account.


Create an account | Already have account? Login