Daily Dose

After so long, I got a time to publish this draft. They are general things a developer should know.

Command to download the debian file of the package.

sudo apt download <package-name>

Command to see the dependencies of the package.

sudo apt-cache depends <package>

I was not able to install any package with apt.

*** Error in `appstreamcli’: double free or corruption (fasttop): 0x0000000001dedf90 **

Solution

$ sudo apt install –reinstall libappstream3

Let’s talk about Git.

What if you want to copy the file from one branch to other in git. Think think…

Congratulations if you know, but still I will explain here in detail.

Let’s say we have two branches A and B. I am currently in branch A and I want to copy one file from branch B to A. Remember, the file you want to copy should be committed. If not, then first go to branch B and commit it using below commands.

git checkout B

git add <filename>

git commit -m “Dear file, you are in demand!”

Now come back to branch A using

git checkout A

Now, using below command copy the file from branch B to A.

git checkout B <filename>

Apart from that,  I updated my Firefox using link

I think you learned some new things. Good bye. Stay tuned!

Advertisements

3 thoughts on “Daily Dose

  1. Wow, amazing weblog format! How lengthy have you been running a blog for? you made running a blog look easy. The total look of your website is great, as well as the content material!

    Liked by 1 person

  2. I am not sure the place you are getting your info, however great topic. I needs to spend some time finding out more or figuring out more. Thank you for great info I used to be on the lookout for this info for my mission.

    Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s