<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Smithan kumar R</title>
    <description>The latest articles on DEV Community by Smithan kumar R (@smithankumarr).</description>
    <link>https://dev.to/smithankumarr</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F909506%2F5e1875ad-6911-4523-9755-76980f54df5d.jpg</url>
      <title>DEV Community: Smithan kumar R</title>
      <link>https://dev.to/smithankumarr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/smithankumarr"/>
    <language>en</language>
    <item>
      <title>Must Know Concepts in React</title>
      <dc:creator>Smithan kumar R</dc:creator>
      <pubDate>Tue, 15 Nov 2022 05:36:51 +0000</pubDate>
      <link>https://dev.to/smithankumarr/must-know-concepts-in-react-p5b</link>
      <guid>https://dev.to/smithankumarr/must-know-concepts-in-react-p5b</guid>
      <description>&lt;h3&gt;
  
  
  What are components &amp;amp; Props?
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Components&lt;/strong&gt;  are the core buildling blocks of React Application that can be reused and handled independently.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Props&lt;/strong&gt;  stands for Properties and they are immutable(Read-only)&lt;br&gt;
Props are the arguments passed to React Components&lt;/p&gt;
&lt;h3&gt;
  
  
  How to pass props from one component to another.
&lt;/h3&gt;

&lt;p&gt;Props data is sent by the parent component and cannot be changed by the child component as they are read-only.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Parent component&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React from 'react';
function Parent()
  {
    const name= Smith;
    const msg = `Hello, my dear ${name}`;

    return (
     &amp;lt;Child msg={msg} /&amp;gt;
     )
   }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Child component&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React from "react";
import Parent from "./Parent.js";

