• We did not send an email asking for donations - please read this post.

Today's article is about finding your timezone in the terminal.

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
7,322
Reaction score
6,317
Credits
59,325
Exactly as the title says, though mostly useful for people managing servers in different locations:


Feedback is pretty awesome.
 


Nik-Ken-Bah

Well-Known Member
Joined
Sep 9, 2019
Messages
719
Reaction score
687
Credits
2,584
That was good and easy and gave more time on using the terminal. :):cool: Danke
 
OP
K

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
7,322
Reaction score
6,317
Credits
59,325
There are a bunch of similar articles - things easy to do in the terminal - under the 'command line' category:


Many of those are easy stuff for people just learning to use Linux. They all resolve a problem or give you information and you're likely most interested in the latter.

Like there's this article about 'tail': https://linux-tips.us/a-little-about-the-tail-command/ (which has a link to the 'head' command) and those even have practice files you'll download by using wget in the terminal.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,944
Reaction score
3,589
Credits
36,026
You forgot this one, try running this on Ubuntu
Code:
ls -l /etc/localtime
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,944
Reaction score
3,589
Credits
36,026
That's because you configured that yourself, on Ubuntu it shows this as an example.
Code:
[email protected]:~$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 36 aug 16 20:24 /etc/localtime -> /usr/share/zoneinfo/Europe/London
If you actually configured the timezone according to the Arch Installation guide you would have actually configured a Zone/SubZone. Unless you had a reason for using zoneinfo/GB?
I run Arch as well and I get the same as on my Ubuntu vm ;)
 
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation


Top