<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>RedHat Linux - Techyaz.com</title>
	<atom:link href="https://techyaz.com/category/rhel/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Tips, Tutorials and How-to Topics</description>
	<lastBuildDate>Fri, 01 Jun 2018 12:06:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://techyaz.com/wp-content/uploads/2017/11/cropped-Site-icon-150x150.png</url>
	<title>RedHat Linux - Techyaz.com</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Use CAT Command on Linux System?</title>
		<link>https://techyaz.com/linux/how-to-use-cat-command-in-linux-system/</link>
					<comments>https://techyaz.com/linux/how-to-use-cat-command-in-linux-system/#respond</comments>
		
		<dc:creator><![CDATA[Angelo Marquez]]></dc:creator>
		<pubDate>Tue, 24 Apr 2018 13:55:44 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=2126</guid>

					<description><![CDATA[<p>This time we continue with the explanation of simple Linux command to learn basics. The command chosen today is the cat command. Cat comes from the word &#8220;concatenate&#8220;.  In short the main utility is to display the contents of one or&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/linux/how-to-use-cat-command-in-linux-system/">How to Use CAT Command on Linux System?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This time we continue with the explanation of simple Linux command to learn basics. The command chosen today is the cat command. Cat comes from the word &#8220;<em>concatenate</em>&#8220;.  In short the main utility is to display the contents of one or more files in the terminal. Here, i will describe most useful examples of CAT command.</p>
<p>Normally the cat command is applied for basically three things in particular:</p>
<ul>
<li>Display the contents of a file</li>
<li>Copy text files to another text file</li>
<li>Append a text file&#8217;s contents to another text file</li>
</ul>
<p>Being a UNIX command it is ported to all GNU/LINUX distributions and of course, it has options to expand and vary the power of the command itself.  Let&#8217;s see the output at the terminal if we do the following command:</p>
<pre><span style="color: #0000ff;"><strong>cat --help</strong></span></pre>
<p>The command shows us a quick help on the cat command including its options.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-2127" src="http://techyaz.com/wp-content/uploads/2018/04/1-cat-min.png" alt="cat help" width="616" height="504" srcset="https://techyaz.com/wp-content/uploads/2018/04/1-cat-min.png 616w, https://techyaz.com/wp-content/uploads/2018/04/1-cat-min-300x245.png 300w" sizes="(max-width: 616px) 100vw, 616px" /></p>
<p>The basic usage syntax is:</p>
<p><strong><em>cat [OPTION] [FILE]&#8230;</em></strong></p>
<p>And the list of commands is shown in this table:</p>
<table>
<tbody>
<tr>
<td width="234"><strong>Option</strong></td>
<td width="342"><strong>Description</strong></td>
</tr>
<tr>
<td width="234">-A</td>
<td width="342">&#8211;show-all Euivalent to –vET</td>
</tr>
<tr>
<td width="234">-b</td>
<td width="342">&#8211;number-nonblank number nonempty output lines, overrides -n</td>
</tr>
<tr>
<td width="234">-e</td>
<td width="342">equivalent to -vE</td>
</tr>
<tr>
<td width="234">-E</td>
<td width="342">&#8211;show-ends display $ at end of each line</td>
</tr>
<tr>
<td width="234">-n</td>
<td width="342">&#8211;number number all outpout lines</td>
</tr>
<tr>
<td width="234">-s</td>
<td width="342">&#8211;squeeze-blank  suppress repeated empty output lines</td>
</tr>
<tr>
<td width="234">-t</td>
<td width="342">equivalent to -vT</td>
</tr>
<tr>
<td width="234">-T</td>
<td width="342">&#8211;show-tabs display TAB characters as ^I</td>
</tr>
<tr>
<td width="234">-u</td>
<td width="342">(ignored)</td>
</tr>
<tr>
<td width="234">-V</td>
<td width="342">&#8211;show-nonprinting   use ^ and M- notation, except for LFD and TAB</td>
</tr>
</tbody>
</table>
<p>Don&#8217;t worry; we&#8217;ll examine the most useful options with several examples.</p>
<h5><span style="color: #993300;">Display Content of File</span></h5>
<p>If we want to show the content of a text file, the syntax would be:</p>
<pre><span style="color: #0000ff;"><strong>cat path_of_the_archive</strong></span></pre>
<p>I&#8217;m going to show the content of a file called file1.txt located in the Example folder. Run below command to display file1.txt content.</p>
<pre><span style="color: #0000ff;"><strong>cat file1.txt</strong></span></pre>
<p><img decoding="async" class="alignnone size-full wp-image-2128" src="http://techyaz.com/wp-content/uploads/2018/04/2-cat-min.png" alt="Show content of a file using CAT" width="842" height="167" srcset="https://techyaz.com/wp-content/uploads/2018/04/2-cat-min.png 842w, https://techyaz.com/wp-content/uploads/2018/04/2-cat-min-300x60.png 300w, https://techyaz.com/wp-content/uploads/2018/04/2-cat-min-768x152.png 768w" sizes="(max-width: 842px) 100vw, 842px" /></p>
<p>And there we have the content of the file shown on the terminal in above image.</p>
<p>If you would like to display the contents of several files, simply place them next. Run below command to display contents of two files file1.txt and file2.txt.</p>
<pre><span style="color: #0000ff;"><strong>cat file1.txt file2.txt</strong></span></pre>
<p>The exit at the terminal would be as follows:</p>
<p><img decoding="async" class="alignnone size-full wp-image-2129" src="http://techyaz.com/wp-content/uploads/2018/04/3-cat-min.png" alt="Display content of several files" width="805" height="167" srcset="https://techyaz.com/wp-content/uploads/2018/04/3-cat-min.png 805w, https://techyaz.com/wp-content/uploads/2018/04/3-cat-min-300x62.png 300w, https://techyaz.com/wp-content/uploads/2018/04/3-cat-min-768x159.png 768w" sizes="(max-width: 805px) 100vw, 805px" /></p>
<p>You can see the contents of both files one by one in above image.</p>
<h5><span style="color: #993300;">Identify Specific File Content</span></h5>
<p>As we can see in above image, it simply shows the contents of file 1 and when it ends, it immediately shows the content of file 2 as if they were &#8220;concatenated&#8221;. If you would like to know where the content of each file ends, then use the <strong>-e</strong> option to show a <strong>$</strong> at the end of the file.</p>
<pre><span style="color: #0000ff;"><strong>cat –e file1.txt file2.txt</strong></span></pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2130" src="http://techyaz.com/wp-content/uploads/2018/04/4-cat-min.png" alt="Display where the content of the file ends" width="815" height="167" srcset="https://techyaz.com/wp-content/uploads/2018/04/4-cat-min.png 815w, https://techyaz.com/wp-content/uploads/2018/04/4-cat-min-300x61.png 300w, https://techyaz.com/wp-content/uploads/2018/04/4-cat-min-768x157.png 768w" sizes="auto, (max-width: 815px) 100vw, 815px" /></p>
<h5><span style="color: #993300;">Add Number of Lines in Output</span></h5>
<p>If you want to display the number of lines along with the file content then you can show it by adding <strong>-n</strong> option. Run below command to display the line numbers while displaying the file content.</p>
<pre><span style="color: #0000ff;"><strong>cat –n file1.txt file2.txt</strong></span></pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2131" src="http://techyaz.com/wp-content/uploads/2018/04/5-cat-min.png" alt="display the number of lines in a file" width="887" height="167" srcset="https://techyaz.com/wp-content/uploads/2018/04/5-cat-min.png 887w, https://techyaz.com/wp-content/uploads/2018/04/5-cat-min-300x56.png 300w, https://techyaz.com/wp-content/uploads/2018/04/5-cat-min-768x145.png 768w" sizes="auto, (max-width: 887px) 100vw, 887px" /></p>
<h5><span style="color: #993300;">Copy Contents of One file to Another</span></h5>
<p>We can also copy the content of one text file to another using CAT command. Run below command to copy content of file1.txt to file4.txt.</p>
<pre><span style="color: #0000ff;"><strong>cat file1.txt &gt; file4.txt</strong></span></pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2132" src="http://techyaz.com/wp-content/uploads/2018/04/6-cat-min.png" alt="Copy content of file 1 to file 2" width="698" height="167" srcset="https://techyaz.com/wp-content/uploads/2018/04/6-cat-min.png 698w, https://techyaz.com/wp-content/uploads/2018/04/6-cat-min-300x72.png 300w" sizes="auto, (max-width: 698px) 100vw, 698px" /></p>
<p>In this case, the command reads the contents of file1.txt and overwrites the contents of the new file. If it does not exist, it is simply created. Now we can validate above command whether contents have been copied to not. Now we proceed to show the contents of <em>file4.txt</em> to verify that it made the &#8220;copy&#8221;. Display content of file4.txt by running below command.</p>
<pre><span style="color: #0000ff;"><strong>cat file4.txt</strong></span></pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2133" src="http://techyaz.com/wp-content/uploads/2018/04/7-cat-min.png" alt="Validate the copied content" width="655" height="167" srcset="https://techyaz.com/wp-content/uploads/2018/04/7-cat-min.png 655w, https://techyaz.com/wp-content/uploads/2018/04/7-cat-min-300x76.png 300w" sizes="auto, (max-width: 655px) 100vw, 655px" /></p>
<p>We can see the content is same as file1.txt in above image.</p>
<h5><span style="color: #993300;">Combine or Append the Content of One File to Another</span></h5>
<p>The cat command also allows us to combine or append a text file data to another one, thanks to the operator &gt;&gt;</p>
<p>In this case, we will combine the content of file1.txt with that of file2.txt</p>
<pre><span style="color: #0000ff;"><strong>cat file1.txt &gt;&gt; file2.txt</strong></span></pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2134" src="http://techyaz.com/wp-content/uploads/2018/04/8-cat-min.png" alt="Combine the content of two files into one file" width="693" height="167" srcset="https://techyaz.com/wp-content/uploads/2018/04/8-cat-min.png 693w, https://techyaz.com/wp-content/uploads/2018/04/8-cat-min-300x72.png 300w" sizes="auto, (max-width: 693px) 100vw, 693px" /></p>
<p>And then we check the contents of the file2.txt file to validate it.</p>
<pre><span style="color: #0000ff;"><strong>cat file2.txt</strong></span></pre>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-2135" src="http://techyaz.com/wp-content/uploads/2018/04/9-cat-min.png" alt="Validate the combined content" width="626" height="167" srcset="https://techyaz.com/wp-content/uploads/2018/04/9-cat-min.png 626w, https://techyaz.com/wp-content/uploads/2018/04/9-cat-min-300x80.png 300w" sizes="auto, (max-width: 626px) 100vw, 626px" /></p>
<p>We can see contents have been combined in to this file. Basically the command takes the content of file1.txt and places it at the end of the file2.txt file</p>
<p>As a conclusion we can say that the cat command is a useful and important command to work with text files in GNU/LINUX and everything about the terminal. It is very useful for managing service configuration files on a server.</p>
<p>I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p><span style="color: #800000;"><em><strong>Read More:</strong></em></span></p>
<ul>
<li><strong><a href="http://techyaz.com/rhel/11-examples-ls-command-list-files-linux/" target="_blank" rel="noopener">11 Examples of ls command to List Files in Linux</a></strong></li>
<li><strong><a href="http://techyaz.com/rhel/linux-user-administration-add-delete-modify-user-accounts/" target="_blank" rel="noopener">Add, Delete &amp; Modify Linux User Accounts</a></strong></li>
<li><strong><a href="http://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/" target="_blank" rel="noopener">How to Reset or Change Linux User Passwords?</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">How to Change Linux Server Name?</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/linux/how-to-use-cat-command-in-linux-system/">How to Use CAT Command on Linux System?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/linux/how-to-use-cat-command-in-linux-system/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>11 Examples of ls Command to List Files in Linux</title>
		<link>https://techyaz.com/linux/11-examples-ls-command-list-files-linux/</link>
					<comments>https://techyaz.com/linux/11-examples-ls-command-list-files-linux/#respond</comments>
		
		<dc:creator><![CDATA[Angelo Marquez]]></dc:creator>
		<pubDate>Tue, 20 Mar 2018 10:21:41 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Linux Commands]]></category>
		<category><![CDATA[Linux Interview Questions and Answers]]></category>
		<category><![CDATA[Linux Tools]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1958</guid>

					<description><![CDATA[<p>Normally, the work of system administrators consists of an almost permanent use of the terminal; this is because servers with GNU/LINUX-based systems, for security reasons, do not have a graphical desktop environment. And this means that we have to use&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/linux/11-examples-ls-command-list-files-linux/">11 Examples of ls Command to List Files in Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Normally, the work of system administrators consists of an almost permanent use of the terminal; this is because servers with GNU/LINUX-based systems, for security reasons, do not have a graphical desktop environment. And this means that we have to use the terminal for basically everything from the simplest or most complex tasks. Today we will learn the <strong>ls</strong> command utility that allows us to list files and folders from the terminal. Here we will also describe different combinations and options that can be used with ls command to get different output.</p>
<h3><span style="color: #333399;"><strong>LIST FILES IN LINUX: &#8220;ls&#8221; COMMAND</strong></span><strong> </strong></h3>
<p>As it was said, the command <strong>ls</strong> allows you to list files and folders of a specific path, is easy to use and is very useful and used in the daily work. The command has several options to improve the listings. In a terminal, we can invoke the help of the command <strong>ls</strong> in this way.</p>
<pre><span style="color: #0000ff;"><strong>ls --help</strong><strong> </strong></span></pre>
<p>Above command will display all options available for ls command to list the files and folders. In this way we get the syntax of usage and options as output per terminal.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1959" src="http://techyaz.com/wp-content/uploads/2018/03/1-ls-cmd-min.png" alt="List all ls command options" width="758" height="736" srcset="https://techyaz.com/wp-content/uploads/2018/03/1-ls-cmd-min.png 758w, https://techyaz.com/wp-content/uploads/2018/03/1-ls-cmd-min-300x291.png 300w" sizes="auto, (max-width: 758px) 100vw, 758px" /></p>
<p>As all options will not cover in one single screenshot so i have scrolled the above screen and taken another screenshots to cover all options in screenshots that has been displayed below.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1960" src="http://techyaz.com/wp-content/uploads/2018/03/2-ls-cmd-min.png" alt="Display all ls command options" width="764" height="736" srcset="https://techyaz.com/wp-content/uploads/2018/03/2-ls-cmd-min.png 764w, https://techyaz.com/wp-content/uploads/2018/03/2-ls-cmd-min-300x289.png 300w" sizes="auto, (max-width: 764px) 100vw, 764px" /></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1961" src="http://techyaz.com/wp-content/uploads/2018/03/3-ls-cmd-min.png" alt="Display all ls command options" width="750" height="736" srcset="https://techyaz.com/wp-content/uploads/2018/03/3-ls-cmd-min.png 750w, https://techyaz.com/wp-content/uploads/2018/03/3-ls-cmd-min-300x294.png 300w" sizes="auto, (max-width: 750px) 100vw, 750px" /></p>
<p>As we can see the documentation is extensive, but don&#8217;t worry we will examine the most useful and used options. The basic syntax of the command is:</p>
<pre><span style="color: #0000ff;"><strong>ls [options] [file|dir]</strong></span></pre>
<p>Although it is possible to use ls from the most basic form only by typing:</p>
<pre><span style="color: #008000;"><strong>#List files from your given directory.</strong></span>
<span style="color: #0000ff;"><strong>ls</strong></span></pre>
<p>With this we only list the files that are in the directory where we are located in the terminal. For example, if we wanted to list everything in the root directory of our GNU/LINUX distribution it would be with the command:</p>
<pre><span style="color: #008000;"><strong>#List everything in the root directory</strong></span>
<span style="color: #0000ff;"><strong>ls /</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1962" src="http://techyaz.com/wp-content/uploads/2018/03/4-ls-cmd-min-1024x150.png" alt="Run ls / to display all directories" width="1024" height="150" srcset="https://techyaz.com/wp-content/uploads/2018/03/4-ls-cmd-min-1024x150.png 1024w, https://techyaz.com/wp-content/uploads/2018/03/4-ls-cmd-min-300x44.png 300w, https://techyaz.com/wp-content/uploads/2018/03/4-ls-cmd-min-768x112.png 768w, https://techyaz.com/wp-content/uploads/2018/03/4-ls-cmd-min.png 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>It was easy, wasn&#8217;t it?</p>
<h5><span style="color: #993300;">Most Important Options of the Command &#8220;ls&#8221;</span></h5>
<p><strong>ls</strong> as well as all GNU/LINUX commands have options that modify the basic command execution result. Here is a list of the most outstanding ones for this command.</p>
<table style="height: 441px;" width="784">
<tbody>
<tr>
<td width="198"><strong>Options</strong></td>
<td width="374"><strong>Description</strong></td>
</tr>
<tr>
<td width="198">-a</td>
<td width="374"> Do not ignore entries starting with .</td>
</tr>
<tr>
<td width="198">-A</td>
<td width="374"> Do not list implied . And ..</td>
</tr>
<tr>
<td width="198">-d</td>
<td width="374">List directories themselves, not their contents</td>
</tr>
<tr>
<td width="198">-i</td>
<td width="374">print the index number of each file</td>
</tr>
<tr>
<td width="198">-l</td>
<td width="374">Use a long listing format.  Displays information such as permissions and owner of the folder or file.</td>
</tr>
<tr>
<td width="198">-r</td>
<td width="374">reverse order while sorting</td>
</tr>
<tr>
<td width="198">-R</td>
<td width="374">List subdirectories recursively.  Displays the contents of the directory subfolders.</td>
</tr>
<tr>
<td width="198">-s</td>
<td width="374">print the allocated size of each file, in blocks</td>
</tr>
<tr>
<td width="198">-S</td>
<td width="374">sort by file size, largest first</td>
</tr>
<tr>
<td width="198">-t</td>
<td width="374">sort by modification time, newest first</td>
</tr>
<tr>
<td width="198">-U</td>
<td width="374">do not sort; list entries in directory order</td>
</tr>
<tr>
<td style="text-align: left;" width="198">-X</td>
<td style="text-align: left;" width="374">sort alphabetically by entry extension</td>
</tr>
</tbody>
</table>
<h3><span style="color: #333399;"> Examples of Command &#8220;ls&#8221;</span></h3>
<p>Here i have given different examples of command ls that you can use to fulfill different requirements.</p>
<h5><span style="color: #993300;">List Hidden Files </span></h5>
<p>We can use option -a if we want to list the hidden files of a specific folder, it would be enough to write:</p>
<pre><span style="color: #0000ff;"><strong>ls –a path</strong></span></pre>
<p>In my case it would be something like that:</p>
<pre><span style="color: #0000ff;"><strong>ls –a /home/angelo/</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1963" src="http://techyaz.com/wp-content/uploads/2018/03/5-ls-cmd-min-1024x217.png" alt="list hidden files in Linux" width="1024" height="217" srcset="https://techyaz.com/wp-content/uploads/2018/03/5-ls-cmd-min-1024x217.png 1024w, https://techyaz.com/wp-content/uploads/2018/03/5-ls-cmd-min-300x63.png 300w, https://techyaz.com/wp-content/uploads/2018/03/5-ls-cmd-min-768x162.png 768w, https://techyaz.com/wp-content/uploads/2018/03/5-ls-cmd-min.png 1182w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>You can see all hidden files as well in above screenshot. We can identify hidden files by looking at the output as such files or folders start with dot (.).</p>
<h5><span style="color: #993300;">Display Files with their Index Number</span></h5>
<p>We can list files with their index number by running below command. To show files/folders with their index number we will use the option –i along with command ls. You can see i have used below command and output is showing in below image.</p>
<pre><span style="color: #0000ff;"><strong>ls -i /home/angelo/
</strong></span><strong><em> </em></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1964" src="http://techyaz.com/wp-content/uploads/2018/03/6-ls-cmd-min-1024x195.png" alt="List folders with index number" width="1024" height="195" srcset="https://techyaz.com/wp-content/uploads/2018/03/6-ls-cmd-min-1024x195.png 1024w, https://techyaz.com/wp-content/uploads/2018/03/6-ls-cmd-min-300x57.png 300w, https://techyaz.com/wp-content/uploads/2018/03/6-ls-cmd-min-768x147.png 768w, https://techyaz.com/wp-content/uploads/2018/03/6-ls-cmd-min.png 1142w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<h5><span style="color: #993300;">List Files with full Details (Permissions, Index no, Owner, Create Date etc.)</span></h5>
<p>We can use ls command to display information such as permissions and owner of the folder or file. We will be using option -I to show complete information about files and folders as shown in below screenshot.</p>
<pre><span style="color: #0000ff;"><strong>ls -l /home/angelo/</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1965" src="http://techyaz.com/wp-content/uploads/2018/03/7-ls-cmd-min.png" alt="Display all details of folders and files" width="778" height="462" srcset="https://techyaz.com/wp-content/uploads/2018/03/7-ls-cmd-min.png 778w, https://techyaz.com/wp-content/uploads/2018/03/7-ls-cmd-min-300x178.png 300w, https://techyaz.com/wp-content/uploads/2018/03/7-ls-cmd-min-768x456.png 768w" sizes="auto, (max-width: 778px) 100vw, 778px" /></p>
<p>This output shows us more specific information about what we have in the folder: First it shows the permissions on the folder, its index number, the owner of the folder, who created the folder, its size in kb, the date it was modified and the folder name.</p>
<h5><span style="color: #993300;">List Files or Folders in a Reverse Order</span></h5>
<p>ls command also gives an option to sort files and folders in reverse order. We can use -r option to show files and folders in a reverse order as shown in below screenshot after running below command.</p>
<pre><span style="color: #0000ff;"><strong>ls –r  /home/angelo/</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1966" src="http://techyaz.com/wp-content/uploads/2018/03/8-ls-cmd-min-1024x139.png" alt="Display files and folders in reverse order" width="1024" height="139" srcset="https://techyaz.com/wp-content/uploads/2018/03/8-ls-cmd-min-1024x139.png 1024w, https://techyaz.com/wp-content/uploads/2018/03/8-ls-cmd-min-300x41.png 300w, https://techyaz.com/wp-content/uploads/2018/03/8-ls-cmd-min-768x105.png 768w, https://techyaz.com/wp-content/uploads/2018/03/8-ls-cmd-min.png 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<h5><span style="color: #993300;">List Subdirectories Recursively</span></h5>
<p>We can List subdirectories recursively by adding the -R option with ls command.  It will display the contents of the directory subfolders. Run below command to display the result.</p>
<pre><span style="color: #0000ff;"><strong>ls –R /home/angelo/</strong></span></pre>
<h5><strong><em> </em></strong><span style="color: #993300;">Display list of Directories Only</span></h5>
<p>We can use -d and an asterisk option to list and show only the directories. Have a look at below command that has displayed the list of directories under /home/angelo.</p>
<pre><span style="color: #0000ff;"><strong>ls –d */home/angelo/</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1967" src="http://techyaz.com/wp-content/uploads/2018/03/9-ls-cmd-min.png" alt="Show directories with astrick" width="980" height="184" srcset="https://techyaz.com/wp-content/uploads/2018/03/9-ls-cmd-min.png 980w, https://techyaz.com/wp-content/uploads/2018/03/9-ls-cmd-min-300x56.png 300w, https://techyaz.com/wp-content/uploads/2018/03/9-ls-cmd-min-768x144.png 768w" sizes="auto, (max-width: 980px) 100vw, 980px" /></p>
<h5><span style="color: #993300;">Display Files Sort by their File Size</span></h5>
<p>Run below command to display files sort by file size. It is possible with the option –S.</p>
<pre><span style="color: #0000ff;"><strong>ls -S /home/angelo/</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1968" src="http://techyaz.com/wp-content/uploads/2018/03/10-ls-cmd-min-1024x145.png" alt="Display files sort by file size" width="1024" height="145" srcset="https://techyaz.com/wp-content/uploads/2018/03/10-ls-cmd-min-1024x145.png 1024w, https://techyaz.com/wp-content/uploads/2018/03/10-ls-cmd-min-300x42.png 300w, https://techyaz.com/wp-content/uploads/2018/03/10-ls-cmd-min-768x108.png 768w, https://techyaz.com/wp-content/uploads/2018/03/10-ls-cmd-min.png 1260w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<h5><span style="color: #993300;">Sort by Date/Time</span></h5>
<p>We can option -t to display files sort by date/time. Run below command to see the output that is also showing in below screenshot.</p>
<pre><span style="color: #0000ff;"><strong>ls –t /home/angelo/</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1969" src="http://techyaz.com/wp-content/uploads/2018/03/11-ls-cmd-min-1024x152.png" alt="Display files sort by date time" width="1024" height="152" srcset="https://techyaz.com/wp-content/uploads/2018/03/11-ls-cmd-min-1024x152.png 1024w, https://techyaz.com/wp-content/uploads/2018/03/11-ls-cmd-min-300x45.png 300w, https://techyaz.com/wp-content/uploads/2018/03/11-ls-cmd-min-768x114.png 768w, https://techyaz.com/wp-content/uploads/2018/03/11-ls-cmd-min.png 1252w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<h5><span style="color: #993300;">Display Files as they were Created</span></h5>
<p>Use option -U to show folders and files in no order at all. It will display just as they are created.</p>
<pre><span style="color: #0000ff;"><strong>ls –U /home/angelo/</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1970 size-large" src="http://techyaz.com/wp-content/uploads/2018/03/12-ls-cmd-min-1024x132.png" alt="Display Files as they were created" width="1024" height="132" srcset="https://techyaz.com/wp-content/uploads/2018/03/12-ls-cmd-min-1024x132.png 1024w, https://techyaz.com/wp-content/uploads/2018/03/12-ls-cmd-min-300x39.png 300w, https://techyaz.com/wp-content/uploads/2018/03/12-ls-cmd-min-768x99.png 768w, https://techyaz.com/wp-content/uploads/2018/03/12-ls-cmd-min.png 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<h5><span style="color: #993300;">Sort by File Extension</span></h5>
<p>We can use option -X with ls command to sort files by their extension names. You can see this in below screenshot.</p>
<pre><span style="color: #0000ff;"><strong>ls –X /home/angelo/</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1971" src="http://techyaz.com/wp-content/uploads/2018/03/13-ls-cmd-min-1024x142.png" alt="Display files sort by file extension" width="1024" height="142" srcset="https://techyaz.com/wp-content/uploads/2018/03/13-ls-cmd-min-1024x142.png 1024w, https://techyaz.com/wp-content/uploads/2018/03/13-ls-cmd-min-300x42.png 300w, https://techyaz.com/wp-content/uploads/2018/03/13-ls-cmd-min-768x107.png 768w, https://techyaz.com/wp-content/uploads/2018/03/13-ls-cmd-min.png 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<h5><span style="color: #993300;">Sort by Modified Files</span></h5>
<p>We can use combination of options <strong>-ltr</strong> to show last modification file or directory date. Simply run below command to display the output.</p>
<pre><strong><span style="color: #0000ff;">ls -lrt</span></strong>

<strong><span style="color: #0000ff;">ls -lrt [path]</span></strong></pre>
<p>In conclusion we can say that the <strong>ls</strong> command, even when it is relatively easy to use, is one of the tools most used by system administrators.</p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p><span style="color: #800000;"><em><strong>Read More:</strong></em></span></p>
<ul>
<li><strong><a href="http://techyaz.com/rhel/red-hat-enterprise-linux-interview-questions-answers/" target="_blank" rel="noopener">RHEL Interview Questions &amp; Answers</a></strong></li>
<li><strong><a href="http://techyaz.com/rhel/linux-user-administration-add-delete-modify-user-accounts/" target="_blank" rel="noopener">Linux User Administration &#8211; Add, Delete &amp; Modify User Accounts</a></strong></li>
<li><strong><a href="http://techyaz.com/rhel/install-htop-monitor-linux-processes/" target="_blank" rel="noopener">Install HTop and Use it to Monitor Linux Processes</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">How to Change Host Name of RHEL system?</a></strong></li>
<li><strong><a href="http://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/" target="_blank" rel="noopener">How to Reset or Change Linux User Account Passwords?</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/linux/11-examples-ls-command-list-files-linux/">11 Examples of ls Command to List Files in Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/linux/11-examples-ls-command-list-files-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux User Administration &#8211; Add, Delete &#038; Modify User Accounts</title>
		<link>https://techyaz.com/linux/linux-user-administration-add-delete-modify-user-accounts/</link>
					<comments>https://techyaz.com/linux/linux-user-administration-add-delete-modify-user-accounts/#respond</comments>
		
		<dc:creator><![CDATA[Angelo Marquez]]></dc:creator>
		<pubDate>Mon, 12 Mar 2018 10:41:35 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[user]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1906</guid>

					<description><![CDATA[<p>In IT’s World, it is common to hear about system users, especially if you work in the administration of systems under that environment. GNU/LINUX is a multiuser and reliable operating system in terms of security, but it is always good&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/linux/linux-user-administration-add-delete-modify-user-accounts/">Linux User Administration &#8211; Add, Delete &#038; Modify User Accounts</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In IT’s World, it is common to hear about system users, especially if you work in the administration of systems under that environment. GNU/LINUX is a multiuser and reliable operating system in terms of security, but it is always good to know the basics of managing system users. Well, today we&#8217;ll be talking about creating, modifying and deleting users in the GNU/LINUX systems. Here, i will explain how to add user to Linux and Modify or remove user to Linux machine.</p>
<h3><span style="color: #333399;">USERS IN GNU/LINUX<strong> </strong></span></h3>
<p>The first thing we need to know is that, in GNU/LINUX there are different types of users already predefined and each of them have different characteristics for the correct functioning of the system. The first of these is the <strong>root</strong> user.</p>
<p><strong>Root user</strong></p>
<p>The Root user is the administrator of the operating system, with all options and permissions to perform operations and changes in the system. Its main features are:</p>
<ul>
<li>It is the only user account with system-wide privileges.</li>
<li>In charge of controlling the administration of user accounts.</li>
<li>It is the only user that can stop the system.</li>
<li>The root user can install, uninstall and update basic system programs and libraries.</li>
</ul>
<p>In other words, the root user is the all-powerful user of the system.</p>
<p><strong>Special Users</strong><strong> </strong></p>
<p>They are also called users without login. Their roles in the system are determined by the addition of installed programs. They are distinguished by:</p>
<ul>
<li>They are created (usually) automatically at the time of Linux or application installation.</li>
<li>It does not have all the privileges of the root user, but depending on the account they assume different root privileges.</li>
<li>They are created when installing the system or any of its extra components.</li>
<li>Some of them are: bin, daemon, adm, lp, sync, shutdown, mail, operator, squid, apache</li>
</ul>
<p><strong>Common Users</strong><strong> </strong></p>
<p>These last users are us. That is, they are accounts that are created to use all accessible parts of the system, such as assigned programs and directories. They have a Home directory where they can easily access their documents and files.</p>
<ul>
<li>Such users have only full privileges in their working directory or HOME.</li>
<li>They are used for individual users.</li>
<li>These users do not have privileges to manage the system or install software.<strong> </strong></li>
</ul>
<h5><span style="color: #993300;"><strong>How to Create or Add USERS TO Linux Systems?</strong></span></h5>
<p>The adduser command is a &#8220;new&#8221; alternative to the useradd binary that allows us to add common users to our GNU/LINUX distribution. It is much more &#8220;friendly&#8221; and intuitive than useradd and allows us to add additional information about the new user. Here we will learn how to create user on Linux system.</p>
<p>In order to use the adduser command we must be root users, for that reason write the following command in a terminal</p>
<pre><span style="color: #008000;"><strong>#Connect using su.</strong></span>
<span style="color: #0000ff;"><strong>su</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1907" src="http://techyaz.com/wp-content/uploads/2018/03/1-su-min.png" alt="" width="648" height="110" srcset="https://techyaz.com/wp-content/uploads/2018/03/1-su-min.png 648w, https://techyaz.com/wp-content/uploads/2018/03/1-su-min-300x51.png 300w" sizes="auto, (max-width: 648px) 100vw, 648px" /></p>
<p>You need to write the root password then we can use adduser. The most basic way to use the adduser command is:</p>
<pre><span style="color: #0000ff;"><strong>adduser new_user</strong><strong> </strong></span></pre>
<p>where new_user is the name of user account. With this &#8220;basic&#8221; form a new user is created and by giving Enter we are asked to enter the new password for this new user account.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1908" src="http://techyaz.com/wp-content/uploads/2018/03/2-adduser-min.png" alt="Add Linux User" width="599" height="191" srcset="https://techyaz.com/wp-content/uploads/2018/03/2-adduser-min.png 599w, https://techyaz.com/wp-content/uploads/2018/03/2-adduser-min-300x96.png 300w" sizes="auto, (max-width: 599px) 100vw, 599px" /></p>
<p>Type the password for your new user account and press Enter. Prompt will ask you to reenter the same password. Re-enter the password and press enter button.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1909" src="http://techyaz.com/wp-content/uploads/2018/03/3-enter-password-min.png" alt="Set Password for New User in Linux" width="567" height="193" srcset="https://techyaz.com/wp-content/uploads/2018/03/3-enter-password-min.png 567w, https://techyaz.com/wp-content/uploads/2018/03/3-enter-password-min-300x102.png 300w" sizes="auto, (max-width: 567px) 100vw, 567px" /></p>
<p>After that you will be asked for any additional information such as Full Name, phone number etc.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1910" src="http://techyaz.com/wp-content/uploads/2018/03/4-fullName-min.png" alt="Enter User Account Details" width="588" height="244" srcset="https://techyaz.com/wp-content/uploads/2018/03/4-fullName-min.png 588w, https://techyaz.com/wp-content/uploads/2018/03/4-fullName-min-300x124.png 300w" sizes="auto, (max-width: 588px) 100vw, 588px" /></p>
<p>At the end, prompt will ask us to confirm the information provided. Type Y to proceed if all information is correct.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1911" src="http://techyaz.com/wp-content/uploads/2018/03/5-enter-details-min.png" alt="Enter User Details" width="587" height="343" srcset="https://techyaz.com/wp-content/uploads/2018/03/5-enter-details-min.png 587w, https://techyaz.com/wp-content/uploads/2018/03/5-enter-details-min-300x175.png 300w" sizes="auto, (max-width: 587px) 100vw, 587px" /></p>
<p>Now, as mentioned above, that is the most basic way to create a user but adduser also has options and alternatives to create users. These alternatives are given by the options that can be added to the command, some of them are:</p>
<pre><strong><span style="color: #0000ff;">adduser [--home DIR] [--shell SHELL] [--no-create-home] [--uid ID]</span></strong>
<strong><span style="color: #0000ff;">[--firstuid ID] [--lastuid ID] [--gecos GECOS] [--ingroup GROUP | --gid ID]</span></strong>
<strong><span style="color: #0000ff;">[--disabled-password] [--disabled-login] [--add_extra_groups] USER

</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1912" src="http://techyaz.com/wp-content/uploads/2018/03/6-adduser-options-min.png" alt="Add Linux User options" width="691" height="562" srcset="https://techyaz.com/wp-content/uploads/2018/03/6-adduser-options-min.png 691w, https://techyaz.com/wp-content/uploads/2018/03/6-adduser-options-min-300x244.png 300w" sizes="auto, (max-width: 691px) 100vw, 691px" /></p>
<p>You can see various options available with adduser command in above screenshot. Let&#8217;s look at example. If you would like to add a user named <em>angelob</em>, and set their home directory to <em>/opt/angelob/</em> the the command will be as follows.</p>
<pre><strong><span style="color: #0000ff;">adduser --home /opt/angelob/ angelob</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1913" src="http://techyaz.com/wp-content/uploads/2018/03/7-adduser-min.png" alt="Add User" width="634" height="192" srcset="https://techyaz.com/wp-content/uploads/2018/03/7-adduser-min.png 634w, https://techyaz.com/wp-content/uploads/2018/03/7-adduser-min-300x91.png 300w" sizes="auto, (max-width: 634px) 100vw, 634px" /></p>
<p>And then it will ask us for the new password and basic user information. This way you can add user to Linux system.</p>
<h5><span style="color: #993300;"><strong>How to Delete Linux User Accounts?</strong></span><strong> </strong></h5>
<p>As in above section we have learnt how to create user on Linux system. Here i will explain how remove user from Linux system. Removing users from the Linux system is simple and the command to do so is <em><strong>userdel</strong></em> and has many fewer options to make the task. You can see the descriptions for this command in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1914" src="http://techyaz.com/wp-content/uploads/2018/03/8-deleteuser-min.png" alt="Delete Linux User" width="704" height="254" srcset="https://techyaz.com/wp-content/uploads/2018/03/8-deleteuser-min.png 704w, https://techyaz.com/wp-content/uploads/2018/03/8-deleteuser-min-300x108.png 300w" sizes="auto, (max-width: 704px) 100vw, 704px" /></p>
<p>The easiest way to delete a user is to remove it by running below command. Here user is the name of user account.</p>
<pre><span style="color: #0000ff;"><strong><span style="color: #008000;">#user is the name of user account.</span>
userdel user</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1915" src="http://techyaz.com/wp-content/uploads/2018/03/9-deleteuser-min.png" alt="Remove Linux User" width="605" height="103" srcset="https://techyaz.com/wp-content/uploads/2018/03/9-deleteuser-min.png 605w, https://techyaz.com/wp-content/uploads/2018/03/9-deleteuser-min-300x51.png 300w" sizes="auto, (max-width: 605px) 100vw, 605px" /></p>
<p>We can also delete your entire personal directory with the -r option. Run below command to do this.</p>
<pre><span style="color: #0000ff;"><strong>userdel -r user</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1916" src="http://techyaz.com/wp-content/uploads/2018/03/10-userdeletion-min.png" alt="Drop Linux user" width="629" height="98" srcset="https://techyaz.com/wp-content/uploads/2018/03/10-userdeletion-min.png 629w, https://techyaz.com/wp-content/uploads/2018/03/10-userdeletion-min-300x47.png 300w" sizes="auto, (max-width: 629px) 100vw, 629px" /></p>
<h5><span style="color: #993300;"><strong>How to Modify Linux User Accounts?</strong><strong> </strong></span></h5>
<p>I have shown how to remove Linux user  in above section. Here, i will explain how to modify a Linux user. To modify users in the GNU/LINUX system we use the command <strong><em>usermod</em></strong>. We can see in the following image the possibilities shown in command:</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1917" src="http://techyaz.com/wp-content/uploads/2018/03/11-modifyuser-min.png" alt="Modify Linux User" width="705" height="572" srcset="https://techyaz.com/wp-content/uploads/2018/03/11-modifyuser-min.png 705w, https://techyaz.com/wp-content/uploads/2018/03/11-modifyuser-min-300x243.png 300w" sizes="auto, (max-width: 705px) 100vw, 705px" /></p>
<p>For example, if we wanted to change the password of a created user, it would be as follows.</p>
<pre><span style="color: #008000;"><strong>#user is the name of Linux user account.</strong></span>
<span style="color: #0000ff;"><strong>usermod -p ‘new_password’ user</strong></span></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1918" src="http://techyaz.com/wp-content/uploads/2018/03/12-modifyuser-min.png" alt="modify linux users" width="654" height="109" srcset="https://techyaz.com/wp-content/uploads/2018/03/12-modifyuser-min.png 654w, https://techyaz.com/wp-content/uploads/2018/03/12-modifyuser-min-300x50.png 300w" sizes="auto, (max-width: 654px) 100vw, 654px" /></p>
<p>Obviously this method is not recommended because it leaves the password visible. Be careful. Read below article if you want to change your Linux user account password.</p>
<ul>
<li><strong><a href="http://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/" target="_blank" rel="noopener">How to Reset or Change User Password on RHEL?</a></strong></li>
</ul>
<p>Another useful example is to move the personal folder of the desired user to another one, for it we must combine the options -d and -m in the following way.</p>
<p><span style="color: #0000ff;"><strong>usermod -d /opt/angelob1/ -m angelob</strong></span></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1919" src="http://techyaz.com/wp-content/uploads/2018/03/13-modifyuser-min.png" alt="Modify Linux user" width="619" height="107" srcset="https://techyaz.com/wp-content/uploads/2018/03/13-modifyuser-min.png 619w, https://techyaz.com/wp-content/uploads/2018/03/13-modifyuser-min-300x52.png 300w" sizes="auto, (max-width: 619px) 100vw, 619px" /></p>
<p>With the rest of the options, we only have to place them according to our needs.</p>
<p>In conclusion we can say that the administration of GNU/LINUX users is a matter for system administrators, the subject is wide and with many options to take into account for the creation of them.</p>
<p><em>Adduser</em> simplifies the creation of user accounts and <em>usermod</em> allows us to modify them in a very fast and dynamic way. And if a user has already completed his life cycle in the system, we can remove it with <em>userdel</em>.</p>
<p>I hope this small guide has been useful to understand a little bit about GNU/LINUX users, clarifying that the commands explained in the article can be used in all popular distributions such as Ubuntu, Red Hat, Suse, Debian and others.<br />
I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p><em><span style="color: #800000;"><strong>Read More:</strong></span></em></p>
<ul>
<li><strong><a href="http://techyaz.com/rhel/red-hat-enterprise-linux-interview-questions-answers/" target="_blank" rel="noopener">RHEL Interview Questions and Answers</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">How to Change Hostname of RHEL system?</a></strong></li>
<li><strong><a href="http://techyaz.com/rhel/install-htop-monitor-linux-processes/" target="_blank" rel="noopener">How to Install and Use Htop to Monitor Linux Processes?</a></strong></li>
<li><strong><a href="http://techyaz.com/debian/how-to-install-debian-9-stretch/" target="_blank" rel="noopener">Install Debian 9 Stretch in Step by Step Process</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/linux/linux-user-administration-add-delete-modify-user-accounts/">Linux User Administration &#8211; Add, Delete &#038; Modify User Accounts</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/linux/linux-user-administration-add-delete-modify-user-accounts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Red Hat Enterprise Linux Interview Questions and Answers</title>
		<link>https://techyaz.com/interview-questions/redhat-linux-interview-questions/red-hat-enterprise-linux-interview-questions-answers/</link>
					<comments>https://techyaz.com/interview-questions/redhat-linux-interview-questions/red-hat-enterprise-linux-interview-questions-answers/#respond</comments>
		
		<dc:creator><![CDATA[Angelo Marquez]]></dc:creator>
		<pubDate>Mon, 26 Feb 2018 09:32:20 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[RedHat Linux Interview Questions]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[Linux Interview Questions and Answers]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1901</guid>

					<description><![CDATA[<p>When we talk about GNU/LINUX distributions we find a big collection of them, which can cover practically all the needs in almost all areas. Some of them range from simple home use to commercial production. The GNU/LINUX distribution that we&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/interview-questions/redhat-linux-interview-questions/red-hat-enterprise-linux-interview-questions-answers/">Red Hat Enterprise Linux Interview Questions and Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>When we talk about GNU/LINUX distributions we find a big collection of them, which can cover practically all the needs in almost all areas. Some of them range from simple home use to commercial production. The GNU/LINUX distribution that we will be talking about not only has a great impact on the &#8220;penguin&#8221; world, but also on the business sector is an obligatory reference because of its stability, commercial support and solutions applied to the cloud. Welcome to Red Hat Enterprise Linux. This article is about Red Hat Enterprise Linux Interview Questions and Answers that will help you to crack your technical round of Linux interviews.</p>
<p><img loading="lazy" decoding="async" class="size-full wp-image-1902 alignright" src="http://techyaz.com/wp-content/uploads/2018/02/RHEL-InterviewQA.png" alt="Red Hat Linux Interview Questions and Answers" width="300" height="300" srcset="https://techyaz.com/wp-content/uploads/2018/02/RHEL-InterviewQA.png 300w, https://techyaz.com/wp-content/uploads/2018/02/RHEL-InterviewQA-150x150.png 150w, https://techyaz.com/wp-content/uploads/2018/02/RHEL-InterviewQA-160x160.png 160w, https://techyaz.com/wp-content/uploads/2018/02/RHEL-InterviewQA-320x320.png 320w" sizes="auto, (max-width: 300px) 100vw, 300px" /></p>
<h3><span style="color: #333399;">Red Hat Linux Interview Questions and Answers</span></h3>
<p><strong>1. What is Red Hat Enterprise Linux?</strong></p>
<p><strong>Answer &#8211;</strong> It is a GNU/LINUX distribution created and developed by the multinational enterprise oriented company Red Hat, being the basis for deploying cloud applications, servers or data center.</p>
<p><strong>2. Which is the package manager used by RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> The package manager in RHEL is YUM.</p>
<p><strong>3. How do I install a program in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> Installing a package or program in RHEL is simple thanks to YUM. With root permission we type in a terminal.</p>
<pre><strong><span style="color: #0000ff;">yum install package_name</span></strong></pre>
<p><strong>4. How can I update the packages in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> Run below command to update all packages in your RHEL system.</p>
<pre><strong><span style="color: #0000ff;">yum upgrade</span></strong></pre>
<p><strong>5. How can I remove the packages in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> Run below command to remove any package from RedHat Linux system.</p>
<pre><span style="color: #008000;"><strong>#Make sure to change the name of package that needs to be removed.</strong></span>
<strong><span style="color: #0000ff;">yum remove package_name</span></strong></pre>
<p><strong>6. How can I create a user in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> We can create a new user from the terminal with the command:</p>
<pre><strong><span style="color: #008000;">#Pass the user name in place of user_name </span></strong>
<span style="color: #0000ff;"><strong>useradd user_name</strong></span></pre>
<p><strong>7. How can I change the user password?</strong></p>
<p><strong>Answer &#8211;</strong> The command that allows us to change the password of the active user is <em><strong>passwd</strong></em>. By entering the command in the terminal, you will be prompted for the current password and twice for the new password. Read below article to learn step by step process to change user as well as sudo passwords.</p>
<ul>
<li><strong><a href="http://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/" target="_blank" rel="noopener">How to Reset or Change User Password on RHEL?</a></strong></li>
</ul>
<p><strong>8. How can I change the system language?</strong></p>
<p><strong>Answer-</strong> In RHEL, the system language can be changed using the following command:</p>
<pre><strong><span style="color: #0000ff;">localectl set-locale LANG=”xx_XX.utf8”</span></strong></pre>
<p>For example, if the system is in English and we want to change to German</p>
<pre><strong><span style="color: #0000ff;">localectl set-locale LANG=de_DE.utf8</span></strong></pre>
<p>Then simply restart the active session (not the system)</p>
<p><strong>9. What is a GNU/LINUX service?</strong></p>
<p><strong>Answer &#8211;</strong> A service is a program that runs in the background, outside the interactive control of the users of the system.</p>
<p><strong>10. How can I list the services that are running in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> This is very useful when managing systems in GNU/LINUX. We can list all the services that are running with the command:</p>
<pre><strong><span style="color: #0000ff;">systemctl -t service --state=active</span></strong></pre>
<p>If you want to check specific service running on RHEL then you can pass service name in above command. For example, i want to check SQL Server service running on my RHEL system then i will run below command. This command will show the output for only this service.</p>
<pre><strong><span style="color: #0000ff;">systemctl status mssql-server</span></strong></pre>
<p><strong>11. How can I start or stop a service?</strong></p>
<p><strong>Answer &#8211;</strong> During the administration of a GNU/LINUX based server we will have to initialize and also stop services.</p>
<p>To initialize:</p>
<pre><strong><span style="color: #0000ff;">systemctl start name.service </span></strong></pre>
<p>To Stop:</p>
<pre><strong><span style="color: #0000ff;">systemctl stop name.service</span></strong></pre>
<p>To Restart:</p>
<pre><strong><span style="color: #0000ff;">systemctl restart name.service</span></strong></pre>
<p><strong>12. How do I know which version of the kernel I am using?</strong></p>
<p><strong>Answer &#8211;</strong> To know which version of the Linux Kernel we are using, just use the command:</p>
<pre><strong><span style="color: #0000ff;">uname –r</span></strong></pre>
<p><strong>13. How can I add and remove kernel modules?</strong></p>
<p><strong>Answer &#8211;</strong> The kernel modules are small programs or libraries that are added to the kernel so that it can manage hardware devices. To add or remove it we use the command modprobe.</p>
<p>For example, to add a module:</p>
<pre><strong><span style="color: #0000ff;">modprobe module_name</span></strong></pre>
<p>And to remove a module</p>
<pre><strong><span style="color: #0000ff;">modprobe –r module_name</span></strong></pre>
<p><strong>14. What is the file system RHEL uses?</strong></p>
<p><strong>Answer &#8211;</strong> The file system used by RHEL is XFS</p>
<p><strong>15. How do I know how much space is available on my hard disk with RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> This is useful to know when we are reaching the hard disk capacity. With the command:</p>
<pre><strong><span style="color: #0000ff;">df –h</span></strong></pre>
<p><strong>16. Can I change hostname in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> Yes. There are multiple ways to change hostname of a RHEL system. For example if we want hostname to be example. com, we must write the following command in a terminal:</p>
<pre><strong><span style="color: #0000ff;">hostnamectl set-hostname example.com
</span></strong></pre>
<p>I have explained it in below article in very details way. Have a look at this article to learn the process to rename or change the hostname of RHEL system.</p>
<ul>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">How to Change Hostname of RHEL system?</a></strong></li>
</ul>
<p><strong>17. How do I know the IP address of the equipment in RHEL?</strong></p>
<p><strong>Answer &#8211;</strong> With the command:</p>
<pre><strong><span style="color: #0000ff;">nmcli dev show</span></strong></pre>
<p>We will not only be able to see the ip address, but also the complete information of all the network interfaces. You can read below article to learn how to check and change the IP address, subnet mask etc of a RHEL system.</p>
<ul>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-on-linux/check-change-ip-address-subnet-mask-default-gateway-linux-server/" target="_blank" rel="noopener">How to Find and Change IP Address, Subnet Mask and Default Gateway of RHEL system?</a></strong></li>
</ul>
<p><strong>18. Can I install a Web server in RHEL?</strong></p>
<p><strong>Answer-</strong> Of course, we can install the web server we want: Apache, nGix or other.</p>
<p><strong>19. After installing Apache2, where is the default Document Root located?</strong></p>
<p><strong>Answer &#8211;</strong> By default the apache2 DocumentRoot in RHEL sets it to /var/www/html/</p>
<p><strong>20. How do I know which version of Red Hat Enterprise Linux is running the server?</strong></p>
<p><strong>Answer &#8211;</strong> Run the command in a terminal to get the RHEL version running on your system.</p>
<pre><strong><span style="color: #0000ff;">/etc/redhat-release</span></strong></pre>
<p>I hope you like this set of Linux Interview Questions and Answers. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/interview-questions/redhat-linux-interview-questions/red-hat-enterprise-linux-interview-questions-answers/">Red Hat Enterprise Linux Interview Questions and Answers</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/interview-questions/redhat-linux-interview-questions/red-hat-enterprise-linux-interview-questions-answers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install Htop and Use it to Monitor Linux Processes?</title>
		<link>https://techyaz.com/linux/install-htop-monitor-linux-processes/</link>
					<comments>https://techyaz.com/linux/install-htop-monitor-linux-processes/#respond</comments>
		
		<dc:creator><![CDATA[Angelo Marquez]]></dc:creator>
		<pubDate>Tue, 20 Feb 2018 08:16:55 +0000</pubDate>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Tools]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Htop]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1880</guid>

					<description><![CDATA[<p>Generally, we run lot of commands to get informations for Linux processes. We can use a tool name Htop to avoid running multiple commands and get lot of valuable information in one screen. Htop is an interactive process viewer tool&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/linux/install-htop-monitor-linux-processes/">How to Install Htop and Use it to Monitor Linux Processes?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Generally, we run lot of commands to get informations for Linux processes. We can use a tool name Htop to avoid running multiple commands and get lot of valuable information in one screen. Htop is an interactive process viewer tool for Linux systems that will show all processes in a Task Manager without wasting resources. Here, i will show you how to install Htop and its uses to monitor the Linux processes.</p>
<p><a href="http://hisham.hm/htop/">HTOP</a> is a process viewer on the terminal created for the entire Unix family but has great popularity within GNU/LINUX. The main advantages of this tool are that we can monitor processes, finalize and explore them all from the terminal which guarantees a minimum expenditure of resources.</p>
<p>&nbsp;</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1882" src="http://techyaz.com/wp-content/uploads/2018/02/1-htop-min.jpg" alt="htop screen" width="480" height="360" srcset="https://techyaz.com/wp-content/uploads/2018/02/1-htop-min.jpg 480w, https://techyaz.com/wp-content/uploads/2018/02/1-htop-min-300x225.jpg 300w" sizes="auto, (max-width: 480px) 100vw, 480px" /></p>
<h3><span style="color: #333399;">How to Install Htop on Various Linux Systems?</span></h3>
<p>We can install Htop from your sources or simply from pre-compiled packages. However, Htop is found in most GNU/LINUX distributions through its main repositories. Please have a look at the step by step process to install Htop on Debian, RHEL, Ubuntu and other Linux systems.</p>
<h5><span style="color: #993300;">Install Htop on Debian 8 Jessie and Debian 9 Stretch</span></h5>
<p>The first thing we need to do is login as root. Type <em><strong>su</strong></em> on your terminal window and press enter followed by typing its password.</p>
<pre><span style="color: #0000ff;"><strong>su</strong></span></pre>
<p>Once you will be connected using su account, run below command to install Htop on Debian systems.</p>
<pre><span style="color: #0000ff;"><strong>apt install htop</strong></span></pre>
<h5><span style="color: #993300;">Install Htop on Ubuntu 14.04  and Ubuntu 16.04</span></h5>
<p>Here, I will show you how to install Htop on Ubuntu servers. Installation of htop on Ubuntu is very much similar to installing it on Debian as we did in above section. In the case of Ubuntu, we must be root user to install htop. Type su and press enter followed by its password.</p>
<pre><span style="color: #0000ff;"><strong>su</strong></span></pre>
<p>Once we will be connected using root user, we will proceed to install htop on Ubuntu by running below commands. A set of execution will start and execution will finish with its installation.</p>
<pre><span style="color: #0000ff;"><strong>apt install htop</strong></span></pre>
<h5><span style="color: #993300;">Install Htop on Fedora 26 and Fedora 27</span></h5>
<p>There is little different way to install Htop on Fedora systems as we use dnf command to install it on fedora. Fedora users can easily install htop as following below steps. First we connect to root privileges using su account. Type su and its password.</p>
<pre><span style="color: #0000ff;"><strong>su</strong></span></pre>
<p>Once we will be connected using <strong>su</strong> account, we can invoke <strong>dnf</strong> which is Fedora package manager. Run below dnf command to install htop on Fedora systems. A set of execution will start and finish with htop installation.</p>
<pre><span style="color: #0000ff;"><strong>dnf install htop</strong></span></pre>
<h5><span style="color: #993300;">Install Htop on Gentoo</span></h5>
<p>For Gentoo we must also be root users. Write in a terminal:</p>
<pre><span style="color: #0000ff;"><strong>su</strong></span></pre>
<p>Once we connected with root user permissions, we can install Htop by invoking Gentoo&#8217;s own package manager emerge. Run below command to start Htop installation on Gentoo system. A series of execution will start and finish with its installation.</p>
<pre><span style="color: #0000ff;"><strong>emerge sys-process/htop</strong></span></pre>
<h5><span style="color: #993300;">Install Htop on CentOS 7 and Red Hat Linux Enterprise</span></h5>
<p>In the case of CentOS 7, we must first add the EPEL repository and then install it normally. First we logged in as root user to get installation privileges. Connect using su account by typing below command and its password.</p>
<pre><span style="color: #0000ff;"><strong>su</strong></span></pre>
<p>Once logged in as root user, we proceed to download the package containing the EPEL repository:</p>
<pre><span style="color: #0000ff;"><strong>wget http://mirror.pnl.gov/epel/7/x86_64/e/epel-release-7-5.noarch.rpm</strong></span></pre>
<p>And then install the downloaded package to add the EPEL repository:</p>
<pre><span style="color: #0000ff;"><strong>rpm -Uvh epel-release-7-5.noarch.rpm</strong></span></pre>
<p>The next step is to &#8220;validate&#8221; the newly added repository by running below command.</p>
<pre><span style="color: #0000ff;"><strong>yum repolist</strong></span></pre>
<p>And Finally we will install htop on RHEL and Centos by running below command.</p>
<pre><span style="color: #0000ff;"><strong>yum install htop</strong><strong> </strong></span></pre>
<h3><span style="color: #333399;">Basic use of HTOP</span></h3>
<p>We have installed Htop on various Linux systems in above section. We must write the command htop To launch it. Here, it is not necessary to do it as root user. You can see i wrote htop on terminal window and press enter to get the Htop task manager screen in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1883" src="http://techyaz.com/wp-content/uploads/2018/02/2-Htop-command-min.png" alt="Type htop to launch its screen" width="700" height="145" srcset="https://techyaz.com/wp-content/uploads/2018/02/2-Htop-command-min.png 700w, https://techyaz.com/wp-content/uploads/2018/02/2-Htop-command-min-300x62.png 300w" sizes="auto, (max-width: 700px) 100vw, 700px" /></p>
<p>You will get below screen once you execute above command on your terminal screen.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1884" src="http://techyaz.com/wp-content/uploads/2018/02/3-Htop_Running-min.jpg" alt="htop running screen" width="960" height="720" srcset="https://techyaz.com/wp-content/uploads/2018/02/3-Htop_Running-min.jpg 960w, https://techyaz.com/wp-content/uploads/2018/02/3-Htop_Running-min-300x225.jpg 300w, https://techyaz.com/wp-content/uploads/2018/02/3-Htop_Running-min-768x576.jpg 768w" sizes="auto, (max-width: 960px) 100vw, 960px" /></p>
<p>It&#8217;s the initial screen. As we can see, it is very simple and easy to understand. We can have fun in three parts that we will study. In this &#8220;first part&#8221; we see the use of the processor and RAM by all processes along with other details. On the right side a small summary of them: how many tasks are running and the total active time.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1885" src="http://techyaz.com/wp-content/uploads/2018/02/4-Htop_top-min.jpg" alt="Top section of htop window" width="766" height="131" srcset="https://techyaz.com/wp-content/uploads/2018/02/4-Htop_top-min.jpg 766w, https://techyaz.com/wp-content/uploads/2018/02/4-Htop_top-min-300x51.jpg 300w" sizes="auto, (max-width: 766px) 100vw, 766px" /></p>
<p>&#8220;Second part&#8221; also you can say middle part is the main view where all the processes are showing. You can see this in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1886" src="http://techyaz.com/wp-content/uploads/2018/02/5-Htop_middle-min.jpg" alt="Main Processes View" width="932" height="430" srcset="https://techyaz.com/wp-content/uploads/2018/02/5-Htop_middle-min.jpg 932w, https://techyaz.com/wp-content/uploads/2018/02/5-Htop_middle-min-300x138.jpg 300w, https://techyaz.com/wp-content/uploads/2018/02/5-Htop_middle-min-768x354.jpg 768w" sizes="auto, (max-width: 932px) 100vw, 932px" /></p>
<p>This is where we have the information through columns that contain details about these processes. The columns are:</p>
<ul>
<li>PID: Displays the process identifier number.</li>
<li>User: The user tells us that he has activated this process.</li>
<li>PRI: It shows the priority with which the process is executed.</li>
<li>NI: Shows the priority level</li>
<li>VIRT: The number of virtual memory used by the process.</li>
<li>RES: Used ram memory (Megabytes)</li>
<li>SHR: Shared memory used</li>
<li>S: Process status (Running, sleeping or zombie)</li>
<li>CPU%: percentage of CPU used by the process</li>
<li>MEM%: percentage of ram memory used by the process</li>
<li>TIME+: Active life-time of the process</li>
<li>Command: The command that executes the process.</li>
</ul>
<p>So with this we have all the information of the processes that are running at that time.</p>
<p>The &#8220;last part&#8221; displays the tools provided by Htop for navigation. For example, allows us to search, sort the processes and the best, for me, the &#8220;kill&#8221; processes by using shortcut keys.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1887" src="http://techyaz.com/wp-content/uploads/2018/02/6-Htop_bottom-min.jpg" alt="Lower section of Htop" width="828" height="64" srcset="https://techyaz.com/wp-content/uploads/2018/02/6-Htop_bottom-min.jpg 828w, https://techyaz.com/wp-content/uploads/2018/02/6-Htop_bottom-min-300x23.jpg 300w, https://techyaz.com/wp-content/uploads/2018/02/6-Htop_bottom-min-768x59.jpg 768w" sizes="auto, (max-width: 828px) 100vw, 828px" /></p>
<p>To kill a process we must navigate through the processes with the up and down keys, select it, press the <strong>F9</strong> key, and choose the number that corresponds to the option of killing that serves us. I almost always use the 9th showing in below screen.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1888" src="http://techyaz.com/wp-content/uploads/2018/02/7-Htop_Kill-min-1024x552.png" alt="htop kill screen" width="1024" height="552" srcset="https://techyaz.com/wp-content/uploads/2018/02/7-Htop_Kill-min-1024x552.png 1024w, https://techyaz.com/wp-content/uploads/2018/02/7-Htop_Kill-min-300x162.png 300w, https://techyaz.com/wp-content/uploads/2018/02/7-Htop_Kill-min-768x414.png 768w, https://techyaz.com/wp-content/uploads/2018/02/7-Htop_Kill-min.png 1366w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>In conclusion we can say that Htop is a great tool to visualize the active and non-active processes in our Linux systems. Being terminal-based, it has the advantage of consuming virtually nothing in resources and helps us to close very heavy or unnecessary processes.</p>
<p>Here i have shown you how to install Htop on Red Hat, Ubuntu, Fedora and Debian systems and its uses. I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p><span style="color: #800000;"><strong><em>Read More:</em></strong></span></p>
<ul>
<li><strong><a href="http://techyaz.com/debian/how-to-install-debian-9-stretch/" target="_blank" rel="noopener">How to Install Debian 9 Stretch?</a></strong></li>
<li><strong><a href="http://techyaz.com/ubuntu/how-to-install-zabbix-on-ubuntu-server-16-04/" target="_blank" rel="noopener">How to Install Zebbix on Ubuntu 16.4?</a></strong></li>
<li><strong><a href="http://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">How to Install RedHat Enterprise Linux?</a></strong></li>
<li><strong><a href="http://techyaz.com/ubuntu/install-ubuntu-linux-server-16-04-virtual-machine-step-by-step/" target="_blank" rel="noopener">Installing Ubuntu 16.04 in Step by Step Process</a></strong></li>
</ul>
<p>The post <a href="https://techyaz.com/linux/install-htop-monitor-linux-processes/">How to Install Htop and Use it to Monitor Linux Processes?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/linux/install-htop-monitor-linux-processes/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Change Putty Cursor Color or Mouse Pointer Color?</title>
		<link>https://techyaz.com/rhel/how-to-change-putty-cursor-color-or-mouse-pointer-color/</link>
					<comments>https://techyaz.com/rhel/how-to-change-putty-cursor-color-or-mouse-pointer-color/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 27 Dec 2017 12:06:46 +0000</pubDate>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[PuTTY]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1401</guid>

					<description><![CDATA[<p>Sometimes, cursor or mouse pointer does not visible on your putty terminal console. The reason behind that is cursor color and putty background color are set to same color configuration. You will not be able to see putty cursor or&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/how-to-change-putty-cursor-color-or-mouse-pointer-color/">How to Change Putty Cursor Color or Mouse Pointer Color?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometimes, cursor or mouse pointer does not visible on your putty terminal console. The reason behind that is cursor color and putty background color are set to same color configuration. You will not be able to see putty cursor or mouse pointer on putty console if your putty background color and cursor color is set as black. If you want to see the putty cursor or putty mouse pointer on your terminal console then we need to either change the putty background color or we need to change putty cursor color. If you want to <a href="http://techyaz.com/sql-server/sql-server-on-linux/how-to-change-putty-background-color/" target="_blank" rel="noopener">change PuTTY background color from black to white</a> or any color as per your choice then you should read attached article and if you want to change color for putty cursor or mouse pointer then you should keep reading this article.</p>
<h5><span style="color: #333399;">Change Putty Cursor Color or Mouse Pointer Color</span></h5>
<p>You can see background color in my putty console is showing as black and cursor color is showing as green. Now I want to change the putty cursor color or mouse pointer color to red.</p>
<p><strong>1-</strong> To start this, we will Right click on the top border of putty console and choose “<strong>Change Settings…”</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1403" src="http://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-CC.jpg" alt="Putty Change Setting window" width="630" height="387" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-CC.jpg 630w, https://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-CC-300x184.jpg 300w" sizes="auto, (max-width: 630px) 100vw, 630px" /></p>
<p><strong>2-</strong> You will get below settings window. Now click on <strong>Colours</strong> tab from left side pane and we need to select an option from right side pane for which we must change the color. As we have to change cursor color or mouse pointer color so we will select <strong>Cursor Colour </strong>from right side pane. Click on <strong>Modify </strong>button to select color as per your choice for your cursor or mouse pointer.</p>
<p><strong>Colours-&gt;Cursor Colour-&gt;Modify</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1404" src="http://techyaz.com/wp-content/uploads/2017/12/2-Settings-Windows-CC.jpg" alt="Putty Settings window" width="627" height="561" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-Settings-Windows-CC.jpg 627w, https://techyaz.com/wp-content/uploads/2017/12/2-Settings-Windows-CC-300x268.jpg 300w" sizes="auto, (max-width: 627px) 100vw, 627px" /></p>
<p><strong>3-</strong> Once you click on modify button, you will get custom colors window to choose appropriate color for your putty cursor or mouse pointer. I have selected red color as shown in below screenshot. Click on <strong>Ok</strong> and then on <strong>Apply</strong> button to reflect this change.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1405" src="http://techyaz.com/wp-content/uploads/2017/12/3-Color-window-cc.jpg" alt="color window" width="616" height="458" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-Color-window-cc.jpg 616w, https://techyaz.com/wp-content/uploads/2017/12/3-Color-window-cc-300x223.jpg 300w" sizes="auto, (max-width: 616px) 100vw, 616px" /></p>
<p><strong>4-</strong> Once you click on apply button, you will see putty cursor color will be changed to red on your putty console. You can see this in below screenshot as well. Now your Putty cursor color has been changed to the color as per your choice in this article.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1406" src="http://techyaz.com/wp-content/uploads/2017/12/4-Cursor-color-changed.jpg" alt="Cursor Color Set to Red" width="571" height="236" srcset="https://techyaz.com/wp-content/uploads/2017/12/4-Cursor-color-changed.jpg 571w, https://techyaz.com/wp-content/uploads/2017/12/4-Cursor-color-changed-300x124.jpg 300w" sizes="auto, (max-width: 571px) 100vw, 571px" /></p>
<p>I have explained step by step method to <a href="http://techyaz.com/rhel/change-putty-text-color/" target="_blank" rel="noopener">change putty text color</a> and <a href="http://techyaz.com/sql-server/sql-server-on-linux/how-to-change-putty-background-color/" target="_blank" rel="noopener">putty background color</a> for your putty terminal console in attached articles. Read them if you want to change putty text or putty background color. I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/how-to-change-putty-cursor-color-or-mouse-pointer-color/">How to Change Putty Cursor Color or Mouse Pointer Color?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/how-to-change-putty-cursor-color-or-mouse-pointer-color/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>How to Change Putty Background Color?</title>
		<link>https://techyaz.com/rhel/how-to-change-putty-background-color/</link>
					<comments>https://techyaz.com/rhel/how-to-change-putty-background-color/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 26 Dec 2017 10:45:49 +0000</pubDate>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[PuTTY]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1391</guid>

					<description><![CDATA[<p>If you want to change putty background color from black to white or any color as per your choice then you should keep reading this article. If you are working for several customers, you can configure distinct colors for their&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/how-to-change-putty-background-color/">How to Change Putty Background Color?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you want to change putty background color from black to white or any color as per your choice then you should keep reading this article. If you are working for several customers, you can configure distinct colors for their servers based on customer names.</p>
<p><span style="color: #993300;"><em><strong>Related Articles</strong></em></span></p>
<ul>
<li><a href="http://techyaz.com/rhel/change-putty-text-color/" target="_blank" rel="noopener">How to Change Putty Terminal Text Color?</a></li>
<li><a href="http://techyaz.com/rhel/how-to-change-putty-cursor-color-or-mouse-pointer-color/" target="_blank" rel="noopener">How to Change Putty Cursor or Mouse Pointer Color?</a></li>
</ul>
<h5><span style="color: #333399;">Change Putty Background Color</span></h5>
<p>Please follow below instructions to change background color of your putty console.</p>
<p><strong>1-</strong> You can see background color in my putty console is showing as black, now I want to change it to white background. Right click on the top border of putty console and choose “<strong>Change Settings…”</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1393 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-BC.jpg" alt="Putty Settings Console" width="833" height="373" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-BC.jpg 833w, https://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-BC-300x134.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/1-Change-Settings-BC-768x344.jpg 768w" sizes="auto, (max-width: 833px) 100vw, 833px" /></p>
<p><strong>2-</strong> You will get below settings window. Now click on <strong>Colours</strong> tab from left side pane and now we need to select an option for which we must change the color. As we have to change putty background color so we will select <strong>Default background </strong>from right side pane. Click on <strong>Modify </strong>button to select white color as putty background color. You can choose putty background color as per your choice.</p>
<p><strong>Colours-&gt;Default background-&gt;Modify</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1394 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/2-Change-Settings-Window-BC.jpg" alt="Putty Settings Console Window" width="623" height="553" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-Change-Settings-Window-BC.jpg 623w, https://techyaz.com/wp-content/uploads/2017/12/2-Change-Settings-Window-BC-300x266.jpg 300w" sizes="auto, (max-width: 623px) 100vw, 623px" /></p>
<p><strong>3-</strong> Once you click on modify button, you will get custom colors window to choose appropriate color as background in putty console. I have selected white color as shown in below screenshot. Click on <strong>Ok</strong> and then on <strong>Apply</strong> button to reflect this change.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1395 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/3-Choose-colors-BC.jpg" alt="color console" width="631" height="447" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-Choose-colors-BC.jpg 631w, https://techyaz.com/wp-content/uploads/2017/12/3-Choose-colors-BC-300x213.jpg 300w" sizes="auto, (max-width: 631px) 100vw, 631px" /></p>
<p><strong>4-</strong> Once you click on apply button, you will see putty background color will be changed to white on your putty console. You can see that background color for your putty terminal console has been changed to white in below screenshot.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1396 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/4-background-color-changed-BC.jpg" alt="Putty Background color changed to white" width="572" height="211" srcset="https://techyaz.com/wp-content/uploads/2017/12/4-background-color-changed-BC.jpg 572w, https://techyaz.com/wp-content/uploads/2017/12/4-background-color-changed-BC-300x111.jpg 300w" sizes="auto, (max-width: 572px) 100vw, 572px" /></p>
<h5><span style="color: #333399;">Change Putty Font Color</span></h5>
<p>Now you can see the putty text color is showing very light and it is very difficult to read texts on above terminal console after changing the putty background color. So, your next step would be to change the putty text color or font color so that it can be visible to eyes. This step is optional and not needed if you only want to change putty background color.</p>
<p>I have explained <a href="http://techyaz.com/rhel/change-putty-text-color/" target="_blank" rel="noopener">step by step method to change putty text color</a> for your putty terminal console in attached article. You just need to launch <strong>settings</strong> windows again and click on <strong>Colours</strong> tab from left side pane followed by <strong>Default Foreground</strong> option from right side pane and then click on <strong>Modify </strong>button to choose color for your text. Choose your putty text color accordingly and click on Ok button and finally click on Apply button to reflect the changes.</p>
<p>Now your Putty background color as well as putty text color have been changed as per your choice. I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook </a>page and <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/how-to-change-putty-background-color/">How to Change Putty Background Color?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/how-to-change-putty-background-color/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Change Putty Text Color?</title>
		<link>https://techyaz.com/rhel/change-putty-text-color/</link>
					<comments>https://techyaz.com/rhel/change-putty-text-color/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 25 Dec 2017 09:25:43 +0000</pubDate>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[PuTTY]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1382</guid>

					<description><![CDATA[<p>If you want to change PuTTY text color that are more visible to your eyes and make you understand what is written on your putty console then you should keep reading this article. We should always set text colors that&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/change-putty-text-color/">How to Change Putty Text Color?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you want to change PuTTY text color that are more visible to your eyes and make you understand what is written on your putty console then you should keep reading this article. We should always set text colors that are clear and visible to eyes. Read attached article if you want to <a href="http://techyaz.com/sql-server/how-to-change-putty-background-color/" target="_blank" rel="noopener">change background color of your putty console</a>.</p>
<h5><span style="color: #333399;">Steps to Change PuTTY Text Color</span></h5>
<p>Please follow below step by step process to change text color of your putty console.</p>
<p><strong>1-</strong> You can see text color in my putty console is very light and very difficult to read. You need to put more focus in just reading the texts so I have decided to change putty text color of my console. Right click on the top border of putty console and choose “<strong>Change Settings…”</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1384" src="http://techyaz.com/wp-content/uploads/2017/12/1-Putty-Copy.jpg" alt="Putty" width="716" height="348" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-Putty-Copy.jpg 716w, https://techyaz.com/wp-content/uploads/2017/12/1-Putty-Copy-300x146.jpg 300w" sizes="auto, (max-width: 716px) 100vw, 716px" /></p>
<p>&nbsp;</p>
<p><strong>2-</strong> You will get below settings window. Click on <strong>Colours</strong> tab from left side pane and select an option from right side pane for which we must change the color. As we have to change putty text color so we will select <strong>Default foreground </strong>from right side pane<strong>. Now, </strong>click on <strong>Modify </strong>button to select colors for your text.</p>
<p><strong>Colours</strong>-&gt;<strong>Default foreground-</strong>&gt;<strong>Modify</strong></p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1385" src="http://techyaz.com/wp-content/uploads/2017/12/2-Settings-page.jpg" alt="putty setting window" width="623" height="555" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-Settings-page.jpg 623w, https://techyaz.com/wp-content/uploads/2017/12/2-Settings-page-300x267.jpg 300w" sizes="auto, (max-width: 623px) 100vw, 623px" /></p>
<p><strong>3-</strong> Once you click on modify button, you will get custom colors window to choose appropriate color for your text showing in putty console. I have selected black color as shown in below screenshot. Click on <strong>Ok</strong> and then on <strong>Apply</strong> button to reflect this change.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1386" src="http://techyaz.com/wp-content/uploads/2017/12/3-Choose-Colors.jpg" alt="Choose Colors" width="634" height="444" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-Choose-Colors.jpg 634w, https://techyaz.com/wp-content/uploads/2017/12/3-Choose-Colors-300x210.jpg 300w" sizes="auto, (max-width: 634px) 100vw, 634px" /></p>
<p><strong>4-</strong> Once you click on <strong>Apply</strong> button, you will see the new text color on your putty console. You can see that putty text color has been changed to black in below screenshot.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1387" src="http://techyaz.com/wp-content/uploads/2017/12/4-Text-color-changed.jpg" alt="Putty text Color" width="567" height="183" srcset="https://techyaz.com/wp-content/uploads/2017/12/4-Text-color-changed.jpg 567w, https://techyaz.com/wp-content/uploads/2017/12/4-Text-color-changed-300x97.jpg 300w" sizes="auto, (max-width: 567px) 100vw, 567px" /></p>
<p>If you are working for several customers, you can configure distinct colors for each customer so that you easily categories them. You can change the color and save them in your putty profile.</p>
<p><span style="color: #800000;"><em><strong>Related Articles</strong></em></span></p>
<ul>
<li><a href="http://techyaz.com/ubuntu/fix-putty-network-error-connection-refused-connecting-ubuntu-server/" target="_blank" rel="noopener">Fix PuTTY Network Error: Connection Refused While Connecting to Ubuntu Server</a></li>
<li><a href="http://techyaz.com/rhel/fix-putty-network-error-connection-timed/" target="_blank" rel="noopener">Fix PuTTY Connection Issue Network Error: Connection Timed Out</a></li>
<li><a href="http://techyaz.com/rhel/how-to-change-putty-cursor-color-or-mouse-pointer-color/" target="_blank" rel="noopener">How to Change Putty Cursor or Mouse Pointer Color?</a></li>
</ul>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook </a>page and <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/change-putty-text-color/">How to Change Putty Text Color?</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/change-putty-text-color/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>How to Reset or Change User Password on RedHat Linux</title>
		<link>https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/</link>
					<comments>https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 20 Dec 2017 15:00:30 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[change password]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1369</guid>

					<description><![CDATA[<p>Password change is a routine task to keep your login secure. We use passwd tool on most of the Linux operating systems to change user password. The passwd tool changes passwords for user and group accounts, even you can change your&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/">How to Reset or Change User Password on RedHat Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Password change is a routine task to keep your login secure. We use <strong>passwd</strong> tool on most of the Linux operating systems to change user password. The <strong>passwd</strong> tool changes passwords for user and group accounts, even you can change your root password using this tool. If you are a normal user, you can change only your password using this tool whereas you can change the password for any account using root access.</p>
<p><em><span style="color: #800000;"><strong>Related Articles</strong></span></em></p>
<ul>
<li><a href="https://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">How to Change Hostname of RedHat Linux Server?</a></li>
<li><a href="https://techyaz.com/sql-server/sql-server-on-linux/check-change-ip-address-subnet-mask-default-gateway-linux-server/" target="_blank" rel="noopener">How to Change IP, Subnet Mask and Default Gateway of RHEL Machine?</a></li>
<li><a href="https://techyaz.com/sql-server/sql-server-on-linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">Step by Step Process to Install RHEL 7.3</a></li>
</ul>
<h3><span style="color: #333399;"><strong>Change User Password in Linux</strong></span></h3>
<p>We will use passwd command to change our own password. Type <strong>passwd</strong> without specifying a username if you are changing your password. You will be prompted to enter your old password for verification, and then a new password. Below is the high level steps to follow password change process.</p>
<ol>
<li>Open Linux terminal or connect to your server using PuTTY.</li>
<li>Type <strong>passwd</strong> and press Enter.</li>
<li>Type your <strong>current password</strong> and press Enter.</li>
<li>Now type your <strong>new password </strong>and press Enter.</li>
<li>Make sure your password is complex and not similar to older one otherwise you will get BAD PASSWORD error as shown in below screenshot.</li>
<li>Retype your new password and press Enter.</li>
<li>Now you will get notify that your password has been changed.</li>
</ol>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1374" src="http://techyaz.com/wp-content/uploads/2017/12/change-password-min.jpg" alt="Change Linux user password" width="670" height="360" srcset="https://techyaz.com/wp-content/uploads/2017/12/change-password-min.jpg 670w, https://techyaz.com/wp-content/uploads/2017/12/change-password-min-300x161.jpg 300w" sizes="auto, (max-width: 670px) 100vw, 670px" /></p>
<h3><span style="color: #333399;"><strong>Change root Password</strong></span></h3>
<p>The &#8220;root&#8221; account is the most privileged account on a Linux system. When using this account, it is crucial to be very careful. Follow below steps to reset or change the password for your root account.</p>
<ol>
<li>Open Linux terminal or connect to your server using PuTTY.</li>
<li>Type <strong>su</strong> at the command prompt, and press Enter.</li>
<li>Type the <strong>current root password</strong>, then press Enter.</li>
<li>Type <strong>passwd</strong> and press Enter.</li>
<li>Type a <strong>new password</strong> and press Enter.</li>
<li><strong>Retype the new password</strong> and press Enter.</li>
<li>Your password is changed here.</li>
</ol>
<h3><span style="color: #333399;"><strong>Change other User’s Account Password</strong></span></h3>
<p>To change a password for a user, you need to login using &#8220;root&#8221; account. Follow below steps to change password on behalf of any user.</p>
<ol>
<li>Open Linux terminal or connect to your server using PuTTY.</li>
<li>Type <strong>su</strong> at the command prompt, and press Enter.</li>
<li>Enter <strong>current root password</strong>, then press Enter.</li>
<li>Type <strong>passwd LoginName</strong> and press Enter. If login account is Manvendra. Type passwd Manvendra.</li>
<li>Enter a <strong>new password</strong> and press Enter.</li>
<li><strong>Retype the new password</strong> and press Enter.</li>
<li>Your password is changed here.</li>
</ol>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and  <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/">How to Reset or Change User Password on RedHat Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Change Hostname of RedHat Linux Server</title>
		<link>https://techyaz.com/rhel/change-hostname-red-hat-linux-server/</link>
					<comments>https://techyaz.com/rhel/change-hostname-red-hat-linux-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Wed, 13 Dec 2017 07:29:58 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1329</guid>

					<description><![CDATA[<p>Last week we had received some requests to rename or change hostname of RedHat Linux systems. We got these requests because the hostname of these linux servers were not as per the server naming convention standard. Here, I will explain&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/change-hostname-red-hat-linux-server/">How to Change Hostname of RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Last week we had received some requests to rename or change hostname of RedHat Linux systems. We got these requests because the hostname of these linux servers were not as per the server naming convention standard. Here, I will explain how to rename hostname of any redhat linux server. I changed hostname of RHEL servers that are hosted in my lab to show you step by step method.</p>
<p><em><span style="color: #800000;"><strong>Related Articles:</strong></span></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/check-change-ip-address-subnet-mask-default-gateway-linux-server/" target="_blank" rel="noopener">How to Change IP Address, Subnet Mask &amp; Default Gateway of Linux Server</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/fixing-error-user-not-sudoers-file-incident-will-reported-red-hat-linux-server/" target="_blank" rel="noopener">Fix Error &#8220;User is not in sudoers file.</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">Installing SQL Server 2017 on Red Hat Linux Server</a></strong></li>
</ul>
<p>There are three methods that i will explain here to rename or change hostname of any Redhat Linux server. These three methods that we will use in this article are given below.</p>
<ol>
<li>Edit etc/hostname.</li>
<li>nmcli utility.</li>
<li>hostnamectl utility.</li>
</ol>
<h3><span style="color: #333399;">Change Hostname of RedHat Linux Server by editing etc/hostname</span></h3>
<p>Connect to your Redhat Linux server and check the hostname by running below command.</p>
<pre><strong><span style="color: #008000;">#Check hostname using any command.</span>
<span style="color: #0000ff;">hostname</span>

<span style="color: #008000;">#You can run below command as well to check the hostname.</span>
<span style="color: #0000ff;">cat /etc/hostname
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1331" src="http://techyaz.com/wp-content/uploads/2017/12/1-check-existing-host-name-min.jpg" alt="Check linux hostname" width="605" height="200" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-check-existing-host-name-min.jpg 605w, https://techyaz.com/wp-content/uploads/2017/12/1-check-existing-host-name-min-300x99.jpg 300w" sizes="auto, (max-width: 605px) 100vw, 605px" /></p>
<p>We can see the hostname of this RedHat Linux server is SQLServerRHEL.localdomain. Now we will change this name to TechyazRHEL. If you want to change hostname with fully qualified name then you can write fully qualified name in below command.</p>
<pre><strong><span style="color: #008000;">#Connect to RHEL as root.</span>
<span style="color: #0000ff;">Sudo su</span>
<span style="color: #008000;">
#Change Hostname using /etc/hostname. Make sure to write your new hostname in double quote.</span>
<span style="color: #0000ff;">echo "TechyazRHEL" &gt; /etc/hostname
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1332" src="http://techyaz.com/wp-content/uploads/2017/12/3-change-host-name-min.jpg" alt="change hostname by editing etc/hostname" width="664" height="205" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-change-host-name-min.jpg 664w, https://techyaz.com/wp-content/uploads/2017/12/3-change-host-name-min-300x93.jpg 300w" sizes="auto, (max-width: 664px) 100vw, 664px" /></p>
<p>You can see when we check hostname of this linux server using <em><strong>hostname</strong></em> command, it is still showing older name SQLServerRHEL.localdomain whereas when we check using <strong><em>cat /etc/hostname</em></strong> it is showing newly changed hostname.</p>
<p>To reflect new host name, we need to restart service <strong>systemd-hostnamed</strong>. Once you will restart this service, the output of <em><strong>hostname</strong></em> command will also be same as new hostname as shown in above image.</p>
<pre><strong><span style="color: #008000;">#Restart service systemd-hostnamed</span>
<span style="color: #0000ff;">service systemd-hostnamed restart
</span> <span style="color: #008000;">or</span>
<span style="color: #0000ff;">systemctl restart systemd-hostnamed</span> 
</strong></pre>
<p>You can see new hostname after restarting above service in above screenshot. One thing you might notice that command prompt is still showing as older hostname i.e. root@SQLServerRHEL. This will disappear if you close this session and connect to new session. Let&#8217;s try this by launching new session, you can see new session is showing new hostname in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1333" src="http://techyaz.com/wp-content/uploads/2017/12/4-New-Session-min.jpg" alt="new session post renaming hostname" width="639" height="134" srcset="https://techyaz.com/wp-content/uploads/2017/12/4-New-Session-min.jpg 639w, https://techyaz.com/wp-content/uploads/2017/12/4-New-Session-min-300x63.jpg 300w" sizes="auto, (max-width: 639px) 100vw, 639px" /></p>
<h3><span style="color: #333399;">Rename Hostname of RedHat Linux Server using nmcli</span></h3>
<p>The nmcli (NetworkManager Command Line Interface) command-line utility is used for controlling Network Manager and reporting network status. nmcli is used to create, display, edit, delete, activate, and deactivate network connections, as well as control and display network device status. Here, we will use nmcli utility to change the hostname of redhat linux server.</p>
<p>Connect to your RedHat Linux server for which you want to change hostname. Run below commands to change hostname of your linux server.</p>
<pre><strong><span style="color: #008000;">#Connect to RedHat Linux server using root access.</span>
<span style="color: #0000ff;">sudo su</span>

<span style="color: #008000;">#Check existing hostname of RHEL server</span>
<span style="color: #0000ff;">hostname</span>

<span style="color: #008000;">#Change hostname of Redhat Linux server to techyazRHEL-nmCLI. </span></strong>
<strong><span style="color: #008000;">#Change your new hostname in place of techyazRHEL-nmCLI.</span>
<span style="color: #0000ff;">nmcli general hostname techyazRHEL-nmCLI</span>

<span style="color: #008000;">#You can also check the hostname of Redhat linux server using nmcli utility.</span>
<span style="color: #0000ff;">nmcli general hostname
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1334" src="http://techyaz.com/wp-content/uploads/2017/12/5-nmcli-min.jpg" alt="CHange hostname using nmcli utility" width="732" height="137" srcset="https://techyaz.com/wp-content/uploads/2017/12/5-nmcli-min.jpg 732w, https://techyaz.com/wp-content/uploads/2017/12/5-nmcli-min-300x56.jpg 300w" sizes="auto, (max-width: 732px) 100vw, 732px" /></p>
<p>You can see hostname of RHEL server has been changed to techyazRHEL-nmCLI in above screenshot. Your PuTTY terminal will display new hostname once you open new session.</p>
<p>If new hostname is not showing after running above command then you should restart service <strong>systemd-hostnamed</strong> to reflect changes as we did in first section. You can see new hostname while launching new session in below screenshot.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1335" src="http://techyaz.com/wp-content/uploads/2017/12/6-nmcli-min.jpg" alt="new session post renaming hostname using nmcli" width="599" height="129" srcset="https://techyaz.com/wp-content/uploads/2017/12/6-nmcli-min.jpg 599w, https://techyaz.com/wp-content/uploads/2017/12/6-nmcli-min-300x65.jpg 300w" sizes="auto, (max-width: 599px) 100vw, 599px" /></p>
<h3><span style="color: #333399;">Rename Hostname of RedHat Linux Server using hostnamectl</span></h3>
<p>The hostnamectl tool is provided for administering the host names in use on a given system. First we will check the existing hostname of this server by running <em><strong>hostname</strong></em> command. We can also check the hostname using hostnamectl utility.</p>
<p>Connect to your Redhat Linux server using root and check the existing hostname.</p>
<pre><strong><span style="color: #008000;">#Connect to Linux server using root.</span>
<span style="color: #0000ff;">sudo su</span>

<span style="color: #008000;">#Check existing hostname.</span>
<span style="color: #0000ff;">hostname</span>
<span style="color: #008000;">or</span> 
<span style="color: #0000ff;">hostnamectl status</span>

<span style="color: #008000;">#Change hostname to techyazRHEL.</span>
<span style="color: #0000ff;">hostnamectl set-name techyazRHEL
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1336" src="http://techyaz.com/wp-content/uploads/2017/12/7-hostnamectl-min.jpg" alt="change hostname using hostnamectl" width="744" height="281" srcset="https://techyaz.com/wp-content/uploads/2017/12/7-hostnamectl-min.jpg 744w, https://techyaz.com/wp-content/uploads/2017/12/7-hostnamectl-min-300x113.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/7-hostnamectl-min-1320x500.jpg 1320w" sizes="auto, (max-width: 744px) 100vw, 744px" /></p>
<p>You can check the hostname post renaming it. You can see new hostname in above image. Putty terminal will display new hostname once you open new session as shown in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1337" src="http://techyaz.com/wp-content/uploads/2017/12/8-hostnamectl-min.jpg" alt="New session to reflect new hostname" width="604" height="132" srcset="https://techyaz.com/wp-content/uploads/2017/12/8-hostnamectl-min.jpg 604w, https://techyaz.com/wp-content/uploads/2017/12/8-hostnamectl-min-300x66.jpg 300w" sizes="auto, (max-width: 604px) 100vw, 604px" /></p>
<p>We can set all three kind of hostnames (Static, Pretty and Transient) using hostnamectl utility. Static name is mandatory whereas remaining two is optional. If you will not pass any hostname type in above command, same name will be set for all three hostnames. I haven&#8217;t used any hostname option in above command so all hostname options will have same name. Let&#8217;s check this in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1338" src="http://techyaz.com/wp-content/uploads/2017/12/9-hostnamectl-min.jpg" alt="check hostname using hostnamectl utility" width="695" height="279" srcset="https://techyaz.com/wp-content/uploads/2017/12/9-hostnamectl-min.jpg 695w, https://techyaz.com/wp-content/uploads/2017/12/9-hostnamectl-min-300x120.jpg 300w" sizes="auto, (max-width: 695px) 100vw, 695px" /></p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">Facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/change-hostname-red-hat-linux-server/">How to Change Hostname of RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/change-hostname-red-hat-linux-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Uninstall SQL Tools from RedHat Linux Server</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 12 Dec 2017 06:05:53 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[bcp]]></category>
		<category><![CDATA[SQL Server Uninstallation]]></category>
		<category><![CDATA[SQL Tools]]></category>
		<category><![CDATA[sqlcmd]]></category>
		<category><![CDATA[uninstallation]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1323</guid>

					<description><![CDATA[<p>I have described how to uninstall SQL Server 2017 running on Redhat Linux server in my last article. Here, i will explain how to remove or uninstall SQL tools (sqlcmd and bcp utilities) from red hat linux machine. Both utilities&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/">How to Uninstall SQL Tools from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I have described <a href="https://techyaz.com/sql-server/uninstall-sql-server-2017-red-hat-linux-server/" target="_blank" rel="noopener">how to uninstall SQL Server 2017 running on Redhat Linux server</a> in my last article. Here, i will explain how to remove or uninstall SQL tools (sqlcmd and bcp utilities) from red hat linux machine. Both utilities are part of SQL tools package mssql-tools so we need to remove this package mssql-tools in order to uninstall these utilities.</p>
<p><em><strong><span style="color: #800000;">Read More on SQL Server Installation on RHEL</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">How to install SQL Server 2017 on RedHat Linux</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">How to Install SQL Server on Redhat Linux without Internet &#8211; Offline Installation</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/" target="_blank" rel="noopener">Install SQL Tools on RedHat Linux using Internet</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/" target="_blank" rel="noopener">Install SQL Server Agent on RHEL</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-tools-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">Installing SQL tools on RHEL without Internet &#8211; Offline Installation</a></strong></li>
</ul>
<h3><span style="color: #333399;">Uninstall SQL Tools on RHEL</span></h3>
<p>As we know sqlcmd and bcp utilities are part of SQL tools so if you want to uninstall these utilities from red hat linux machine you need to uninstall SQL tools package mssql-tools. Follow below steps to uninstall sqlcmd utility from your redhat linux machine.</p>
<p><strong>1-</strong> Connect to your RHEL server where SQL tools has been installed and running. Check whether SQL tools are installed on this machine or not by checking sqlcmd or bcp utilities. You can see RedHat Linux is recognizing sqlcmd utility that means SQL tools have been installed on this machine that needs to be uninstalled.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1325" src="http://techyaz.com/wp-content/uploads/2017/12/1-check-sqlcmd-min.jpg" alt="check sqlcmd utility" width="674" height="138" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-check-sqlcmd-min.jpg 674w, https://techyaz.com/wp-content/uploads/2017/12/1-check-sqlcmd-min-300x61.jpg 300w" sizes="auto, (max-width: 674px) 100vw, 674px" /></p>
<p><strong>2-</strong> We can see sqlcmd utility in above screenshot. Now, we will uninstall SQL tools by running below command.</p>
<pre><strong><span style="color: #008000;">#Uninstall SQL tools from RHEL</span>
<span style="color: #0000ff;">sudo yum remove mssql-tools
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1326" src="http://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min.jpg" alt="uninstall SQL tools" width="1440" height="769" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min.jpg 1440w, https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min-300x160.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min-768x410.jpg 768w, https://techyaz.com/wp-content/uploads/2017/12/2-remove-sql-tools-min-1024x547.jpg 1024w" sizes="auto, (max-width: 1440px) 100vw, 1440px" /></p>
<p>You can see the details of SQL tools package that is going to be removed from this machine. We can see mssql-tools package is going to be removed here. Above command will ask us to type <strong>y</strong> to proceed with the uninstallation of this package mssql-tools and type <strong>N</strong> to quit this removal.</p>
<p>I entered<strong> y</strong> to uninstall SQL tools from this machine. This will uninstall both utilities sqlcmd and bcp. You can see SQL tools package mssql-tools has been removed from this machine post entering <strong>y</strong> in above screenshot.</p>
<p><strong>3-</strong> Now, we can check sqlcmd or bcp utility again to validate this uninstallation. I typed sqlcmd as i did in first screenshot and pressed enter. Now we can see red hat linux is not recognizing sqlcmd utility, that means SQL tools have been removed from this machine.</p>
<pre><strong><span style="color: #008000;">#check sqlcmd utility post SQL tools uninstallation</span>
<span style="color: #0000ff;">sqlcmd
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1327" src="http://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min.jpg" alt="balidate sqlcmd utility removal" width="906" height="153" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min.jpg 906w, https://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min-300x51.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/3-recheck-sqlcmd-min-768x130.jpg 768w" sizes="auto, (max-width: 906px) 100vw, 906px" /></p>
<p>Here i have shown step by step process to uninstall SQL Tools sqlcmd and bcp from linux machine.</p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/">How to Uninstall SQL Tools from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-tools-redhat-linux-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Uninstall SQL Server 2017 from RedHat Linux Server</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Fri, 08 Dec 2017 07:28:04 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[red hat Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server 2017]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[SQL Server Uninstallation]]></category>
		<category><![CDATA[uninstallation]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1307</guid>

					<description><![CDATA[<p>We all know how to install SQL Server 2017 on RedHat Linux. Here I will explain step by step process to uninstall SQL Server 2017 on RedHat Linux 7.3 server. Read More on SQL Server Installation on Linux Servers Installing&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/">How to Uninstall SQL Server 2017 from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>We all know <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">how to install SQL Server 2017 on RedHat Linux</a>. Here I will explain step by step process to uninstall SQL Server 2017 on RedHat Linux 7.3 server.</p>
<p><em><strong><span style="color: #800000;">Read More on SQL Server Installation on Linux Servers</span></strong></em></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/" target="_blank" rel="noopener">Installing SQL Server 2017 on Ubuntu Server</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-redhat-linux-without-internet-offline-installation/" target="_blank" rel="noopener">How to Install SQL Server on Redhat Linux without Internet &#8211; Offline Installation</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">How to Install SQL Server on Ubuntu without Internet access &#8211; Offline Installation</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/" target="_blank" rel="noopener">Installing SQL Tools on RedHat Linux Server</a></strong></li>
</ul>
<h3><span style="color: #333399;">Uninstall SQL Server 2017 on RHEL</span></h3>
<p>Uninstalling SQL Server 2017 that is running on Linux server is totally different process as compared to its windows based SQL Server. Follow below step by step process to uninstall SQL Server 2017 from your RHEL Linux server.</p>
<p><strong>1-</strong> Connect to your RHEL server where SQL Server 2017 is running and that needs to be uninstalled from the server. Check whether SQL Server is installed on this machine or not by checking SQL Server service. You can see SQL Server is running on this server.</p>
<pre><strong><span style="color: #008000;">#Run below command to check SQL Server Service.</span>
<span style="color: #0000ff;">systemctl status mssql-server
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1309" src="http://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min.jpg" alt="Check SQL Server Service on RHEL" width="999" height="190" srcset="https://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min.jpg 999w, https://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min-300x57.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/1-Check-SQL-Server-min-768x146.jpg 768w" sizes="auto, (max-width: 999px) 100vw, 999px" /></p>
<p><strong>2-</strong> Check SQL Server files along with the database files before removing SQL Server. We will validate SQL Server removal by checking these files post uninstallation.</p>
<pre><strong><span style="color: #008000;">#Check SQL Server binaries &amp; database files</span>
<span style="color: #0000ff;">sudo ls -lrt /var/opt/mssql
sudo ls -lrt /var/opt/mssql/data
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1310" src="http://techyaz.com/wp-content/uploads/2017/12/2-check-files-min.jpg" alt="check database files" width="622" height="373" srcset="https://techyaz.com/wp-content/uploads/2017/12/2-check-files-min.jpg 622w, https://techyaz.com/wp-content/uploads/2017/12/2-check-files-min-300x180.jpg 300w" sizes="auto, (max-width: 622px) 100vw, 622px" /></p>
<p><span style="color: #ff0000;"><em><strong>Note:</strong> </em></span><strong><em>Make sure to run full backup of all your databases and keep them in a safer place for future needs. </em></strong></p>
<p><strong>3-</strong> Now, we will uninstall SQL Server by running below command.</p>
<pre><strong><span style="color: #008000;">#Remove SQL Server from your Linux machine</span>
<span style="color: #0000ff;">sudo yum remove mssql-server
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1311 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min.jpg" alt="uninstall SQL Server 2017 from RHEL" width="1424" height="676" srcset="https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min.jpg 1424w, https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min-300x142.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min-768x365.jpg 768w, https://techyaz.com/wp-content/uploads/2017/12/3-Remove-SQl-Server-min-1024x486.jpg 1024w" sizes="auto, (max-width: 1424px) 100vw, 1424px" /></p>
<p>You can see details of SQL Server packages that are going to be removed from this machine. These packages are SQL Server and SQL Server Agent that are going to be removed here. Above command will ask us to type <strong>y</strong> to proceed with the uninstallation and type <strong>N</strong> to quit this uninstallation. Type <strong>y</strong> to proceed with the SQL Server removal.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-1312 size-full" src="http://techyaz.com/wp-content/uploads/2017/12/4-remove-sql-server-min.jpg" alt="uninstall sql server 2017 from rhel" width="706" height="411" srcset="https://techyaz.com/wp-content/uploads/2017/12/4-remove-sql-server-min.jpg 706w, https://techyaz.com/wp-content/uploads/2017/12/4-remove-sql-server-min-300x175.jpg 300w" sizes="auto, (max-width: 706px) 100vw, 706px" /></p>
<p>You can see SQL Server and SQL Server Agent both packages have been removed from this machine.</p>
<p><strong>4-</strong> Now, remove all SQL Server binaries and database files from its installed location that we checked in second screenshot by running below command.</p>
<pre><strong><span style="color: #008000;">#Remove database files and SQL binaries.</span>
<span style="color: #0000ff;">sudo rm -rf /var/opt/mssql
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1313" src="http://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min.jpg" alt="remove sql server binaries" width="795" height="47" srcset="https://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min.jpg 795w, https://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min-300x18.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/5-remove-files-min-768x45.jpg 768w" sizes="auto, (max-width: 795px) 100vw, 795px" /></p>
<p>Here, your SQL Server has been removed from this linux machine. You can check SQL Server binaries and database files by running below commands. We can see no files in these locations because they have been removed now.</p>
<pre><strong><span style="color: #008000;">#Check database files.</span>
<span style="color: #0000ff;">sudo ls -lrt /var/opt/mssql/data</span>

<span style="color: #008000;">#Check SQL Server files &amp; folders.</span>
<span style="color: #0000ff;">sudo ls -lrt /var/opt/mssql
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1314" src="http://techyaz.com/wp-content/uploads/2017/12/6-check-files-post-removal-min.jpg" alt="check sql server binaries" width="724" height="136" srcset="https://techyaz.com/wp-content/uploads/2017/12/6-check-files-post-removal-min.jpg 724w, https://techyaz.com/wp-content/uploads/2017/12/6-check-files-post-removal-min-300x56.jpg 300w" sizes="auto, (max-width: 724px) 100vw, 724px" /></p>
<p><strong>5-</strong> Now you can check SQL Server service again by executing below command.</p>
<pre><strong><span style="color: #008000;">#Check SQL Server Service post SQL Server Removal.</span>
<span style="color: #0000ff;">systemctl status mssql-server</span> </strong></pre>
<p>We can see SQL Server is not loaded this time but service is showing as active.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1315" src="http://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min.jpg" alt="Check SQL Server service post uninstallation" width="866" height="183" srcset="https://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min.jpg 866w, https://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min-300x63.jpg 300w, https://techyaz.com/wp-content/uploads/2017/12/7-Check-SQL-Server-post-removal-min-768x162.jpg 768w" sizes="auto, (max-width: 866px) 100vw, 866px" /></p>
<p>When you will try to restart this service, it will throw you an error that unit not found as shown in below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1316" src="http://techyaz.com/wp-content/uploads/2017/12/8-Restart-sql-server-min.jpg" alt="Restart SQL Server service post uinstallation" width="719" height="153" srcset="https://techyaz.com/wp-content/uploads/2017/12/8-Restart-sql-server-min.jpg 719w, https://techyaz.com/wp-content/uploads/2017/12/8-Restart-sql-server-min-300x64.jpg 300w" sizes="auto, (max-width: 719px) 100vw, 719px" /></p>
<p><strong>6-</strong> Now we need to reboot the server to update SQL Server service status on RHEL. I restarted this linux machine and again checked the SQL Server service. You can see this time it says service could not found.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1317" src="http://techyaz.com/wp-content/uploads/2017/12/9-reboot-server-check-service-min.jpg" alt="restart RHEL and check SQL Service" width="584" height="264" srcset="https://techyaz.com/wp-content/uploads/2017/12/9-reboot-server-check-service-min.jpg 584w, https://techyaz.com/wp-content/uploads/2017/12/9-reboot-server-check-service-min-300x136.jpg 300w" sizes="auto, (max-width: 584px) 100vw, 584px" /></p>
<p>I hope you like this article. Please follow our <a href="https://www.facebook.com/Techyaz/">facebook</a> page and <a href="https://twitter.com/Tech_yaz">Twitter</a> handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/">How to Uninstall SQL Server 2017 from RedHat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/uninstall-sql-server-2017-red-hat-linux-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>21 Missing Features in SQL Server on Linux</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/21-missing-features-in-sql-server-on-linux/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/21-missing-features-in-sql-server-on-linux/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 30 Oct 2017 07:24:16 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Interview Questions]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Missing features]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=1062</guid>

					<description><![CDATA[<p>In last tip, I have explained about new features introduced in SQL Server 2017. SQL Server support on Linux based operating systems is one of the new feature introduced in SQL Server 2017. Here, I will describe all those missing&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/21-missing-features-in-sql-server-on-linux/">21 Missing Features in SQL Server on Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>In last tip, I have explained about <a href="http://techyaz.com/sql-server/10-new-features-sql-server-2017-database-engine/" target="_blank" rel="noopener">new features introduced in SQL Server 2017</a>. SQL Server support on Linux based operating systems is one of the new feature introduced in SQL Server 2017. Here, I will describe all those missing features from Linux based SQL Server instances but these features can be used if you are deploying your SQL Server on Windows operating system. We are expecting Microsoft will include all these features in upcoming releases of SQL Servers.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1066" src="http://techyaz.com/wp-content/uploads/2017/10/21-missing-features.jpg" alt="21 missing features in sql server on linux" width="538" height="537" srcset="https://techyaz.com/wp-content/uploads/2017/10/21-missing-features.jpg 538w, https://techyaz.com/wp-content/uploads/2017/10/21-missing-features-150x150.jpg 150w, https://techyaz.com/wp-content/uploads/2017/10/21-missing-features-300x300.jpg 300w, https://techyaz.com/wp-content/uploads/2017/10/21-missing-features-160x160.jpg 160w, https://techyaz.com/wp-content/uploads/2017/10/21-missing-features-320x320.jpg 320w" sizes="auto, (max-width: 538px) 100vw, 538px" /></p>
<h5><span style="color: #000080;">Missing Features in SQL Server on Linux</span></h5>
<p>Below is the list of features that are not supported on Linux based SQL Server instances as of now in current GA release of SQL Server 2017.</p>
<p>1. Analysis Services<br />
2. Reporting Services<br />
3. R Services<br />
4. Master Data Services<br />
5. Data Quality Services<br />
6. SQL Server Browser Service<br />
7. Transactional &amp; Merge Replication<br />
8. FILESTREAM<br />
9. FileTables<br />
10. Stretch DB<br />
11. Polybase<br />
12. Third Party Extensions<br />
13. XPs<br />
14. VSS Snapshots<br />
15. Buffer Pool Extension<br />
16. Change Data Capture<br />
17. Alerts<br />
18. Distributed query with 3rd-party connections<br />
19. Database Mirroring<br />
20. AD Authentication for Linked Servers &amp; Availability Groups (AGs)<br />
21. SQL Server Integration Services (SSIS)</p>
<p>The mssql-server-is package (SSIS) is not supported on SUSE Linux in this release. It is currently supported on Ubuntu and on Red Hat Enterprise Linux (RHEL) only.</p>
<p>The following features are not supported in this release when you run SSIS packages on Linux:</p>
<p>o SSIS Catalog database<br />
o Scheduled package execution by SQL Agent<br />
o Windows Authentication<br />
o Third-party components<br />
o Change Data Capture (CDC)<br />
o SSIS Scale Out<br />
o Azure Feature Pack for SSIS<br />
o Hadoop and HDFS support<br />
o Microsoft Connector for SAP BW</p>
<p>For a list of built-in SSIS components that are not currently supported, or that are supported with limitations, see <a href="https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-ssis-known-issues#components">Limitations and known issues for SSIS on Linux</a></p>
<p><span style="color: #800000;"><em><strong>Related Articles:</strong></em></span></p>
<ul>
<li><a href="http://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-ubuntu-internet-access/" target="_blank" rel="noopener">Install SQL Server on Ubuntu Server</a></li>
<li><a href="http://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">How to Install SQL Server on RHEL</a></li>
<li><a href="http://techyaz.com/sql-server/10-new-features-sql-server-2017-database-engine/" target="_blank" rel="noopener">New features Introduced in SQL Server 2017</a></li>
<li><a href="http://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-2017-on-ubuntu-server-without-internet-offline-installation/" target="_blank" rel="noopener">Install SQL Server on Ubuntu without Internet Access </a></li>
</ul>
<p>I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/21-missing-features-in-sql-server-on-linux/">21 Missing Features in SQL Server on Linux</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/21-missing-features-in-sql-server-on-linux/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to Find and Change IP Address, Subnet Mask &#038; Default Gateway of Linux Server</title>
		<link>https://techyaz.com/rhel/check-change-ip-address-subnet-mask-default-gateway-linux-server/</link>
					<comments>https://techyaz.com/rhel/check-change-ip-address-subnet-mask-default-gateway-linux-server/#comments</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Tue, 12 Sep 2017 12:45:46 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=870</guid>

					<description><![CDATA[<p>Sometimes we need to check the IP, Subnet mask and default gateway of our Linux machine and sometimes we need to change them as per our requirement. Here i will explain how to check and change these properties. If you&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/rhel/check-change-ip-address-subnet-mask-default-gateway-linux-server/">How to Find and Change IP Address, Subnet Mask &#038; Default Gateway of Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sometimes we need to check the IP, Subnet mask and default gateway of our Linux machine and sometimes we need to change them as per our requirement. Here i will explain how to check and change these properties. If you want to <a href="https://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">change hostname of your Linux server</a>, i would suggest to read attached article.</p>
<h3><span style="color: #000080;"><strong>Check IP Address, Subnet Mask &amp; Default </strong></span><span style="color: #000080;">Gateway</span></h3>
<p><a href="https://techyaz.com/rhel/fix-putty-network-error-connection-timed/" target="_blank" rel="noopener">Launch PuTTY</a> and connect to Linux server. Run <strong>ifconfig</strong> command.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check IP address and Gateway Mask</span>
ifconfig
</span></strong></pre>
<p>You will see output of this command like below screenshot.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-871" src="http://techyaz.com/wp-content/uploads/2017/09/1-1.jpg" alt="check ip address of linux machine" width="679" height="347" srcset="https://techyaz.com/wp-content/uploads/2017/09/1-1.jpg 679w, https://techyaz.com/wp-content/uploads/2017/09/1-1-300x153.jpg 300w" sizes="auto, (max-width: 679px) 100vw, 679px" /></p>
<p>Focus on the area which is highlighted in red colour. The <strong>IP address</strong> of this Linux server is 192.168.0.1 which is labeled as inet. You can see the <strong>subnet mask</strong> of this server which is showing 255.255.255.0 as netmask. We can also see the <strong>connection interface name</strong> of this machine that is <strong>ens33</strong>. The connection interface name will be used later in next section during changing IP addresses, subnet mask and gateway details.</p>
<p>Now we knew how to check the IP Address &amp; Subnet Mask of your Linux computer. Now next step is to check the default gateway of this server. Run below command <strong>route -n</strong> to get the details of default gateway.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Check Default Gateway</span>
route -n
</span></strong></pre>
<p>We can see the gateway IP is given in below screenshot for the same connection interface name ens33.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-872" src="http://techyaz.com/wp-content/uploads/2017/09/2-gateway-ip.jpg" alt="Check Gateway IP" width="760" height="129" srcset="https://techyaz.com/wp-content/uploads/2017/09/2-gateway-ip.jpg 760w, https://techyaz.com/wp-content/uploads/2017/09/2-gateway-ip-300x51.jpg 300w" sizes="auto, (max-width: 760px) 100vw, 760px" /></p>
<h3><span style="color: #000080;"><strong>Change IP Address, Subnet Mask &amp; Default </strong></span><span style="color: #000080;">Gateway</span></h3>
<p>We knew how to get the IP address, subnet mask and gateway details of Linux server. Now i will explain how to change these addresses if needed. We will use same command <strong>ifconfig</strong> to change the IP address and subnet mask. Before proceeding, <strong>make sure you have interface name and new IPs</strong>. You can get interface name from ipconfig command. The connection interface name of my machine is <strong>ens33</strong> as shown in above screenshots. Run below command to change these two values.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: green;">#Replace ens33 to your connection interface name. You can get it from ifconfig command.</span><span class="kwrd" style="color: blue;">
sudo ifconfig ens33 192.168.209.10 netmask 255.255.255.0
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-873" src="http://techyaz.com/wp-content/uploads/2017/09/3-change-linux-ip.jpg" alt="change IP" width="760" height="72" srcset="https://techyaz.com/wp-content/uploads/2017/09/3-change-linux-ip.jpg 760w, https://techyaz.com/wp-content/uploads/2017/09/3-change-linux-ip-300x28.jpg 300w" sizes="auto, (max-width: 760px) 100vw, 760px" /><br />
We can see command executed successfully. You can validate the new IP address by running <strong>ifconfig</strong> command again. I have not changed netmask and kept same. If you want to change it please pass your netmask address.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-874" src="http://techyaz.com/wp-content/uploads/2017/09/4-check-IP.jpg" alt="check ip post change" width="712" height="327" srcset="https://techyaz.com/wp-content/uploads/2017/09/4-check-IP.jpg 712w, https://techyaz.com/wp-content/uploads/2017/09/4-check-IP-300x138.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/4-check-IP-980x450.jpg 980w" sizes="auto, (max-width: 712px) 100vw, 712px" /></p>
<p>Now we can see we have changed the IP address and netmask address for this Linux server. Next we can check the gateway address to validate what will be the impact on gateway post changing the IP address and netmask address. Run <strong>route -n</strong> again to get the details.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-875" src="http://techyaz.com/wp-content/uploads/2017/09/5-route-n.jpg" alt="route -n" width="806" height="152" srcset="https://techyaz.com/wp-content/uploads/2017/09/5-route-n.jpg 806w, https://techyaz.com/wp-content/uploads/2017/09/5-route-n-300x57.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/5-route-n-768x145.jpg 768w" sizes="auto, (max-width: 806px) 100vw, 806px" /></p>
<p>We can see gateway address is not set yet and the one showing on first section is not showing now. So let&#8217;s change the gateway address for this server. Run below command to change the gateway address.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: green;">#change the name of gateway address. Change the connection interface name from ens33 to your name.</span><span class="kwrd" style="color: blue;">
sudo route add default gw 192.168.209.250 ens33
</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-876" src="http://techyaz.com/wp-content/uploads/2017/09/6-set-gw-ip.jpg" alt="" width="784" height="66" srcset="https://techyaz.com/wp-content/uploads/2017/09/6-set-gw-ip.jpg 784w, https://techyaz.com/wp-content/uploads/2017/09/6-set-gw-ip-300x25.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/6-set-gw-ip-768x65.jpg 768w" sizes="auto, (max-width: 784px) 100vw, 784px" /><br />
Once command will be executed successfully, you can validate this change by running <strong>route -n</strong> command again.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-877" src="http://techyaz.com/wp-content/uploads/2017/09/7-check.jpg" alt="validate the change post changing gateway IP Address" width="804" height="136" srcset="https://techyaz.com/wp-content/uploads/2017/09/7-check.jpg 804w, https://techyaz.com/wp-content/uploads/2017/09/7-check-300x51.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/7-check-768x130.jpg 768w" sizes="auto, (max-width: 804px) 100vw, 804px" /><br />
We can see the new gateway address in above screen. These are the commands that can be used to check and change the IP address, netmask address and gateway address.</p>
<p><span style="color: #800000;"><em><strong>Related Articles</strong></em></span></p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/change-hostname-red-hat-linux-server/" target="_blank" rel="noopener">How to Change Hostname of RedHat Linux Server?</a></strong></li>
<li><strong><a href="https://techyaz.com/rhel/how-to-reset-or-change-user-password-on-linux/" target="_blank" rel="noopener">Reset or Change Linux Passwords for users and root?</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/how-to-change-putty-background-color/" target="_blank" rel="noopener">How to Change PuTTY Background Color to White?</a></strong></li>
</ul>
<p>Please comment us if you have any question. Also i hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/rhel/check-change-ip-address-subnet-mask-default-gateway-linux-server/">How to Find and Change IP Address, Subnet Mask &#038; Default Gateway of Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/rhel/check-change-ip-address-subnet-mask-default-gateway-linux-server/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>How to Install SQL Server Agent on Red Hat Linux Server</title>
		<link>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/</link>
					<comments>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/#respond</comments>
		
		<dc:creator><![CDATA[Manvendra Deo Singh]]></dc:creator>
		<pubDate>Mon, 04 Sep 2017 13:17:35 +0000</pubDate>
				<category><![CDATA[RedHat Linux]]></category>
		<category><![CDATA[SQL Server ON Linux]]></category>
		<category><![CDATA[HowTO]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SQL Server Agent]]></category>
		<category><![CDATA[SQL Server On Linux]]></category>
		<guid isPermaLink="false">http://techyaz.com/?p=784</guid>

					<description><![CDATA[<p>SQL Server Agent is very useful in automating any database activities. By default, it is not installed along with SQL Server on Linux server. You need to manually install it after installing SQL Server. Here I will explain step by&#46;&#46;&#46;</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/">How to Install SQL Server Agent on Red Hat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>SQL Server Agent is very useful in automating any database activities. By default, it is not installed along with SQL Server on Linux server. You need to manually install it after installing SQL Server. Here I will explain step by step process to install SQL Server Agent on RedHat Linux 7.3 server running with internet access.</p>
<p>Before going ahead, we need to have a RedHat Linux server. If you have no idea about installing Linux server or creating a virtual machine where you can install Linux and SQL Server then i would recommend you to read below articles first.</p>
<ul>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/create-virtual-machine-pc/" target="_blank" rel="noopener">How to Create a Virtual Machine.</a></strong></li>
<li><strong><a href="https://techyaz.com/linux/step-step-process-install-red-hat-enterprise-linux/" target="_blank" rel="noopener">Install RedHat Linux 7.3 on a virtual machine.</a></strong></li>
<li><strong><a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-on-redhat-linux/" target="_blank" rel="noopener">How to Install SQL Server on RedHat Linux 7.3</a></strong></li>
</ul>
<p>If you have installed SQL Server on Red Hat Linux server, your next step should be to install SQL Server Agent on that server. Make sure you have internet access on the Linux server where we are going to install SQL Server Agent. If your server does not have internet connection then you should read attached article about <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-redhat-linux-server-without-internet-offline-installation/" target="_blank" rel="noopener">installing SQL Server Agent on RedHat Linux that are running without Internet</a>.</p>
<h3><span style="color: #000080;"><strong>Install SQL Server Agent on RHEL</strong></span></h3>
<p>As this Linux machine has internet connection so let&#8217;s go ahead with Installation on Red Hat Linux server. Installation process is quite similar to the installation of SQL Server on Redhat Linux.</p>
<p>You don&#8217;t need to download SQL Server Agent package separately the way we did for SQL Server and <a href="https://techyaz.com/sql-server/sql-server-on-linux/installing-sql-tools-red-hat-linux/" target="_blank" rel="noopener">SQL Tools installations</a>.The package required to install SQL Server Agent included into SQL Server package repository configuration file.</p>
<p>If you have already downloaded SQL Server package repository configuration file to install SQL Server, you can skip this step and go ahead to install Agent on your server. If you don&#8217;t have SQL Server package repository configuration file or you have deleted it then you can run below command to download the package repository configuration file.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: #008000;">#Download Microsoft SQL Server Red Hat repository configuration file</span><span class="kwrd" style="color: blue;">
sudo curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server.repo
</span></strong></pre>
<p>This will download Microsoft SQL Server Package Repository Configuration File that are required to install SQL Server and SQL Server Agent.</p>
<p>As we have the Agent repository configuration file now, Let us first check the SQL Server in SSMS to see how SQL Server Agent working.  You can see we are not able to do anything in SQL Server Agent folder.</p>
<p><img loading="lazy" decoding="async" class="aligncenter wp-image-785 size-full" src="http://techyaz.com/wp-content/uploads/2017/09/1.jpg" alt="SQL-Agent" width="480" height="642" srcset="https://techyaz.com/wp-content/uploads/2017/09/1.jpg 480w, https://techyaz.com/wp-content/uploads/2017/09/1-224x300.jpg 224w" sizes="auto, (max-width: 480px) 100vw, 480px" /></p>
<p>Now our next step is to install SQL Server Agent to enable its related features. Run below command to start the installation.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Install SQL Server Agent</span>
sudo yum install mssql-server-agent</span></strong></pre>
<p>You cans see series of executions started to proceed with the installation in below image. It will also ask you to enter <strong>Y</strong> to proceed.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-786" src="http://techyaz.com/wp-content/uploads/2017/09/2-install-agent-1024x367.jpg" alt="install sql agent" width="1024" height="367" srcset="https://techyaz.com/wp-content/uploads/2017/09/2-install-agent-1024x367.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/2-install-agent-300x107.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/2-install-agent-768x275.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/2-install-agent.jpg 1424w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>Enter <strong>Y</strong> to proceed with the installation, once you press enter it will proceed to install. Now SQL Server Agent will install on your machine.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-787" src="http://techyaz.com/wp-content/uploads/2017/09/3-install-agent-1024x321.jpg" alt="install sql agent" width="1024" height="321" srcset="https://techyaz.com/wp-content/uploads/2017/09/3-install-agent-1024x321.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/3-install-agent-300x94.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/3-install-agent-768x241.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/3-install-agent.jpg 1419w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>It will also suggest you to restart SQL Server service. If you will not restart SQL Server service, installation will not be completed so next step is to restart SQL Server service on this server.</p>
<pre class="brush: sql; title: ; notranslate" title=""><strong><span class="kwrd" style="color: blue;"><span style="color: #008000;">#Restart SQL Server Service</span>
systemctl restart mssql-server</span></strong></pre>
<p><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-788" src="http://techyaz.com/wp-content/uploads/2017/09/4-restart-service-1024x209.jpg" alt="restart sql server service" width="1024" height="209" srcset="https://techyaz.com/wp-content/uploads/2017/09/4-restart-service-1024x209.jpg 1024w, https://techyaz.com/wp-content/uploads/2017/09/4-restart-service-300x61.jpg 300w, https://techyaz.com/wp-content/uploads/2017/09/4-restart-service-768x157.jpg 768w, https://techyaz.com/wp-content/uploads/2017/09/4-restart-service.jpg 1054w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></p>
<p>You can see SQL Server is online now. Go ahead and connect to SQL Server in SSMS as per below image.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-789" src="http://techyaz.com/wp-content/uploads/2017/09/6-ssms.jpg" alt="" width="600" height="614" srcset="https://techyaz.com/wp-content/uploads/2017/09/6-ssms.jpg 600w, https://techyaz.com/wp-content/uploads/2017/09/6-ssms-293x300.jpg 293w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>Now you can create Agent jobs to automate database activities on your SQL Server instance.<br />
I hope you like this article. Please follow us on our <a href="https://www.facebook.com/Techyaz/">facebook page</a> and on <a href="https://twitter.com/Tech_yaz">Twitter </a>handle to get latest updates.</p>
<p>The post <a href="https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/">How to Install SQL Server Agent on Red Hat Linux Server</a> appeared first on <a href="https://techyaz.com">Techyaz.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techyaz.com/sql-server/sql-server-on-linux/install-sql-server-agent-red-hat-linux-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
