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

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
4,017
Reaction score
3,691
Credits
32,276
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
685
Reaction score
630
Credits
2,302
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
4,017
Reaction score
3,691
Credits
32,276
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
3,889
Reaction score
2,630
Credits
28,095
You forgot this one, try running this on Ubuntu
Code:
ls -l /etc/localtime
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
3,889
Reaction score
2,630
Credits
28,095
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!

Members online

No members online now.

Top