<?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>script Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/script/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Wed, 29 Sep 2021 03:35:08 +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>How to download Windows 11 ISO</title>
		<link>https://www.osradar.com/how-to-download-windows-11-iso/</link>
					<comments>https://www.osradar.com/how-to-download-windows-11-iso/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Mon, 04 Oct 2021 21:33:00 +0000</pubDate>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[mediacreationtool.bat]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[windows 11]]></category>
		<category><![CDATA[windows 11 iso download]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=32471</guid>

					<description><![CDATA[<p>Hello! The arrival of Windows 11 is just around the corner. Therefore, the expectation is growing all the time. However, the limitations imposed by Microsoft are a real headache. Consequently, users and developers are looking for ways to get around them. Recently we have the proposal of MediaCreationTool.bat. This is a script that facilitates the [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-download-windows-11-iso/">How to download Windows 11 ISO</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! The arrival of Windows 11 is just around the corner. Therefore, the expectation is growing all the time. However, the limitations imposed by Microsoft are a real headache. Consequently, users and developers are looking for ways to get around them. Recently we have the proposal of <a href="https://www.osradar.com/download-any-version-of-windows-10-with-this-script/" target="_blank" rel="noreferrer noopener">MediaCreationTool.bat.</a> This is a script that facilitates the download of Windows Images ISO. In addition, the download is done from Microsoft&#8217;s own servers. Well, the developers have updated the tool. Therefore, it is now possible to download Windows 11 ISO images. In addition, it allows you to skip compatibility checks. Well, let&#8217;s see how to download the Windows 11 ISO.</p>



<h2>How to get any ISO of Windows 11</h2>



<p>This is an open-source development that can be consulted on <a href="https://gist.github.com/AveYo/c74dc774a8fb81a332b5d65613187b15" target="_blank" rel="noreferrer noopener">GitHub.</a> In addition, in the latest version, the developer has added the ability to download Windows 11 ISOs. It also includes a way to skip system checks. Which determines if Windows 11 can be installed. Therefore, it joins the possibility of downloading the different ISO of Windows 10. In addition, the version includes important improvements. It is now possible to copy the operating system to a USB stick. It is also possible to create an ISO image. Please follow the steps below to get the script. However, please note that you may get a warning from the antivirus.</p>



<ul><li>Access the project&#8217;s GitHub site from <a href="https://gist.github.com/AveYo/c74dc774a8fb81a332b5d65613187b15" target="_blank" rel="noreferrer noopener">here.</a></li><li>Now click on Download Zip. This option is located in the upper right corner of the screen. However, you can download it directly from <a href="https://gist.github.com/AveYo/c74dc774a8fb81a332b5d65613187b15/archive/6331dc4ff5fdef511538a235fc60f9012c60d1f0.zip" target="_blank" rel="noreferrer noopener">here.</a></li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="787" src="https://www.osradar.com/wp-content/uploads/2021/09/media-1024x787.jpg" alt="Downloading MediaCreationTool.bat" class="wp-image-32472" srcset="https://www.osradar.com/wp-content/uploads/2021/09/media-1024x787.jpg 1024w, https://www.osradar.com/wp-content/uploads/2021/09/media-300x231.jpg 300w, https://www.osradar.com/wp-content/uploads/2021/09/media-768x590.jpg 768w, https://www.osradar.com/wp-content/uploads/2021/09/media-696x535.jpg 696w, https://www.osradar.com/wp-content/uploads/2021/09/media-1068x821.jpg 1068w, https://www.osradar.com/wp-content/uploads/2021/09/media.jpg 1280w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption>Downloading MediaCreationTool.bat</figcaption></figure>



<ul><li>Now extract the downloaded ZIP file</li><li>Next, right-click on the MediaCreationTool.bat file. Now in the context menu, select Run as administrator.</li></ul>



<figure class="wp-block-image size-full"><img loading="lazy" width="872" height="844" src="https://www.osradar.com/wp-content/uploads/2021/09/media2.png" alt="Running the script as administrator" class="wp-image-32474" srcset="https://www.osradar.com/wp-content/uploads/2021/09/media2.png 872w, https://www.osradar.com/wp-content/uploads/2021/09/media2-300x290.png 300w, https://www.osradar.com/wp-content/uploads/2021/09/media2-768x743.png 768w, https://www.osradar.com/wp-content/uploads/2021/09/media2-696x674.png 696w" sizes="(max-width: 872px) 100vw, 872px" /><figcaption>Running the script as administrator</figcaption></figure>



<ul><li>Consequently, the script will display all the versions available for download.</li><li>Please select one from the list.</li></ul>



<h2>Configuration options</h2>



<p>Likewise, the tool has configuration options.</p>



<ul><li><strong>Auto Setup</strong>: An option to update directly without prompts. In addition, with intelligent editing and backup switching.</li><li><strong>Create ISO</strong>: for creating iso files directly through the DIR2ISO code snippet. Also includes any <em>oem</em> customization.</li><li><strong>Create USB: </strong>for USB creation via native MCT, including <em>oem </em>ustomizations.</li><li><strong>Select in MCT.</strong> An option for processing without <em>oem</em> modifications.</li></ul>



<p></p>



<figure class="wp-block-image size-full"><img loading="lazy" width="340" height="227" src="https://www.osradar.com/wp-content/uploads/2021/09/media3.png" alt="MediaCreationTool.bat Configuration Options" class="wp-image-32475" srcset="https://www.osradar.com/wp-content/uploads/2021/09/media3.png 340w, https://www.osradar.com/wp-content/uploads/2021/09/media3-300x200.png 300w" sizes="(max-width: 340px) 100vw, 340px" /><figcaption>MediaCreationTool.bat Configuration Options</figcaption></figure>



<p>In the following image you can see that the Windows 11 ISO is available for download.</p>



<figure class="wp-block-image size-full"><img loading="lazy" width="340" height="557" src="https://www.osradar.com/wp-content/uploads/2021/09/media4.png" alt="Windows 11 ISO image available for download." class="wp-image-32476" srcset="https://www.osradar.com/wp-content/uploads/2021/09/media4.png 340w, https://www.osradar.com/wp-content/uploads/2021/09/media4-183x300.png 183w" sizes="(max-width: 340px) 100vw, 340px" /><figcaption>Windows 11 ISO image available for download.</figcaption></figure>



<p>But inside the unzipped file, there is a very interesting option. It is a script that skips the requirements verification to download Windows 11. Therefore, we will be able to run the system even if we do not have a <a href="http://But inside the unzipped file, there is a very interesting option. It is a script that skips the requirements verification to download Windows 11. Therefore, we will be able to run the system even if we do not have a TPM chip. Finally, we have seen how to download the Windows 11 ISO. In addition, we will be able to do it skipping the requirements verification process. See you later!" target="_blank" rel="noreferrer noopener">TPM chip.</a></p>



<p> </p>



<figure class="wp-block-image size-full"><img loading="lazy" width="942" height="533" src="https://www.osradar.com/wp-content/uploads/2021/09/media5.png" alt="" class="wp-image-32478" srcset="https://www.osradar.com/wp-content/uploads/2021/09/media5.png 942w, https://www.osradar.com/wp-content/uploads/2021/09/media5-300x170.png 300w, https://www.osradar.com/wp-content/uploads/2021/09/media5-768x435.png 768w, https://www.osradar.com/wp-content/uploads/2021/09/media5-696x394.png 696w" sizes="(max-width: 942px) 100vw, 942px" /></figure>



<p>Finally, we have seen how to download the Windows 11 ISO. In addition, we will be able to do it skipping the requirements verification process. See you later!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-download-windows-11-iso/">How to download Windows 11 ISO</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-download-windows-11-iso/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Enable PowerShell Script Execution</title>
		<link>https://www.osradar.com/how-to-enable-powershell-script-execution/</link>
					<comments>https://www.osradar.com/how-to-enable-powershell-script-execution/#respond</comments>
		
		<dc:creator><![CDATA[roger]]></dc:creator>
		<pubDate>Sat, 03 Jul 2021 09:13:00 +0000</pubDate>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[powershell script]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[scripting]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=31027</guid>

					<description><![CDATA[<p>Hello, how are you? You have probably tried to run scripts in PowerShell in Windows. However, you will not be able to proceed as the tool displays an error message. This message indicates that you cannot continue because there is a restriction. So, read on to find out how to enable script execution in PowerShell. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-enable-powershell-script-execution/">How to Enable PowerShell Script Execution</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, how are you? You have probably tried to run scripts in PowerShell in <a href="https://www.microsoft.com/en-us/software-download/windows10" target="_blank" rel="noreferrer noopener">Windows.</a> However, you will not be able to proceed as the tool displays an error message. This message indicates that you cannot continue because there is a restriction. So, read on to find out how to enable script execution in PowerShell.</p>



<h2>What are Scripts?</h2>



<p>Scripts are lines of code that make up a specific function or application. They are also considered to be widely used software tools. Since they are characterized by being very practical and effective. It is a very useful tool!</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="600" height="543" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/06/sc.png" alt="" class="wp-image-31028" srcset="https://www.osradar.com/wp-content/uploads/2021/06/sc.png 600w, https://www.osradar.com/wp-content/uploads/2021/06/sc-300x272.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<h2>What are Scripts for?</h2>



<p>These elements can be used for multiple functions:</p>



<ul><li>Execution of a specific function for a web page.</li><li>Web development.</li><li>Adding a software plug-in</li><li>Schedule automatic tasks</li></ul>



<figure class="wp-block-image size-large"><img loading="lazy" width="595" height="709" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/06/sc2.png" alt="" class="wp-image-31029" srcset="https://www.osradar.com/wp-content/uploads/2021/06/sc2.png 595w, https://www.osradar.com/wp-content/uploads/2021/06/sc2-252x300.png 252w" sizes="(max-width: 595px) 100vw, 595px" /></figure>



<h2>How to enable PowerShell Script Execution in Windows 10</h2>



<p>Most likely, scripting in PowerShell is disabled by default. Therefore, it is necessary to make a procedure to run it. The first thing you need to do is to run PowerShell with administrator privileges. With this intention, press the Win+X combination and select the corresponding option:</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="270" height="614" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/06/sc3.png" alt="Opening a PowerShell with administrator privileges" class="wp-image-31030" srcset="https://www.osradar.com/wp-content/uploads/2021/06/sc3.png 270w, https://www.osradar.com/wp-content/uploads/2021/06/sc3-132x300.png 132w" sizes="(max-width: 270px) 100vw, 270px" /><figcaption>Opening a PowerShell with administrator privileges</figcaption></figure>



<p>Then run the following command:</p>



<pre class="wp-block-preformatted">set-executionpolicy unrestricted –force</pre>



<figure class="wp-block-image size-large"><img loading="lazy" width="859" height="285" src="//1081754738.rsc.cdn77.org/wp-content/uploads/2021/06/sc4.png" alt="How to enable script execution in PowerShell" class="wp-image-31032" srcset="https://www.osradar.com/wp-content/uploads/2021/06/sc4.png 859w, https://www.osradar.com/wp-content/uploads/2021/06/sc4-300x100.png 300w, https://www.osradar.com/wp-content/uploads/2021/06/sc4-768x255.png 768w, https://www.osradar.com/wp-content/uploads/2021/06/sc4-696x231.png 696w" sizes="(max-width: 859px) 100vw, 859px" /><figcaption>How to enable script execution in PowerShell</figcaption></figure>



<p>This action will enable the execution of <a href="https://www.osradar.com/category/windows/" target="_blank" rel="noreferrer noopener">PowerShell</a> scripts with the <em>unrestricted </em>policy.</p>



<h2>Script execution policy</h2>



<p>You can use other policies for script execution:</p>



<ul><li><em>Undefined</em> which performs the same function as <em>Unrestricted</em></li><li><em>Allsigned </em>which establishes that all scripts are signed.</li><li><em>ByPass </em>to avoid warnings</li><li><em>Restricted </em>disabling the execution of scripts</li><li><em>RemoteSigned </em>requires the signature of a trusted publisher when downloading scripts from the Internet.</li></ul>



<h2>The set-executionpolicy command</h2>



<p>This command modifies the PowerShell execution policy. It is also part of the security policies. Consequently, we can load configuration files. For example, the <a href="https://www.osradar.com/category/windows/" target="_blank" rel="noreferrer noopener">PowerShell </a>profile.</p>



<h2>Application scopes in PowerShell</h2>



<p>There are several areas of application of PowerShell. It is a local machine with scope for all users of the pc. Also <em>Current User </em>for the immediate user. Processes that affect only the current PowerShell session. Finally, there are group policy settings. For example, User Policy refers to the group policy for the current user. In addition, <em>MachinePolicy </em>with group policies for all users. For security reasons, it is necessary to verify the policy of each area. With this in mind, just run the following command:</p>



<pre class="wp-block-preformatted">Get-ExecutionPolicy –list </pre>



<p>Pressing Enter will display the selected information. Okay, so we have seen how to enable script execution in PowerShell. Bye!</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-enable-powershell-script-execution/">How to Enable PowerShell Script Execution</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-enable-powershell-script-execution/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use CURL command on Linux?</title>
		<link>https://www.osradar.com/how-to-use-curl-command-linux/</link>
					<comments>https://www.osradar.com/how-to-use-curl-command-linux/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Wed, 26 Dec 2018 19:00:20 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=8710</guid>

					<description><![CDATA[<p>On our site, there are many tutorials that have helped you learn about Linux, but in them, there is a very particular command called CURL. For example, in the post where I taught you how to install Rust, I used it, but I didn&#8217;t explain what it is. Therefore, in this post, I will teach [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-use-curl-command-linux/">How to use CURL command on Linux?</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>On our site, there are many tutorials that have helped you learn about Linux, but in them, there is a very particular command called CURL. For example, in the post where I taught you <a href="https://www.osradar.com/install-rust-programming-language-linux/">how to install Rust</a>, I used it, but I didn&#8217;t explain what it is. Therefore, in this post, I will teach you how to use the CURL command on Linux.</p>
<p><a href="https://curl.haxx.se/" rel="noopener">CURL</a> is a command line tool and library for transferring data with URLs. Many download scripts or file transfers use CURL as a means to achieve this. In addition, CURL supports FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP and many other protocols quite popular on networks.</p>
<p>On the other hand, the use of CURL is not limited exclusively to computers but to other devices that use UNIX such as cell phones, cars and is the transfer backend of many of the most popular applications in the world.</p>
<h1>Using CURL command on Linux</h1>
<p>The idea of this post is to show the use of CURL, not to do it in a theoretical way. The main idea is to do it through examples that demonstrate its use.</p>
<p>So, let&#8217;s start.</p>
<h2>1. Install CURL</h2>
<p>Obviously, the first step is to install CURL. It is really simple as it is available in the official repositories of most Linux distributions. So, its installation is limited to a single command.</p>
<p>For Debian, Ubuntu, <a href="https://www.osradar.com/speed-up-cinnamon/">Linux Mint</a> and derivates</p>
<pre class="">:~$ sudo apt install curl</pre>
<p><figure id="attachment_8730" aria-describedby="caption-attachment-8730" style="width: 741px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8730" src="https://www.osradar.com/wp-content/uploads/2018/12/1-16.png" alt="1.- Install CURL" width="741" height="268" srcset="https://www.osradar.com/wp-content/uploads/2018/12/1-16.png 741w, https://www.osradar.com/wp-content/uploads/2018/12/1-16-300x109.png 300w" sizes="(max-width: 741px) 100vw, 741px" /><figcaption id="caption-attachment-8730" class="wp-caption-text">1.- Install CURL</figcaption></figure></p>
<p>If you use Fedora:</p>
<pre class="">:~$ sudo dnf install curl</pre>
<p>For CentOS and RHEL:</p>
<pre class="">:~$ yum install curl</pre>
<h2>2. Check the CURL version</h2>
<p>The second thing you should do is, check the CURL version. Important to know what news you have available. While it is not essential to have CURL updated to its latest version, it is also not crazy to do so.</p>
<pre class="">:~$ curl --version</pre>
<p><figure id="attachment_8731" aria-describedby="caption-attachment-8731" style="width: 1365px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8731" src="https://www.osradar.com/wp-content/uploads/2018/12/2-16.png" alt="2.- Checking the CURL version" width="1365" height="177" srcset="https://www.osradar.com/wp-content/uploads/2018/12/2-16.png 1365w, https://www.osradar.com/wp-content/uploads/2018/12/2-16-300x39.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/2-16-768x100.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/2-16-1024x133.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/2-16-1068x138.png 1068w" sizes="(max-width: 1365px) 100vw, 1365px" /><figcaption id="caption-attachment-8731" class="wp-caption-text">2.- Checking the CURL version</figcaption></figure></p>
<h2>3. Display the content of an HTML</h2>
<p>A simple way to display the source code of an HTML site from the terminal is with CURL.</p>
<pre class="">:~$ curl http://website.com/page.html</pre>
<p>Of course, it is necessary that you place the complete website of your preference.</p>
<p><figure id="attachment_8732" aria-describedby="caption-attachment-8732" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8732" src="https://www.osradar.com/wp-content/uploads/2018/12/3-16.png" alt="3.- Showing a HTML page on the terminal thanks to CURL command" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/3-16.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/3-16-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/3-16-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/3-16-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/3-16-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/3-16-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8732" class="wp-caption-text">3.- Showing an HTML page on the terminal thanks to CURL command</figcaption></figure></p>
<h2>4. Download a file with CURL</h2>
<p>This is one of the most common uses we give to CURL. Downloading a file is a really simple task.</p>
<pre class="">:~$ curl -O https://pixabay.com/en/photos/download/ocean-3605547_1280.jpg</pre>
<p><figure id="attachment_8733" aria-describedby="caption-attachment-8733" style="width: 795px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8733" src="https://www.osradar.com/wp-content/uploads/2018/12/4-16.png" alt="4.- Downloading a file" width="795" height="149" srcset="https://www.osradar.com/wp-content/uploads/2018/12/4-16.png 795w, https://www.osradar.com/wp-content/uploads/2018/12/4-16-300x56.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/4-16-768x144.png 768w" sizes="(max-width: 795px) 100vw, 795px" /><figcaption id="caption-attachment-8733" class="wp-caption-text">4.- Downloading a file</figcaption></figure></p>
<p>You can use the <code>-o</code> option to specify the name of the downloaded file.</p>
<pre class="">:~$ curl -o image.jpg https://pixabay.com/en/photos/download/ocean-3605547_1280.jpg</pre>
<p><figure id="attachment_8734" aria-describedby="caption-attachment-8734" style="width: 889px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8734" src="https://www.osradar.com/wp-content/uploads/2018/12/5-15.png" alt="5.- Downloading a file using the -o option" width="889" height="148" srcset="https://www.osradar.com/wp-content/uploads/2018/12/5-15.png 889w, https://www.osradar.com/wp-content/uploads/2018/12/5-15-300x50.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/5-15-768x128.png 768w" sizes="(max-width: 889px) 100vw, 889px" /><figcaption id="caption-attachment-8734" class="wp-caption-text">5.- Downloading a file using the -o option</figcaption></figure></p>
<p>I remind you again that, I&#8217;m using test URLs, you have to enter yours.</p>
<h2>5. Use a proxy</h2>
<p>With CURL it is possible to make connections through a <a href="https://www.osradar.com/squid-proxy-install-and-configure-it/">proxy</a>. The proxy may or may not require authentication.</p>
<pre class="">:~$ curl -x your-proxy:8080 -U user_password -O http://domain.com/file</pre>
<p><figure id="attachment_8736" aria-describedby="caption-attachment-8736" style="width: 1122px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8736" src="https://www.osradar.com/wp-content/uploads/2018/12/6-66.png" alt="6.- Using a proxy server" width="1122" height="183" srcset="https://www.osradar.com/wp-content/uploads/2018/12/6-66.png 1122w, https://www.osradar.com/wp-content/uploads/2018/12/6-66-300x49.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/6-66-768x125.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/6-66-1024x167.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/6-66-1068x174.png 1068w" sizes="(max-width: 1122px) 100vw, 1122px" /><figcaption id="caption-attachment-8736" class="wp-caption-text">6.- Using a proxy server</figcaption></figure></p>
<p>In case the proxy server does not need authentication, you can omit the option -U.</p>
<h2>6. Get HTTP header information from a website</h2>
<p>There are occasions when it is necessary to know the information stored in the HTTP headers of some website. It is really easy to do it with CURL.</p>
<pre class="">:~$ curl -I http://website.com</pre>
<p><figure id="attachment_8737" aria-describedby="caption-attachment-8737" style="width: 767px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8737" src="https://www.osradar.com/wp-content/uploads/2018/12/7-77.png" alt="7.- Showing HTTP website header" width="767" height="206" srcset="https://www.osradar.com/wp-content/uploads/2018/12/7-77.png 767w, https://www.osradar.com/wp-content/uploads/2018/12/7-77-300x81.png 300w" sizes="(max-width: 767px) 100vw, 767px" /><figcaption id="caption-attachment-8737" class="wp-caption-text">7.- Showing HTTP website header</figcaption></figure></p>
<h2>7. Limit download rate</h2>
<p>If you are connected using mobile data or simply want to limit the CURL download rate, you can do it easily.</p>
<pre class="">:~$ curl --limit-rate 100K -O http://domain.com/file.file</pre>
<p><figure id="attachment_8738" aria-describedby="caption-attachment-8738" style="width: 749px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8738" src="https://www.osradar.com/wp-content/uploads/2018/12/8-88.png" alt="8.- Using a proxy server" width="749" height="155" srcset="https://www.osradar.com/wp-content/uploads/2018/12/8-88.png 749w, https://www.osradar.com/wp-content/uploads/2018/12/8-88-300x62.png 300w" sizes="(max-width: 749px) 100vw, 749px" /><figcaption id="caption-attachment-8738" class="wp-caption-text">8.- Using a proxy server</figcaption></figure></p>
<h2>8. Download file from an FTP server</h2>
<p>As I said at the beginning of this post, CURL supports many protocols, not only HTTP but also <a href="https://www.osradar.com/configure-vsftpd-with-ssl-tls-on-centos-7/">FTP</a>. Now I will show you how to do it.</p>
<pre class="">:~$ curl -u username:password -O ftp://ftpserver/file.zip</pre>
<p><figure id="attachment_8739" aria-describedby="caption-attachment-8739" style="width: 1124px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8739" src="https://www.osradar.com/wp-content/uploads/2018/12/9-99.png" alt="9.- Downloading a file from a FTP server" width="1124" height="155" srcset="https://www.osradar.com/wp-content/uploads/2018/12/9-99.png 1124w, https://www.osradar.com/wp-content/uploads/2018/12/9-99-300x41.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/9-99-768x106.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/9-99-1024x141.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/9-99-1068x147.png 1068w" sizes="(max-width: 1124px) 100vw, 1124px" /><figcaption id="caption-attachment-8739" class="wp-caption-text">9.- Downloading a file from an FTP server</figcaption></figure></p>
<p>In case you do not need authentication, omit the option -u.</p>
<h2>9. Upload Files to an FTP server</h2>
<p>You can also upload files to an FTP server. The syntax is similar only this time, you should add the -T option.</p>
<pre class="">:~$ curl -u username:password -T myfilepath.jpg ftp://ftpserver/file.zip</pre>
<p><em>Note: I&#8217;m using false addresses and that&#8217;s why CURL can&#8217;t find them. But don&#8217;t worry that the commands are correct.</em></p>
<h2>10. Check the CURL help</h2>
<p>Of course, the use of the CURL command is very extensive and I only demonstrated some of its uses. For more information about the CURL command, it is convenient to consult its help from the terminal.</p>
<pre class="">:~$ curl --help</pre>
<p><figure id="attachment_8740" aria-describedby="caption-attachment-8740" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-8740" src="https://www.osradar.com/wp-content/uploads/2018/12/10-1111.png" alt="10.- CURL help" width="1366" height="768" srcset="https://www.osradar.com/wp-content/uploads/2018/12/10-1111.png 1366w, https://www.osradar.com/wp-content/uploads/2018/12/10-1111-300x169.png 300w, https://www.osradar.com/wp-content/uploads/2018/12/10-1111-768x432.png 768w, https://www.osradar.com/wp-content/uploads/2018/12/10-1111-1024x576.png 1024w, https://www.osradar.com/wp-content/uploads/2018/12/10-1111-1068x600.png 1068w, https://www.osradar.com/wp-content/uploads/2018/12/10-1111-747x420.png 747w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-8740" class="wp-caption-text">10.- CURL help</figcaption></figure></p>
<p>And that&#8217;s it.</p>
<h1>Conclusion</h1>
<p>I hope this article has made clear to you the potential of CURL. There is so much potential that there is still so much to show, but I think the objective has been achieved.</p>
<p>CURL is widely used in script automation of content downloads and is not only used in computer equipment but in many others.</p>
<p>So, if you liked the article share it through your social networks.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/how-to-use-curl-command-linux/">How to use CURL command on Linux?</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-curl-command-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