function Child(props){
return (
        &amp;lt;h2&amp;gt;props.msg &amp;lt;/h2&amp;gt;
       )
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Functional based components &amp;amp; Class-based components.
&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;Functional component&lt;/strong&gt;  is just a plain JavaScript pure function that accepts props as an argument and returns a React element(JSX).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function App(){
return &amp;lt;h1&amp;gt; Hello React &amp;lt;/h1&amp;gt;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;strong&gt;Class components&lt;/strong&gt; are simple classes (made up of multiple functions that add functionality to the application).&lt;br&gt;
which can manage the state and lifecycle components&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React from'react';
class Counter extends React.component{
    constructor(props){
       super(props);
       this.state = {
         count: 0
       }
  }
handleIncrement = () =&amp;gt; {
  this.setState(prevState =&amp;gt; prevState + 1)
}
handleDecrement = () =&amp;gt; {
  this.setState(prevState =&amp;gt; prevState - 1)
}
render(){
  return (
   &amp;lt;&amp;gt;
      &amp;lt;h2&amp;gt;this.state.count &amp;lt;/h2&amp;gt;
      &amp;lt;button onClick={handleIncrement}&amp;gt;increment&amp;lt;/button&amp;gt;
      &amp;lt;button onClick={handleDecrement}&amp;gt;decrement&amp;lt;/button&amp;gt;
   &amp;lt;/&amp;gt;
  )
}
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Usage of PropTypes in React.
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;PropTypes&lt;/strong&gt;  are simply a mechanism that ensures that the passed value is of the correct datatype.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Count.propTypes = {
  name: PropTypes.string,
  age: PropTypes.number,
  address: PropTypes.object,
  friends: PropTypes.array,
};
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Using of events in React.
&lt;/h3&gt;

&lt;p&gt;Just like HTML DOM events, React can perform actions based on user events.&lt;br&gt;
React events are written in camelCase syntax within the curly braces&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function Football() {
  const shoot = () =&amp;gt; {
    alert("Great Shot!");
  }

  return (
    &amp;lt;button onClick={shoot}&amp;gt;Take the shot!&amp;lt;/button&amp;gt;
  );
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  State &amp;amp; how to use setState.
&lt;/h3&gt;

&lt;p&gt;The &lt;strong&gt;state&lt;/strong&gt; is a built-in React object that is used to contain data or information about the component. A component’s state can change over time; whenever it changes, the component re-renders.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;refer counter example
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  What is Conditional Rendering &amp;amp; how to use it?
&lt;/h3&gt;

&lt;p&gt;Displaying UI based on the certain condition &lt;br&gt;
in React we can use the different ways to achive it some of them are &lt;br&gt;
1: &amp;amp;&amp;amp; operator  2: Ternary Operator 3: If-else 4: Switch&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import react from 'react';
class signIn extends React.component{
     constructor(){
       super(props);
       this.state = {
        isLoggedIn : false
       }
   }
render(){
  return (
      &amp;lt;h1&amp;gt; {this.state.isLogged ? "Welcome Back" : "Please 
           Sign Up" } &amp;lt;/h1&amp;gt;
     )
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Handling Inputs.
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Controlled components &amp;amp; Uncontrolled component.
&lt;/h3&gt;

&lt;p&gt;A &lt;strong&gt;Controlled Component&lt;/strong&gt; is one that takes its current value through props and notifies changes through callbacks like onChange. A parent component "controls" it by handling the callback and managing its own state and passing the new values as props to the controlled component.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Controlled:
&amp;lt;input type="text" value={value} onChange={handleChange} /&amp;gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A &lt;strong&gt;Uncontrolled Component&lt;/strong&gt; is one that stores its own state internally, and you query the DOM using a ref to find its current value when you need it. This is a bit more like traditional HTML.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;// Uncontrolled:
&amp;lt;input type="text" defaultValue="foo" ref={inputRef} /&amp;gt;
// Use `inputRef.current.value` to read the 
   current value of &amp;lt;input&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
    </item>
    <item>
      <title>Introducing Components: A Better Way To Build And Maintain Complex Web Applications</title>
      <dc:creator>Smithan kumar R</dc:creator>
      <pubDate>Fri, 21 Oct 2022 09:01:47 +0000</pubDate>
      <link>https://dev.to/smithankumarr/introducing-components-a-better-way-to-build-and-maintain-complex-web-applications-3ca0</link>
      <guid>https://dev.to/smithankumarr/introducing-components-a-better-way-to-build-and-maintain-complex-web-applications-3ca0</guid>
      <description>&lt;p&gt;Components let you split the page into independent and reusable parts.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--iuo4ZbST--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ghn1v20telr6ozomsvk4.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--iuo4ZbST--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ghn1v20telr6ozomsvk4.jpg" alt="Image description" width="880" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This makes organizing the page leaps and bounds easier, but even more importantly, components allow us as the developers to separate concerns from one another.&lt;/p&gt;

&lt;h3&gt;
  
  
  Functional Components
&lt;/h3&gt;

&lt;p&gt;In React, there are two types of components that you can use: Functional Components and Class Components.&lt;br&gt;
In this part, we will talk about functional components.&lt;/p&gt;

&lt;p&gt;A functional component is a simple JavaScript function:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function Hello() {
  return &amp;lt;h1&amp;gt;Hello world.&amp;lt;/h1&amp;gt;;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The code above defined a functional component called Hello, that returns a simple React element.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Notice that the name of the functional component begins with a capital letter. This is absolutely critical. If we start the name of a component with a lowercase letter, the browser will treat our component like a regular HTML element instead of a Component.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Rendering Components
&lt;/h3&gt;

&lt;p&gt;In order to display the component, we need to create the corresponding JSX element.&lt;/p&gt;

&lt;p&gt;For example, for our user-defined component Hello:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const elm = &amp;lt;Hello /&amp;gt;; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now, we can use our user-defined element and render it on the page:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function Hello() {
  return &amp;lt;h1&amp;gt;Hello, I am here Learn new things.&amp;lt;/h1&amp;gt;;
}

const elm = &amp;lt;Hello /&amp;gt;; 
ReactDOM.render(
  el, 
  document.getElementById('root')
);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Class Components
&lt;/h3&gt;

&lt;p&gt;Class components are typically used when there are more advanced user interactions, like forms, and animations.&lt;/p&gt;

&lt;p&gt;All class components need to extend the React.Component class.&lt;/p&gt;

&lt;p&gt;We can rewrite our Hello functional component as a class component:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Hello extends React.Component {
  render() {
    return &amp;lt;h1&amp;gt;Hello world.&amp;lt;/h1&amp;gt;;
  }
} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Class components need to have a render method, which is in charge of telling what the page should show.&lt;/p&gt;

&lt;p&gt;t's made by the React team, and it's the cornerstone of their design philosophy, which is to use reusable components for all components on the page.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Here's The Cool Thing About JSX: You Can Use HTML Tags In It.</title>
      <dc:creator>Smithan kumar R</dc:creator>
      <pubDate>Fri, 21 Oct 2022 08:41:46 +0000</pubDate>
      <link>https://dev.to/smithankumarr/heres-the-cool-thing-about-jsx-you-can-use-html-tags-in-it-3674</link>
      <guid>https://dev.to/smithankumarr/heres-the-cool-thing-about-jsx-you-can-use-html-tags-in-it-3674</guid>
      <description>&lt;p&gt;As you can see, the element is not in quotes to represent a string. It's like an HTML element, however we use it right in the JavaScript code!&lt;br&gt;
This is called JSX, and it is a syntax extension to JavaScript. It allows us to build UI elements right in the JavaScript code!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ReactDOM.render(
  &amp;lt;h1&amp;gt;Hello, React!&amp;lt;/h1&amp;gt;,
  document.getElementById('root')
);
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Expressions in JSX
&lt;/h3&gt;

&lt;p&gt;We can use any JavaScript expression inside JSX using curly braces.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;const name = "David";
const el = &amp;lt;p&amp;gt;Hello, {name}&amp;lt;/p&amp;gt;;

ReactDOM.render(
  el,
  document.getElementById('root')
); 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Attributes in JSX
&lt;/h3&gt;

&lt;p&gt;We can specify attributes using quotes, just like in HTML:&lt;/p&gt;

&lt;p&gt;JSX&lt;br&gt;
When using a JavaScript expression as the attributes value, the quotes should not be used:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div id="name"&amp;gt;&amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When using a JavaScript expression as the attributes value, the quotes should not be used:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div id={user.id}&amp;gt;&amp;lt;/div&amp;gt; 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  How Does JSX Work?
&lt;/h3&gt;

&lt;p&gt;When the JSX expressions are compiled, they are converted into JavaScript objects, representing React elements.&lt;br&gt;
React then uses these elements to build the corresponding HTML DOM and display it in the browser.&lt;/p&gt;

&lt;p&gt;Let's create a counter app, that increments a counter variable every second and displays it on the page as a paragraph:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;let counter = 0;

function show() {
  counter++;
  const el = &amp;lt;p&amp;gt;{counter}&amp;lt;/p&amp;gt;;
  ReactDOM.render(
    el, document.getElementById('root')
  );
}

setInterval(show, 1000); 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;We use setInterval to call the show function every second and render the counter element on the page.&lt;/p&gt;

&lt;p&gt;One of the great features of React is that it updates only the elements that need an update. You can inspect the HTML output of the example above and see that only the text in the paragraph gets updated every second.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;JSX is a great tool for React in creating views.&lt;/strong&gt; It has the simplicity of HTML. React's DOM manipulation works with it. The declarative nature makes it easy to understand. &lt;/p&gt;

&lt;p&gt;Still, you should also know that JSX can make the code redundant, which makes a lot of developers hesitant to use it. But if you apply the proper unit testing, any potential issues can be found and resolved in time.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Everything You Need to Know About Unix Commands</title>
      <dc:creator>Smithan kumar R</dc:creator>
      <pubDate>Tue, 16 Aug 2022 06:31:31 +0000</pubDate>
      <link>https://dev.to/smithankumarr/everything-you-need-to-know-about-git-commands-112n</link>
      <guid>https://dev.to/smithankumarr/everything-you-need-to-know-about-git-commands-112n</guid>
      <description>&lt;p&gt;&lt;strong&gt;UNIX&lt;/strong&gt;, multiuser computer operating system. The main features of UNIX were its simplicity, portability (the ability to run on many different systems), multitasking and multiuser capabilities, extensive library of software, and hierarchical file system.&lt;/p&gt;

&lt;h3&gt;
  
  
  Displaying a Directory:
&lt;/h3&gt;

&lt;p&gt;ls–Lists the names of files in a particular Unix directory. If you type the ls command with no parameters or qualifiers, the command displays the files listed in your current working directory. When you give the ls command, you can add one or more modifiers to get additional information.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example: ls
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; Lists the names of files in your default directory, in alphabetical order.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example: ls -l
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; Gives a long listing of the files in your directory. In addition to the file name, the long listing shows protection information, file owner, number of characters in the file, and the date and time of the last change to the file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example: ls -a
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; Causes all your files to be listed, including those files that begin with a period (i.e., hidden files).&lt;/p&gt;

&lt;p&gt;For more information, type &lt;em&gt;Man&lt;/em&gt; ls at the Unix system prompt.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;To create and change directory:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is used to change the current directory and also move from one directory to another directory.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example:  cd {these changes the current }
Example:  cd {these changes the current }
Example:  cd .. {here it comes out of the present directory}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;mk-dir&lt;/strong&gt; — This command is used to make or create a new file or new directory in the specified path.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example: mk-dir
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;rm-dir&lt;/strong&gt; — This command is used to remove the created directory and by using rm-dir -r (recursively delete all the files present in that directory)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example: rm-dir
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  Manipulating files using CRUD{Create, Read,Update, Delete}:
&lt;/h4&gt;

&lt;h4&gt;
  
  
  Some of the commands to Know:
&lt;/h4&gt;

&lt;p&gt;&lt;strong&gt;Touch&lt;/strong&gt; — This command is used to create a new file.txt&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Echo&lt;/strong&gt; — It is used to print the statement or add a new line that file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Head&lt;/strong&gt; — It is used to display the first ten lines of the file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tail&lt;/strong&gt; — It is used to display the Last Ten Lines of the file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Nano&lt;/strong&gt; — It is an inbuilt editor used to edit the file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Grep{global regular expression}&lt;/strong&gt; — used to find the specific in the given file&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Displaying and Concatenating (Combining) Files:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;cat&lt;/strong&gt; — Displays the contents of a file on your terminal.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example:  cat new file
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; Displays the contents of the file “new file” on your terminal.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example:  cat new file old file
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Copying Files:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;cp&lt;/strong&gt; – Makes copies of your files. You can use it to make copies of files in your default directory, to copy files from one directory to another directory, or to copy files from other devices.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example: some cp file one file two
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; Copies the contents of file one to a file named file two. Two separate files now exist.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Deleting Files:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;rm&lt;/strong&gt; - Deletes specific files. You can enter more than one file name on a command line by separating the file specifications with spaces.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example: rm new file
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt;  Deletes the file named “new file.”&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Renaming Files:&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;mv&lt;/strong&gt; - This command changes the identification (name) of one or more files.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Example: mv old file new file
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Result:&lt;/strong&gt; Changes the name of the file “old file” to “new file.” Only one file will exist.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
