<?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>windows terminal Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/windows-terminal/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 31 Aug 2022 05:51:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>This is the difference between terminal, console, shell and command line.</title>
		<link>https://www.osradar.com/this-is-the-difference-between-terminal-console-shell-and-command-line/</link>
					<comments>https://www.osradar.com/this-is-the-difference-between-terminal-console-shell-and-command-line/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Wed, 07 Sep 2022 21:49:00 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[windows terminal]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=37102</guid>

					<description><![CDATA[<p>Hello! working in text mode, Manage from the command line, Open the console. All of them are expressions that refer to similar concepts and that we tend to confuse and intermingle. Certainly, the environment beyond the typical graphical interfaces is confusing enough for novices. Therefore, it is not advisable to dive into it without having [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/this-is-the-difference-between-terminal-console-shell-and-command-line/">This is the difference between terminal, console, shell and command line.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! <em>working in text mode</em>, <em>Manage from the command line</em>, <em>Open the console</em>. All of them are expressions that refer to similar concepts and that we tend to confuse and intermingle. Certainly, the environment beyond the typical graphical interfaces is confusing enough for novices. Therefore, it is not advisable to dive into it without having a clear understanding of the concepts. Next, we will learn the difference between <a href="https://www.osradar.com/some-aspects-and-commands-of-windows-terminal/" target="_blank" rel="noreferrer noopener">terminal,</a> console, shell and command line.</p>



<h2>Terminal (emulator)</h2>



<p>The terminal itself is a physical device that allows inputting and receiving information from a <a href="https://github.com/microsoft/terminal" target="_blank" rel="noreferrer noopener">computer</a>. The most important thing is that it is not necessary for the processing of instructions and data to be carried out on the terminal itself.</p>



<p>Certainly, in today&#8217;s world, it is common to interact with the operating system in text mode. Well, in most cases, we will not refer to this meaning of <em>terminal</em>. In fact, the correct term refers to the so-called <em>terminal emulators</em>. These allow us to use text mode within a graphical user interface. This other class of terminals are merely applications that run and give us access to a shell. In fact, they usually allow multiple shell types to be used. This is the case, for example, of Windows Terminal. By default, we will be able to manage the following: Windows PowerShell, PowerShell, Command Prompt, Azure Cloud Shell, the multiple distributions we have installed in the Linux Subsystem (WSL), etc.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="358" src="https://www.osradar.com/wp-content/uploads/2022/08/ter-1024x358.png" alt="" class="wp-image-37103" srcset="https://www.osradar.com/wp-content/uploads/2022/08/ter-1024x358.png 1024w, https://www.osradar.com/wp-content/uploads/2022/08/ter-300x105.png 300w, https://www.osradar.com/wp-content/uploads/2022/08/ter-768x268.png 768w, https://www.osradar.com/wp-content/uploads/2022/08/ter-696x243.png 696w, https://www.osradar.com/wp-content/uploads/2022/08/ter-1068x373.png 1068w, https://www.osradar.com/wp-content/uploads/2022/08/ter.png 1219w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>On the other hand, Windows Terminal is not the only Windows terminal emulator. Indeed, there are MobaXterm, Cmder, ConEmu and others. However, in the case of Unix-based systems (Linux, *BSD, macOS), the catalog of available terminals is multiplied to infinity. In fact, each desktop environment usually offers its own (Gnome Terminal in GNOME, Konsole in KDE, iTerm in macOS…). But it is also possible to install third-party alternatives for all tastes (Terminator, Alacritty, Guake, st…).</p>



<p>Each terminal emulator differs by offering its own graphical interfaces, functionalities, and configuration options. For example, keyboard shortcuts, font and background customization, clipboard management, etc.</p>



<h2>Consola [Virtual]</h2>



<p>Console is a term that is often used inconsistently. In fact, even more so than the other terms in this list. Additionally, multiple definitions are available on the Internet. In fact, the discrepancies start even in the origin of the word. For some, the old physical console is exactly the same as a physical terminal. On the other hand, others introduce certain nuances, considering the former as a subset of the latter.</p>



<p>What happens when we talk about virtual console? What happens when we talk about virtual console? Many sources consider it, also, synonymous with (terminal emulator.) However, it would be more correct to refer to it as a shell session. Let&#8217;s see, let&#8217;s suppose we open a terminal emulator and start typing commands directly. In that case, we are,  effectively, using a terminal and a console.</p>



<p>On the other hand, suppose we open two tabs in the terminal emulator, whether they are from the same shell. In that case, we are already using two consoles. It can also happen that we subdivide a tab using tools such as a multiplexer (for example, Tmux), or functions such as <em>split table</em> of Windows Terminal. In such a case, the number of consoles will continue to multiply, even if we are only using a single terminal.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="853" src="https://www.osradar.com/wp-content/uploads/2022/08/ter2-1024x853.png" alt="" class="wp-image-37105" srcset="https://www.osradar.com/wp-content/uploads/2022/08/ter2-1024x853.png 1024w, https://www.osradar.com/wp-content/uploads/2022/08/ter2-300x250.png 300w, https://www.osradar.com/wp-content/uploads/2022/08/ter2-768x640.png 768w, https://www.osradar.com/wp-content/uploads/2022/08/ter2-696x580.png 696w, https://www.osradar.com/wp-content/uploads/2022/08/ter2-1068x889.png 1068w, https://www.osradar.com/wp-content/uploads/2022/08/ter2.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>In addition, when using a Linux system, we always have several consoles open (although not visible). We are talking about the so-called &#8216;TTY&#8217;, which we can access with the keyboard shortcut Ctrl + Alt + function key (one per key). Part of them will be graphic consoles. However, the others will be text consoles, each running in parallel with the others. Additionally, all of them working outside our graphical environment, so we would not be using them from terminal emulators.</p>



<h2>Shell</h2>



<p>We have already mentioned, when talking about terminals, several examples of different shells that can be found in Windows. As with terminals, the number of shells in Unix systems multiplies. Certainly, Bash is usually installed as the default shell. However, it is possible to change it for different ones, such as the very popular Zsh. Remember that macOS ended up adopting it as a default shell. Other options include the emerging Fish, the old Ksh and Tcsh, or minority options such as Xonsh.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="650" height="650" src="https://www.osradar.com/wp-content/uploads/2022/08/ter3.png" alt="" class="wp-image-37106" srcset="https://www.osradar.com/wp-content/uploads/2022/08/ter3.png 650w, https://www.osradar.com/wp-content/uploads/2022/08/ter3-300x300.png 300w, https://www.osradar.com/wp-content/uploads/2022/08/ter3-150x150.png 150w" sizes="(max-width: 650px) 100vw, 650px" /></figure>



<p>The function of the shell is to interpret the commands we enter. You might think that there can&#8217;t be much difference in how some commands are interpreted. However, there are many variables to watch out for. For example, the different syntax of the scripts, or aspects such as the possibility of creating aliases and defining variables. Also, the existence of syntax highlighting or auto-completion functions. Likewise, the way in which the system output is displayed on the screen. Well, all these elements can make the user experience vary significantly depending on which shell we use.</p>



<h2>Command interpreter (or command line)</h2>



<p>Every shell is a command interpreter. However, not every shell is a shell. A command interpreter (also called CLI), is any software that interacts with us through the input of text commands. Some CLIs run on top of a shell and are not intended to be a way to control the operating system. Instead, they aim to be just a very specific software or online service. Examples of this can be NPM, IPython, GitHub CLI, AWS CLI or our favorite SSH client. Very well, in this way we have made clear the differences between terminal, console, shell and command line. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/this-is-the-difference-between-terminal-console-shell-and-command-line/">This is the difference between terminal, console, shell and command line.</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/this-is-the-difference-between-terminal-console-shell-and-command-line/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Some aspects and commands of Windows Terminal</title>
		<link>https://www.osradar.com/some-aspects-and-commands-of-windows-terminal/</link>
					<comments>https://www.osradar.com/some-aspects-and-commands-of-windows-terminal/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Wed, 03 Aug 2022 23:55:59 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows terminal]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=36412</guid>

					<description><![CDATA[<p>Using the command line to perform certain actions has long seemed complicated. But for more advanced users, such as system administrators, using it is an advantage. With it, they can more easily manage the operation of some system components. Or access information that cannot be accessed from the system&#8217;s graphical interface. The Windows console makes [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/some-aspects-and-commands-of-windows-terminal/">Some aspects and commands of Windows Terminal</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Using the command line to perform certain actions has long seemed complicated. But for more advanced users, such as system administrators, using it is an advantage. With it, they can more easily manage the operation of some system components. Or access information that cannot be accessed from the system&#8217;s graphical interface. The Windows <a href="https://www.osradar.com/how-to-use-the-windows-10-terminal/" target="_blank" rel="noreferrer noopener">console </a>makes it possible. We have been living in the era of graphical interfaces for decades. Therefore, some may think that the Windows console has disappeared from the operating system. But this is not the case, and it is still present. In this way, we enhance the performance of some tasks. Even, Microsoft has decided to renew it a little in Windows 11. That yes, maintaining its essence and with the commands that make that it continues being important for many users. Today we will know some aspects and commands of Windows Terminal.</p>



<h2>The default Windows 11 console: Windows Terminal</h2>



<p>The arrival of Windows 11 has brought with it a renewal that has taken quite a few users surprised. Nothing more and nothing less than the establishment of Windows Terminal as command line and console by default of Windows 11. Let us remember that this comes after its incorporation to Windows 10. We are talking about the system command line application.</p>



<p>Windows Terminal was introduced a few years ago. Specifically, at the Build 2019 event. In addition, from the beginning it has had a clear function: to serve as a command line tool, but renewed. Not in vain, its development was outside the Windows work team. In addition, its code was released, and free. All wrapped in a very recognizable air of Linux, a system that Windows is getting closer and closer to.</p>



<h2>Increased benefits</h2>



<p>This tool is more powerful than the command line of previous versions. In fact, it can manage the basic command console present on the computer since Windows NT. But it also runs the more advanced PowerShell console, available since Windows Vista. With the latter, in addition to using the command prompt, it is possible to create commands and combine them through sequences. However, to do so, you need to have some programming skills. Specifically, in C#.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="1019" height="574" src="https://www.osradar.com/wp-content/uploads/2022/06/win.jpg" alt="" class="wp-image-36414" srcset="https://www.osradar.com/wp-content/uploads/2022/06/win.jpg 1019w, https://www.osradar.com/wp-content/uploads/2022/06/win-300x169.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/06/win-768x433.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/06/win-696x392.jpg 696w" sizes="(max-width: 1019px) 100vw, 1019px" /></figure>



<p>In addition, you can have additional tabs for other tools open at the same time. This is the case of WSL 2, the second version of a Linux subsystem for Microsoft Windows. Its mission is to run Linux distributions. In addition to applications created for this system, within Windows itself. In short, Windows Terminal already works as a unifying tool for the different Windows command lines and consoles. However, this does not mean that it has eliminated the other two Windows command line applications installed on the system: CMD (or command line) and PowerShell.</p>



<h2>Access to the command console in Windows 11</h2>



<p>There are several ways to access the console through the command prompt. To use one of the fastest ones, the first thing you have to do is to open the Windows Finder, and type in it CMD. Before it opens, note that you can choose whether you want it to run in user mode or administrator mode. In the first case, you will be able to use it with various limitations. However, in exchange, there will be fewer unforeseen events if the user is not very experienced or is not interested in having access to various resources and options. You can also access through the Run tool, through the Finder in the Start menu.</p>



<p>PowerShell can also be accessed through the Windows Finder. But in this case, what you have to type in it is PowerShell. As for the Windows Terminal, until this version 11 it was not installed by default. Therefore, it was necessary to download that tool from its <a href="https://apps.microsoft.com/store/detail/windows-terminal/9N0DX20HK701?hl=en-us&amp;gl=US" target="_blank" rel="noreferrer noopener">Microsoft Store </a>page, and install it afterwards.</p>



<p>If you have this tool installed, or if you are using Windows 11, you only need to access it. Remember that you will be able to access, in different tabs, to PowerShell or to the command line. And it&#8217;s opening in Windows 11 is as simple as selecting the corresponding option in the contextual menu that appears when clicking with the right button of the mouse.</p>



<h2>The main Windows terminal commands</h2>



<p>It doesn&#8217;t matter which application or tool you use to access the command line. In text mode, in any of them you will have to use the same commands as in previous versions. Just as if you were using the old MS-DOS, but with slight differences. For example, you have :customization possibilities (although small), some colors and even tabs in the case of Windows Terminal.</p>



<p>To use any command, you only have to type it, followed by its modifiers in case it supports them, and you need them, and press the Enter key. The results of applying the command will be practically immediate. Below you have a list of the most useful commands for the Windows command line are the following:</p>



<h3>Another Windows terminal commands</h3>



<ul><li><strong>Chkdsk: </strong>Checks what state a given disk drive is in. Either a disk partition or a volume. It also generates, and displays on screen, a report of how the examined drive or partition is. In addition to this, it can correct some errors that the disk may present. In the case of locating damaged sectors on it, it can even recover the information they contain.</li><li><strong>Systeminfo: </strong>This command is also responsible for displaying information, but in this case, about the entire operating system. It displays information about the computer&#8217;s processor, the RAM used and available, the BIOS, the virtual memory used and available, and who manufactured the motherboard. Furthermore, what version of the system is installed, as well as what updates it has.</li><li><strong>Dir: </strong>Returns a list of the files and subdirectories in a directory. To move from one directory to another, use the CD command, with the appropriate modifier.</li><li><strong>Del:</strong> Deletes one or more files from the folder, even if the file does not allow deletion when using the Windows GUI to try to delete it.</li><li><strong>Diskpart:</strong> Disk drive management, internal or external. It has disk management functions, both whole disks and partitions. Even works for virtual disks.</li><li><strong>Format: </strong>Formats a disk drive and prepares it to install Windows.</li><li><strong>Help:</strong> Displays a list of all the commands that can be used in the console. It can also be used to learn details about the operation of a command, if used with Help + command name.</li></ul>



<h3>Continuation of the list</h3>



<ul><li><strong>IPconfig:</strong> Its mission is to provide information about the TCO/IP network configuration values at the time the query is made. It also updates the DNS and DHCP settings.</li><li><strong>Ping:</strong> Checks that there is communication between the local computer and a remote computer on an IP network (or with several). It is also used to check the status and quality of a network, as well as its transmission speed.</li><li><strong>Netstat </strong>&#8211; Provides information about the network, as well as the opportunity to perform analysis and diagnostics of its status. It is also used to find out which IP address is behind a domain name.</li><li><strong>Nslookup</strong>: This command is used to know, in case of a connection problem, if a DNS is resolving properly both IPs and names. It also returns the list of incoming and outgoing connections to a computer.</li><li><strong>Tracert:</strong> With this command you can find out which packets are coming from a point in a network, as well as their latency, among other information.</li></ul>



<p>These are certainly not the only commands you can use. However, perhaps the most used and the most useful for users of a Windows system with some experience using the Windows console. However, if you want to know the rest, as we have mentioned, you only have to resort to the Help command for further information. In this way, we have seen the main Windows Terminal commands. See you later!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/some-aspects-and-commands-of-windows-terminal/">Some aspects and commands of Windows Terminal</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/some-aspects-and-commands-of-windows-terminal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use the Windows 10 terminal</title>
		<link>https://www.osradar.com/how-to-use-the-windows-10-terminal/</link>
					<comments>https://www.osradar.com/how-to-use-the-windows-10-terminal/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 22 Jan 2022 22:19:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows terminal]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=34326</guid>

					<description><![CDATA[<p>Hello! We have recently talked about what the terminal is. Well, it&#8217;s time to dig a little deeper. Today, we will learn how to use the terminal in Windows 10. A basic use allows you to navigate through the system directories, display their contents and access command help. Therefore, read on to learn how to [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-use-the-windows-10-terminal/">How to use the Windows 10 terminal</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! We have recently talked about what the <a href="https://www.osradar.com/wp-admin/post.php?post=34298&amp;action=edit" target="_blank" rel="noreferrer noopener">terminal</a> is. Well, it&#8217;s time to dig a little deeper. Today, we will learn how to use the terminal in Windows 10. A basic use allows you to navigate through the system directories, display their contents and access command help. Therefore, read on to learn how to use the <a href="https://www.microsoft.com/en-us/software-download/windows10" target="_blank" rel="noreferrer noopener">Windows 10 </a>terminal.</p>



<h2>How to use Windows 10 terminal help.</h2>



<p>In particular, the help allows you to obtain the complete list of available commands. Don&#8217;t worry, there are actually not many. This is something we can do from the command prompt. Additionally, there is no distinction between a normal user and an administrator. Please note that the terminal is not case-sensitive, so it makes no difference whether we use lower case or upper case. With this in mind, we will use the following command:</p>



<pre class="wp-block-preformatted">HELP</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter-2.jpg" alt="List of commands available for the windows terminal" class="wp-image-34328" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter-2.jpg 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter-2-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter-2-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter-2-696x364.jpg 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>List of commands available for the windows terminal</figcaption></figure>



<p>Consequently, we will be able to develop the help of each particular command. Specifically, <em>help</em> shows the function of the command as such. However, it does not display the complete help for a command. I mean, all the commands we saw in the previous list have their help section. This applies even to the command prompt itself. In effect, the help opens another instance of the terminal. l. To use the help in a command, type the command followed by <em>/?</em> Using this syntax:</p>



<pre class="wp-block-preformatted">BREAK /?</pre>



<pre class="wp-block-preformatted">CD /?</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="611" src="https://www.osradar.com/wp-content/uploads/2022/01/ter2-1-1024x611.jpg" alt="" class="wp-image-34330" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter2-1-1024x611.jpg 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter2-1-300x179.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter2-1-768x458.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter2-1-696x416.jpg 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter2-1.jpg 1062w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Displaying CD command help</figcaption></figure>



<p>The information may be more extensive than what is shown in the window. Consequently, it is offered to press some keys to move to the next information screen. Another way to do this is to use the command:</p>



<pre class="wp-block-preformatted">HELP DIR</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="647" height="634" src="https://www.osradar.com/wp-content/uploads/2022/01/TER3-1.jpg" alt="" class="wp-image-34331" srcset="https://www.osradar.com/wp-content/uploads/2022/01/TER3-1.jpg 647w, https://www.osradar.com/wp-content/uploads/2022/01/TER3-1-300x294.jpg 300w" sizes="(max-width: 647px) 100vw, 647px" /></figure>



<h2>How to clean the terminal screen.</h2>



<p>After executing and executing commands, the screen will logically fill up with characters. Consequently, it is likely that at some point we will want to clean them up. With this in mind, we will use the following command:</p>



<pre class="wp-block-preformatted">CLS</pre>



<h2>How to force the termination of a command.</h2>



<p>Occasionally, we run a command, and it is taking a long time to finish. Or we simply run it accidentally. Consequently, if you want to finish it in a forced way, then you must press the combination Ctrl + C, and it will finish:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="611" src="https://www.osradar.com/wp-content/uploads/2022/01/ter4-1-1024x611.jpg" alt="Forcing the termination of a command in the Windows terminal" class="wp-image-34332" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter4-1-1024x611.jpg 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-1-300x179.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-1-768x458.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-1-696x416.jpg 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-1.jpg 1062w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Forcing the termination of a command in the Windows terminal</figcaption></figure>



<h2>How to view the command history and use them again.</h2>



<p>The Windows terminal has a buffer where it stores the last executed commands, whether correct or erroneous. This serves to speed up the tasks we do. Consequently, we will be able to reuse them if we press the Up or Down arrow keys on the Prompt. Additionally, we can write the last command by pressing the Right directional key. We can also display the complete list of commands. To accomplish this, just press F7.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="611" src="https://www.osradar.com/wp-content/uploads/2022/01/ter5-1-1024x611.jpg" alt="Viewing the list of all commands used in Windows Terminal" class="wp-image-34333" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter5-1-1024x611.jpg 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter5-1-300x179.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter5-1-768x458.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter5-1-696x416.jpg 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter5-1.jpg 1062w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Viewing the list of all commands used in Windows Terminal</figcaption></figure>



<h2>Using directory navigation.</h2>



<p>One of the most used functions of the CMD is to be able to navigate through the file directories. To display the directory where you are currently located, please use the following command:</p>



<pre class="wp-block-preformatted">DIR</pre>



<p>Note that you can expand the information by using the help command shown above.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="611" src="https://www.osradar.com/wp-content/uploads/2022/01/ter6-1-1024x611.jpg" alt="DIR command, displaying the user's current directory" class="wp-image-34335" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter6-1-1024x611.jpg 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter6-1-300x179.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter6-1-768x458.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter6-1-696x416.jpg 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter6-1.jpg 1062w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>DIR command, displaying the user&#8217;s current directory</figcaption></figure>



<p>On the other hand, we can show the content of any directory even if we are not inside it. To achieve this, just type DIR and then the full or relative path:</p>



<pre class="wp-block-preformatted">DIR &lt;directory path></pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter7-1.jpg" alt="" class="wp-image-34337" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter7-1.jpg 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-1-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-1-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-1-696x364.jpg 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<p>Directories in the operating system have a tree-like composition. Consequently, we will go up as we go deeper into folders and subfolders. On the contrary, we will go down if we go out of them.</p>



<pre class="wp-block-preformatted">CD &lt;directory path></pre>



<pre class="wp-block-preformatted">CD..</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter8-1.png" alt="Navigating directories from the Windows terminal. " class="wp-image-34338" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter8-1.png 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter8-1-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter8-1-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter8-1-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Navigating directories from the Windows terminal.</figcaption></figure>



<h2>How to create directories with the Windows terminal.</h2>



<p>Next we will see another command related to directory navigation. Specifically, we will see how to create folders, with or without additional properties. The command will be as follows:</p>



<pre class="wp-block-preformatted">MKDIR &lt;path where the new directory will be created></pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter9-1.png" alt="Creating a new folder in the command prompt" class="wp-image-34339" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter9-1.png 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-1-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-1-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-1-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Creating a new folder in the command prompt</figcaption></figure>



<h2>Let&#8217;s learn to erase as well</h2>



<p>We have seen how to create directories and files. Well, we can also delete them via commands. Specifically, we will use the DEL command to delete files and the RD command to delete directories.</p>



<pre class="wp-block-preformatted">DEL &lt;file path></pre>



<pre class="wp-block-preformatted">RD &lt;directory path></pre>



<h2>It is also possible to copy and paste.</h2>



<p>This Windows classic could not be missed. Yes, the Windows terminal also allows copy and paste. Let&#8217;s see the syntax:</p>



<pre class="wp-block-preformatted">XCOPY &lt;path of file or directory to copy> &lt;path of the location where to paste></pre>



<p>You only have to select the origin and after a space to add the destination. In addition, there are arguments to recursively copy the entire contents of a directory, to overwrite the contents already existing in the destination and others. It even works with shared drives over the network, as if we do it graphically.</p>



<h2>Complete files and view files on the go.</h2>



<p>This option is intended to speed up navigation. All commands that take paths or filenames as arguments allow auto-completion of the filename. For this purpose, just start typing the name of the folder or file. Then press TAB and the name will be completed. Note that the path is enclosed in quotes to allow for spaces, accents and other characters.</p>



<figure class="wp-block-image size-full is-style-default"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter10-3.jpg" alt="Autocompleting a command in the Windows Terminal" class="wp-image-34341" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter10-3.jpg 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-3-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-3-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-3-696x364.jpg 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Autocompleting a command in the Windows Terminal</figcaption></figure>



<h2>Running simultaneous or conditional commands in Windows terminal</h2>



<p>In some cases, the Windows terminal behaves like the GNU/Linux terminal. Indeed, it can execute multiple commands succeeding or under certain conditions. This option becomes relevant for scripts that are executed line by line and small programs created by the user. Check the characters to be added:</p>



<pre class="wp-block-preformatted">[…] &amp; […] </pre>



<p>Let&#8217;s see how they are used. With the symbol <em>&amp;</em> we will be indicating to the terminal to run the second command when it finishes running the first one. Independently of the result of the first command. To clarify, it is an AND function.  For example:</p>



<pre class="wp-block-preformatted">ipconfig /release &amp; ipconfig /renew</pre>



<p>In this case, the status of the network connections will be checked first. Then the IP address and the configuration of all of them will be renewed.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="https://www.osradar.com/wp-content/uploads/2022/01/ter11-1024x787.png" alt="" class="wp-image-34342" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter11-1024x787.png 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter11-300x231.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter11-768x590.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter11-696x535.png 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter11-1068x821.png 1068w, https://www.osradar.com/wp-content/uploads/2022/01/ter11.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Let&#8217;s look at another use:</p>



<pre class="wp-block-preformatted">[…] &amp;&amp; […]</pre>



<p>We are talking about a classic<em> if</em> conditional. In effect, the second command will only be executed if the first one has shown a successful result or has concluded correctly. If the first command fails, the second command will not be executed either. Let&#8217;s see:</p>



<pre class="wp-block-preformatted">cd Documents\folder &amp;&amp; mkdir Documents\folder\docs</pre>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter12-1.jpg" alt="" class="wp-image-34343" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter12-1.jpg 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-1-300x157.jpg 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-1-768x402.jpg 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-1-696x364.jpg 696w" sizes="(max-width: 979px) 100vw, 979px" /></figure>



<p>We will only create the <em>docs</em> directory if we have been able to access<em> Documents </em>first. Let&#8217;s look at another use:</p>



<pre class="wp-block-preformatted">[…] || […]</pre>



<p>In this case, the second command will only be executed if the first one has not been executed successfully. In fact, it is just the opposite of the previous command. Specifically, it is an if-but-no command:</p>



<pre class="wp-block-preformatted">cd Documents\folder || mkdir Documents\folder</pre>



<p>For this condition, we will only create the folder directory if we have not been able to access it because it did not previously exist. These are certainly simple examples, but they can be very useful when executing more complex tasks. </p>



<h2>Conclusion</h2>



<p>Very well, in last instance we have seen how to use the terminal of Windows 10. I hope to have clarified your doubts, if you want some topic in particular, let us know in the comments. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-use-the-windows-10-terminal/">How to use the Windows 10 terminal</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/how-to-use-the-windows-10-terminal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the terminal in Windows 10</title>
		<link>https://www.osradar.com/what-is-the-terminal-in-windows-10/</link>
					<comments>https://www.osradar.com/what-is-the-terminal-in-windows-10/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Thu, 20 Jan 2022 10:48:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[cmd]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[windows terminal]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=34298</guid>

					<description><![CDATA[<p>Hello! Everyone who has used GNU/Linux knows what a terminal is and how useful it is. However, let&#8217;s be clear, most people use Windows and its classic windowed environment. Therefore, they are the target of this tutorial. This way they will get to know the command prompt. Moreover, they will know what to do in [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-the-terminal-in-windows-10/">What is the terminal in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! Everyone who has used GNU/Linux knows what a terminal is and how useful it is. However, let&#8217;s be clear, most people use Windows and its classic windowed environment. Therefore, they are the target of this tutorial. This way they will get to know the command prompt. Moreover, they will know what to do in case they need to use it. Throughout this post, we are going to determine what the terminal is in Windows 10.</p>



<h2>What is a command terminal</h2>



<p>On Microsoft desktop systems, it is known as the <a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands" target="_blank" rel="noreferrer noopener">command</a> prompt. It actually functions as a command interpreter. In addition, it is available on the vast majority of operating systems. It behaves as a control element for the same, but at a low level.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="256" height="256" src="https://www.osradar.com/wp-content/uploads/2022/01/ter-1.png" alt="" class="wp-image-34300" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter-1.png 256w, https://www.osradar.com/wp-content/uploads/2022/01/ter-1-150x150.png 150w" sizes="(max-width: 256px) 100vw, 256px" /></figure>



<p>In addition, it is a system-integrated tool. Therefore, it can perform most of the tasks that we do in the traditional way in Windows 10. If the graphical interface and windows are not available, then the command terminal will be the only option to manage an operating system. As we mentioned, this element is present in GNU/Linux, where it has a great weight in the management of the system. But it is also a functional tool in Windows, macOS and the vast majority of operating systems.</p>



<h2>How a terminal and a command interpreter works</h2>



<p>A command interpreter is nothing more than a program with the ability to translate commands typed by the user. To accomplish this, it uses a set of instructions that allow direct control of aspects of the system, as well as the set of tools that are part of it. Let&#8217;s suppose you want to access the contents of a folder in Windows 10. In that case, just double-click on the folder to see its contents. The same applies if you want to run any tool. For example, notepad. You just double-click on it and that&#8217;s it. Well, with the command prompt, we can do the same using commands:</p>



<pre class="wp-block-preformatted">PROMPT>ls C:\folder path</pre>



<pre class="wp-block-preformatted">PROMPT>notepad</pre>



<p>These commands must be entered following a specific syntax within the terminal emulator. Through a PROMPT waiting to be entered. These commands are related to system functions. In addition, they can function in different ways using arguments. These are additional options placed after the command that qualify the operation. In addition, it is often necessary to place the path to the folder or file involved.</p>



<h2>A little history of the Windows terminal.</h2>



<p>The advent of the command terminal dates back to the appearance of the first operating systems. Moreover, it was the only possible way to manage instructions in them. In this respect, IBM&#8217;s UNIX was a trend-setter in the 1970s. It was certainly not the first, but it had the functions most similar to those of today&#8217;s systems.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="408" src="https://www.osradar.com/wp-content/uploads/2022/01/ter2.png" alt="" class="wp-image-34301" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter2.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter2-287x300.png 287w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>However, this system required a rather complex code for its control. Therefore, we must go back to 1981 with the appearance of MS-DOS to see a command terminal behaving as such. In addition, the implementation of systems with a layer between machine and user that could be controlled more easily from commands and scripts was encouraged through medium and high-level programming languages such as C or C++.</p>



<h2>COMMAND.COM marked the beginning</h2>



<p>COMMAND.COM was the tool in charge of performing the system control as an integral part of the system itself. Even part of the commands used in Windows today come from it. Remember that there was no graphical interface, so everything was done on a black or blue screen and plain text. This tool was also in charge of loading the system configuration during startup. The architecture evolved and the capacity to process graphics appeared. Thus, Windows NT, Microsoft&#8217;s first window-based system, was born. This was a huge qualitative leap. In effect, the command interface was replaced by the use of the mouse in a graphical environment with windows and icons. In fact, it set the trend for the system as we know it today.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="810" src="https://www.osradar.com/wp-content/uploads/2022/01/ter3-1024x810.png" alt="" class="wp-image-34302" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter3-1024x810.png 1024w, https://www.osradar.com/wp-content/uploads/2022/01/ter3-300x237.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter3-768x607.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter3-696x550.png 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter3-1068x844.png 1068w, https://www.osradar.com/wp-content/uploads/2022/01/ter3.png 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Things have certainly changed. Unlike COMMAND.COM, the current Windows command terminal is just another application in the system, acting as a command emulator. Consequently, it is not an integral part of the system, and as such does not load its configuration or DLL that control its operation. However, there are still functions emanating from the graphical interface to the CMD to be executed. In addition, some scripts are opened in the terminal.</p>



<h2>How to use the Windows 10 terminal</h2>



<p>We have already determined that it is a terminal. Now it is time to determine how to use it. As already mentioned, the terminal is a command interpreter. Therefore, it needs an understandable string. When you open it, the only visible element will be the PROMPT. This is a line that informs the user of the path to the user&#8217;s home directory. Therefore, it will be the default location where the commands will be executed. However, this can be changed.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="979" height="512" src="https://www.osradar.com/wp-content/uploads/2022/01/ter4.png" alt="Windows Command Prompt." class="wp-image-34303" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter4.png 979w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-768x402.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter4-696x364.png 696w" sizes="(max-width: 979px) 100vw, 979px" /><figcaption>Windows Command Prompt.</figcaption></figure>



<p>When the command is entered, it will not be executed until the Enter key is pressed. The sequence is immediately parsed by cmd or directly by the program it represents. In fact, within the command prompt we can run other programs, such as DISKPART. The response of the terminal is according to the command given. It may be to display information in text form within the terminal itself. It can also be the execution of an application in the foreground or background, or an error message when it does not <em>understand</em> the command.</p>



<h2>User permissions for the Windows terminal</h2>



<p>One thing you should consider is the permissions granted by the user to use the terminal. Certainly, the systems are multi-user and are based on sessions opened by each one of them. Furthermore, not all have the same privileges and permissions to run apps. More than all, there are administrators and guest or limited users.</p>



<figure class="wp-block-gallery columns-2 is-cropped"><ul class="blocks-gallery-grid"><li class="blocks-gallery-item"><figure><img loading="lazy" width="533" height="179" src="https://www.osradar.com/wp-content/uploads/2022/01/ter5.png" alt="" data-id="34304" data-full-url="https://www.osradar.com/wp-content/uploads/2022/01/ter5.png" data-link="https://www.osradar.com/?attachment_id=34304" class="wp-image-34304" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter5.png 533w, https://www.osradar.com/wp-content/uploads/2022/01/ter5-300x101.png 300w" sizes="(max-width: 533px) 100vw, 533px" /></figure></li><li class="blocks-gallery-item"><figure><img loading="lazy" width="587" height="221" src="https://www.osradar.com/wp-content/uploads/2022/01/ter6.png" alt="" data-id="34305" data-full-url="https://www.osradar.com/wp-content/uploads/2022/01/ter6.png" data-link="https://www.osradar.com/?attachment_id=34305" class="wp-image-34305" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter6.png 587w, https://www.osradar.com/wp-content/uploads/2022/01/ter6-300x113.png 300w" sizes="(max-width: 587px) 100vw, 587px" /></figure></li></ul><figcaption class="blocks-gallery-caption">Difference between using the normal command prompt and using it as an administrator.</figcaption></figure>



<p>In GNU/Linux is where the user permission system is more prioritized. However, Windows also has its method. However, every time we create a new user, this one will have Administrator privileges. On the other hand, the figure of root or superuser that Linux has more clearly does not appear. This can be seen when installing any app. In effect, a window will appear asking for administrator permissions to continue. In addition, the type of users will be shown in the terminal window. A command prompt as administrator will show the path to the System32 directory.</p>



<h2>How to access the command prompt.</h2>



<p>The easiest way to access the Windows terminal is through the start menu. You can follow the path: <strong>Windows Start>Windows System>System symbol</strong>. A more expeditious way is to type CMD in the search button and launch the app.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="787" height="680" src="https://www.osradar.com/wp-content/uploads/2022/01/ter7.png" alt="Opening the command prompt from the start menu. " class="wp-image-34306" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter7.png 787w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-300x259.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-768x664.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter7-696x601.png 696w" sizes="(max-width: 787px) 100vw, 787px" /><figcaption>Opening the command prompt from the start menu.</figcaption></figure>



<p>Another way is through the Run tool. Just press Win+R and type CMD. Finally, press Enter.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="399" height="206" src="https://www.osradar.com/wp-content/uploads/2022/01/ter8.png" alt="" class="wp-image-34307" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter8.png 399w, https://www.osradar.com/wp-content/uploads/2022/01/ter8-300x155.png 300w" sizes="(max-width: 399px) 100vw, 399px" /><figcaption>Running CMD</figcaption></figure>



<p>Now we will see how to open the tool with administrator privileges. Just select the corresponding option from the search menu.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="787" height="678" src="https://www.osradar.com/wp-content/uploads/2022/01/ter9.png" alt="Opening a Windows terminal as administrator" class="wp-image-34308" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter9.png 787w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-300x258.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-768x662.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter9-696x600.png 696w" sizes="(max-width: 787px) 100vw, 787px" /><figcaption>Opening a Windows terminal as administrator</figcaption></figure>



<p>As an additional tip, if you decide to launch the terminal from the run box, then just press the Shift+Ctrl combination when pressing Enter. This way, the tool will run in Administrator mode.</p>



<h2>Accessing from the Windows installation and recovery menu.</h2>



<p>One of the most crucial uses of the Windows terminal is when we do not have access to the graphical interface of the system. This could happen due to failures that do not allow us to log in correctly. It is also possible after continuous system reboots. In such cases, CDM is a way to try to repair Windows before having to reinstall it. Fortunately, the Windows installation system has access to the command prompt. It is also possible to access it from the system repair menu. This is displayed after three failed boot attempts.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="768" height="571" src="https://www.osradar.com/wp-content/uploads/2022/01/ter10-1.png" alt="" class="wp-image-34311" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter10-1.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-1-300x223.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-1-485x360.png 485w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-1-696x517.png 696w, https://www.osradar.com/wp-content/uploads/2022/01/ter10-1-265x198.png 265w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>Consequently, you just have to boot from the installation drive as shown in this <a href="https://www.osradar.com/how-to-install-windows-10-step-by-step/" target="_blank" rel="noreferrer noopener">tutorial.</a> The difference is that you have to click on <strong>Repair your computer.</strong> You will then be redirected to the recovery menu. Please click on troubleshoot. Depending on your system version, you may need to click on <strong>Advanced options. </strong>Either way, just click on the <strong>Command Prompt.</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" width="600" height="293" src="https://www.osradar.com/wp-content/uploads/2022/01/ter11.jpg" alt="" class="wp-image-34313" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter11.jpg 600w, https://www.osradar.com/wp-content/uploads/2022/01/ter11-300x147.jpg 300w" sizes="(max-width: 600px) 100vw, 600px" /><figcaption>Running the command prompt from the startup recovery options.</figcaption></figure>



<p>For the system recovery menu, the path is as follows: Troubleshoot>Advanced Options>Command Prompt. This menu is activated after 3 unsuccessful system startup attempts. Alternatively, you can press shift by choosing Restart from the Windows startup menu.</p>



<h2>Customizing the look and feel of the Windows terminal</h2>



<p>Maybe you didn&#8217;t know it, but it is possible to customize the appearance of the Windows terminal. It is not an indispensable element, but it can serve to increase the user experience. With this in mind, please right-click on the status bar. Then select <strong>Properties.</strong></p>



<figure class="wp-block-image size-full"><img loading="lazy" width="978" height="511" src="https://www.osradar.com/wp-content/uploads/2022/01/ter12.png" alt="Opening the Command Prompt options" class="wp-image-34314" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter12.png 978w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-300x157.png 300w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-768x401.png 768w, https://www.osradar.com/wp-content/uploads/2022/01/ter12-696x364.png 696w" sizes="(max-width: 978px) 100vw, 978px" /><figcaption>Opening the Command Prompt options</figcaption></figure>



<p>In the Options tab, there are some parameters related to the operation of the terminal. Some of them are:</p>



<ul><li><strong>Cursor size</strong>: simply affects the cursor we see as we type. We recommend using the small size to avoid confusion when the Insert mode is activated.</li><li><strong>Command history:</strong> this is a buffer where the last commands executed in the session are stored.</li><li><strong>Editing options: </strong>impact how commands are typed and how information is copied to the terminal.</li></ul>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="491" src="https://www.osradar.com/wp-content/uploads/2022/01/ter13.png" alt="" class="wp-image-34315" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter13.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter13-238x300.png 238w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>In the Font tab, we can configure the appearance and size of the font inside the terminal.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="491" src="https://www.osradar.com/wp-content/uploads/2022/01/ter14.png" alt="" class="wp-image-34316" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter14.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter14-238x300.png 238w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>In the Layout section, you can change the window size and screen buffer size when starting the tool.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="491" src="https://www.osradar.com/wp-content/uploads/2022/01/ter15.png" alt="" class="wp-image-34317" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter15.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter15-238x300.png 238w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>Moreover, In the Colors tab, there is a lot to customize. You can customize the color of the terminal window content, its text and even pop-up windows. In addition, we can individualize the changes to observe the preview. It is even possible to set the opacity of the terminal window.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="491" src="https://www.osradar.com/wp-content/uploads/2022/01/ter16.png" alt="" class="wp-image-34318" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter16.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter16-238x300.png 238w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>Finally, in the terminal section, we set the color and shape of the cursor. We can also set the color of the terminal font. In addition to other elements related to the appearance of the terminal.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="390" height="491" src="https://www.osradar.com/wp-content/uploads/2022/01/ter17.png" alt="" class="wp-image-34319" srcset="https://www.osradar.com/wp-content/uploads/2022/01/ter17.png 390w, https://www.osradar.com/wp-content/uploads/2022/01/ter17-238x300.png 238w" sizes="(max-width: 390px) 100vw, 390px" /></figure>



<p>Very well, ultimately we have seen that it is the Windows terminal. We have shown you the general concepts to start using this powerful tool. In later posts, we will show you the elements of use of the Windows terminal. See you soon!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-the-terminal-in-windows-10/">What is the terminal in Windows 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/what-is-the-terminal-in-windows-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the PowerShell Gallery?</title>
		<link>https://www.osradar.com/what-is-the-powershell-gallery/</link>
					<comments>https://www.osradar.com/what-is-the-powershell-gallery/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Wed, 31 Mar 2021 21:04:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[powershell gallery]]></category>
		<category><![CDATA[windows console]]></category>
		<category><![CDATA[windows terminal]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=29302</guid>

					<description><![CDATA[<p>Hello! It is well known that Node.js project developers have a package repository. In addition, these repositories have code snippets. For example, NPM. Likewise, .NET developers have NuGet. Consequently, developers of PowerShell scripts and modules have their own repository. We are talking about PowerShell Gallery. A service managed by Microsoft. There are useful modules with [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-the-powershell-gallery/">What is the PowerShell Gallery?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Hello! It is well known that Node.js project developers have a package repository. In addition, these repositories have code snippets. For example, NPM. Likewise, .NET developers have NuGet. Consequently, developers of <a href="https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7.1" target="_blank" rel="noreferrer noopener">PowerShell </a>scripts and modules have their own repository. We are talking about PowerShell Gallery. A service managed by Microsoft. There are useful modules with PowerShell commands. In addition to scripts that define a set of tasks and the sequencing of these tasks. In the following lines, we will define what the PowerShell Gallery is.</p>



<h2>What are the most downloaded PowerShell Gallery packages?</h2>



<p>This gallery currently has 66,367 packages. They have almost 3.2 billion downloads. Some of these packages have been developed by <a href="https://www.osradar.com/category/windows/" target="_blank" rel="noreferrer noopener">Microsoft</a> itself. However, others have been created by the PowerShell user community. Below we will take a look at the most popular package types.</p>



<ul><li>NetworkingDsc: DSC resources to configure aspects related to networks.</li><li>PSWindowsUpdate: This module contains cmdlets to manage the Windows Update client.</li><li>Az.Accounts: Module with cmdlets to manage user accounts in Azure Resource Manager.</li><li>PackageManagement: A package manager for accessing software over the Internet.</li><li>Computer ManagementDsc: DSC resources related to aspects of computer administration such as task scheduling, virtual memory management, power settings, etc.</li></ul>



<h2>Basic aspects of the mode of use</h2>



<p>PowerShellGet is a very useful module. It allows any user to use the gallery to load, detect and download all kinds of packages. However, it is first necessary to install the latest version of NuGet. With this in mind, you have to use the following command:</p>



<pre class="wp-block-preformatted">Install-PackageProvider -Name NuGet -Force</pre>



<p>If we do not do this and try to use it, then PowerShell itself will offer to install it. To search for modules related to Active Directory, then the system will display the following:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="193" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/03/sh-1024x193.png" alt="" class="wp-image-29304" srcset="https://www.osradar.com/wp-content/uploads/2021/03/sh-1024x193.png 1024w, https://www.osradar.com/wp-content/uploads/2021/03/sh-300x57.png 300w, https://www.osradar.com/wp-content/uploads/2021/03/sh-768x145.png 768w, https://www.osradar.com/wp-content/uploads/2021/03/sh-696x131.png 696w, https://www.osradar.com/wp-content/uploads/2021/03/sh-1068x201.png 1068w, https://www.osradar.com/wp-content/uploads/2021/03/sh.png 1210w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>After installation, it is possible to start searching for the package:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="495" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/03/sh2-1-1024x495.jpg" alt="" class="wp-image-29312" srcset="https://www.osradar.com/wp-content/uploads/2021/03/sh2-1-1024x495.jpg 1024w, https://www.osradar.com/wp-content/uploads/2021/03/sh2-1-300x145.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/03/sh2-1-768x371.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/03/sh2-1-696x336.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/03/sh2-1-1068x516.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/03/sh2-1.jpg 1225w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Once the package is located, it can be installed. To do so, just run <em>Install-Module.</em> So the syntax would be as follows:</p>



<pre class="wp-block-preformatted">Install-Module -Name PowerShellGet</pre>



<p>We have discussed the possibility of installing scripts. For this purpose, just add <em>Install-Script </em>followed by the name of the script. On the other hand, it is also possible to update the installed modules and scripts. With this in mind, we will use the <em>Update-Module</em> or <em>Update-Script</em> commands. Finally, it is also possible to check what is installed from the PowerShell Gallery. Just use the <em>Get-InstalledModule </em>and <em>Get-InstalledScript </em>commands. Ultimately we have seen what the PowerShell Gallery is. So you have at hand this package manager nurtured by Microsoft. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/what-is-the-powershell-gallery/">What is the PowerShell Gallery?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/what-is-the-powershell-gallery/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
