-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
294 lines (182 loc) · 12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JW Tech Tips</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="shortcut icon" href="/favicon.png">
<link rel="stylesheet" href="/css/style.css">
<meta name="generator" content="Hexo 7.3.0"></head>
<body>
<div id="container">
<div id="wrap">
<header id="header">
<div id="banner"></div>
<div id="header-outer" class="outer">
<div id="header-title" class="inner">
<h1 id="logo-wrap">
<a href="/" id="logo">JW Tech Tips</a>
</h1>
<h2 id="subtitle-wrap">
<a href="/" id="subtitle">A Homelab Enthusiast's Playhouse</a>
</h2>
</div>
<div id="header-inner" class="inner">
<nav id="main-nav">
<a id="main-nav-toggle" class="nav-icon"></a>
<a class="main-nav-link" href="/">Home</a>
<a class="main-nav-link" href="/contact">Contact Me</a>
<a class="main-nav-link" href="/about">About Me</a>
<a class="main-nav-link" href="/links">Useful Links</a>
</nav>
</div>
</div>
</header>
<div class="outer">
<section id="main">
<article id="post-how-to-check-os-version-in-linux-command-line-terminal" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/how-to-check-os-version-in-linux-command-line-terminal/" class="article-date">
<time class="dt-published" datetime="2018-08-05T06:10:41.000Z" itemprop="datePublished">2018-08-05</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/how-to-check-os-version-in-linux-command-line-terminal/">How to check OS version in Linux command line terminal</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>Linux is a <strong>powerful, flexible, and open-source operating system</strong> with a rich ecosystem of distributions. Whether you’re a system administrator, developer, or curious user, understanding how to identify your specific Linux environment is crucial.</p>
<h2 id="Why-Knowing-Your-Linux-Version-Matters"><a href="#Why-Knowing-Your-Linux-Version-Matters" class="headerlink" title="Why Knowing Your Linux Version Matters"></a>Why Knowing Your Linux Version Matters</h2><p>Identifying your Linux distribution and version is essential for:</p>
<ul>
<li>Troubleshooting system issues</li>
<li>Ensuring software compatibility</li>
<li>Managing system updates</li>
<li>Checking security patch levels</li>
<li>Verifying system specifications for technical support</li>
</ul>
<h2 id="6-Proven-Methods-to-Check-Your-Linux-OS-Version"><a href="#6-Proven-Methods-to-Check-Your-Linux-OS-Version" class="headerlink" title="6 Proven Methods to Check Your Linux OS Version"></a>6 Proven Methods to Check Your Linux OS Version</h2><h3 id="1-Using-lsb-release-a-The-Standard-Distribution-Identifier"><a href="#1-Using-lsb-release-a-The-Standard-Distribution-Identifier" class="headerlink" title="1. Using lsb_release -a: The Standard Distribution Identifier"></a>1. Using <code>lsb_release -a</code>: The Standard Distribution Identifier</h3><p>The <code>lsb_release</code> command provides comprehensive Linux Standard Base and distribution-specific information.</p>
<p><strong>Quick Steps:</strong></p>
<ol>
<li>Open your terminal</li>
<li>Execute the following command:</li>
</ol>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">lsb_release -a</span><br></pre></td></tr></table></figure>
<p class="article-more-link">
<a href="/how-to-check-os-version-in-linux-command-line-terminal/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://kurokosama.github.io/how-to-check-os-version-in-linux-command-line-terminal/" data-id="cm4chrc020001v5q06f9b9fsi" data-title="How to check OS version in Linux command line terminal" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-how-to-check-change-the-linux-time-zone" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/how-to-check-change-the-linux-time-zone/" class="article-date">
<time class="dt-published" datetime="2018-07-04T05:00:55.000Z" itemprop="datePublished">2018-07-04</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/how-to-check-change-the-linux-time-zone/">How to check change the linux time zone</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<h2 id="Checking-the-Current-Time-Zone"><a href="#Checking-the-Current-Time-Zone" class="headerlink" title="Checking the Current Time Zone"></a>Checking the Current Time Zone</h2><p>To check your Linux system’s current time zone, use the following command:</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">date</span> -R</span><br></pre></td></tr></table></figure>
<p>This command will display the current <strong>date and time</strong> along with the <strong>configured time zone</strong>.</p>
<h3 id="Changing-the-Time-Zone-to-Los-Angeles"><a href="#Changing-the-Time-Zone-to-Los-Angeles" class="headerlink" title="Changing the Time Zone to Los Angeles"></a>Changing the Time Zone to Los Angeles</h3><p>To change your Linux time zone to the Los Angeles time zone, use the following command:</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line"><span class="built_in">sudo</span> <span class="built_in">cp</span> /usr/share/zoneinfo/America/Los_Angeles /etc/localtime</span><br></pre></td></tr></table></figure>
<p><strong>Explanation:</strong></p>
<ul>
<li><strong>/usr/share/zoneinfo/America/Los_Angeles</strong> is the path to the Los Angeles time zone file.</li>
<li><strong>/etc/localtime</strong> is the file used by the system to determine the current time zone.</li>
<li><code>sudo</code> ensures you have the necessary administrative permissions to make this change.</li>
</ul>
<h3 id="Changing-the-Time-Zone-to-Chicago"><a href="#Changing-the-Time-Zone-to-Chicago" class="headerlink" title="Changing the Time Zone to Chicago"></a>Changing the Time Zone to Chicago</h3>
<p class="article-more-link">
<a href="/how-to-check-change-the-linux-time-zone/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://kurokosama.github.io/how-to-check-change-the-linux-time-zone/" data-id="cm4chrc020002v5q0aevnez2m" data-title="How to check change the linux time zone" class="article-share-link">Share</a>
</footer>
</div>
</article>
<article id="post-Hexo_Code" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<div class="article-meta">
<a href="/Hexo_Code/" class="article-date">
<time class="dt-published" datetime="2010-07-04T05:00:55.000Z" itemprop="datePublished">2010-07-04</time>
</a>
</div>
<div class="article-inner">
<header class="article-header">
<h1 itemprop="name">
<a class="p-name article-title" href="/Hexo_Code/">Hello World</a>
</h1>
</header>
<div class="e-content article-entry" itemprop="articleBody">
<p>Welcome to <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a target="_blank" rel="noopener" href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a target="_blank" rel="noopener" href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a target="_blank" rel="noopener" href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">"My New Post"</span></span><br></pre></td></tr></table></figure>
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/writing.html">Writing</a></p>
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>
<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/server.html">Server</a></p>
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>
<p class="article-more-link">
<a href="/Hexo_Code/#more">Read More</a>
</p>
</div>
<footer class="article-footer">
<a data-url="https://kurokosama.github.io/Hexo_Code/" data-id="cm4chrc000000v5q064ss9rhn" data-title="Hello World" class="article-share-link">Share</a>
</footer>
</div>
</article>
</section>
<aside id="sidebar">
<div class="widget-wrap">
<h3 class="widget-title">Recent Posts</h3>
<div class="widget">
<ul>
<li>
<a href="/how-to-check-os-version-in-linux-command-line-terminal/">How to check OS version in Linux command line terminal</a>
</li>
<li>
<a href="/how-to-check-change-the-linux-time-zone/">How to check change the linux time zone</a>
</li>
<li>
<a href="/Hexo_Code/">Hello World</a>
</li>
</ul>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">Archives</h3>
<div class="widget">
<ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/08/">August 2018</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/07/">July 2018</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2010/07/">July 2010</a></li></ul>
</div>
</div>
</aside>
</div>
<footer id="footer">
<div class="outer">
<div id="footer-info" class="inner">
© 2024 By Autoload<br>
Driven - <a href="https://hexo.io/" target="_blank">Hexo</a>|Theme - <a href="https://github.com/autoload/hexo-theme-auto" target="_blank">Auto</a>
</div>
</div>
</footer>
</div>
<nav id="mobile-nav">
<a href="/" class="mobile-nav-link">Home</a>
<a href="/contact" class="mobile-nav-link">Contact Me</a>
<a href="/about" class="mobile-nav-link">About Me</a>
<a href="/links" class="mobile-nav-link">Useful Links</a>
</nav>
<script src="/js/jquery-3.4.1.min.js"></script>
<script src="/js/script.js"></script>
</div>
</body>
</html>