Linux ls to show file size in GB or MB

Today morning I was with one of my friends, and we were trying to figure something then we reached a point that he did a “ls” command to see the file details and sizes, well he used “ls -l” a very good and useful command but then I find him strugelling with calculating the file size, so I guided him with the h extension. In Linux most of the times when you are dealing with file sizes you can use h extension which stands for human readable. so what its very easy all you have to do is to add h to end of your switches.

like this:

so the result will be something like this instead of showing bytes:

Hope it’s helps you someday.


Incoming search terms:

  • linux file size in mb
  • linux file size in gb
  • linux ls file size
  • ls gb
  • ls -ltr linux gb
  • linux ls in gb
  • ls display size in GB
  • ls - to show file sizes in gb
  • ls display in gb
  • linux size in mb

How to get a free phone

I’ve also came across this question, I think all of us came, not only about smartphone, but sometimes we really think with ourselves that if it is possible to get what we want for free? Well the logical answer for all these kind of questions is, nothing can be achieved for free. It’s the utter truth that you have to pay for anything you want to get, it does not mean it has to be the cash kind of payments. Well yeah, money always matters, with money you can buy almost everything but some other times we pay other stuff to achieve our goals. Selling your feelings, time or even body, we get everything in our daily life based on what we are paying for. Anyway lets not go so far from the main title of the post. Well it’s obvious that you have to pay for everything you want to get, but sometimes you can try your chance for contests to win your wish. Unfortunately I have never been lucky enough to win something in any contest, but I never gave up trying. Anyway all these were some sort of introduction for the website I am going to introduce to you. 1Clickwinner is some sort of offer directories that lists the online contests and freebies available for users to get. Well mostly freebies and contests are based on location desired by the contest runner. for example a branch of a brand is giving away some freebie to users coming only from their origin country. 1clickwinner lists all these offers based on country. I believe the idea is nice and creative. it’s simple as 3 step of opening their website, selecting your country and choose from the gifts available.

There are different kind of gifts available in there such as phones, laptops, tablets, gift cards and other freebies.

Hope you enjoy it.

Incoming search terms:

  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1838 05D4ja8kf9FCSlWRSEtEuYHAA5mlYiRX1kLTOaWJAn_8UeqIMacOe-lhAzyfTA40 4b757d56f6effcb282615c2d64ff2a591c3484fd&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme
  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1839 cP33bMB0vmbNqwuQN0bgrrf3_sUo3lLWxJimLgIGC_zaQ4bl8dxKukcAyTfuYsOh b909abc479e3afaa3ed443e2b0b3c119a15926e6&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme