{"id":2916,"date":"2023-09-17T16:45:03","date_gmt":"2023-09-17T16:45:03","guid":{"rendered":"https:\/\/tryrdp.com\/blog\/?p=2916"},"modified":"2026-05-24T06:26:37","modified_gmt":"2026-05-24T06:26:37","slug":"common-ssh-commands-in-linux","status":"publish","type":"post","link":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/","title":{"rendered":"Common SSH Commands in Linux With Examples"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl-1024x576.jpg\" alt=\"\" class=\"wp-image-2917\" srcset=\"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl-1024x576.jpg 1024w, https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl-300x169.jpg 300w, https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl-768x432.jpg 768w, https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl-150x84.jpg 150w, https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl.jpg 1312w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">SSH is the short form of Secure Shell or Secure Socket Shell. SSH is an encrypted protocol to connect and communicate between two systems using a secured link over an unsecured network. Tatu Ylonen developed it in 1995. The SSH protocol&#8217;s three layers are the authentication, transport, and connection layers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>SSH commands in Linux<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SSH command is a command used in Linux. There are many <strong>SSH commands in Linux<\/strong>, such as terminal commands, file listing commands, etc. Following are the commonly used SSH commands in Linux.\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls Command<\/li>\n\n\n\n<li>cd Command<\/li>\n\n\n\n<li>pwd Command<\/li>\n\n\n\n<li>In Command<\/li>\n\n\n\n<li>mkdir Command<\/li>\n\n\n\n<li>rm Command<\/li>\n\n\n\n<li>cat Command<\/li>\n\n\n\n<li>cp Command<\/li>\n\n\n\n<li>mv Command<\/li>\n\n\n\n<li>kill Command<\/li>\n\n\n\n<li>chmod Command<\/li>\n\n\n\n<li>wc Command<\/li>\n\n\n\n<li>rmdir Command<\/li>\n\n\n\n<li>tail Command<\/li>\n\n\n\n<li>more Command<\/li>\n\n\n\n<li>grep Command<\/li>\n\n\n\n<li>find Command<\/li>\n\n\n\n<li>pico Command<\/li>\n\n\n\n<li>vi\/nano Command<\/li>\n\n\n\n<li>history Command<\/li>\n\n\n\n<li>clear Command<\/li>\n\n\n\n<li>tar Command<\/li>\n\n\n\n<li>file Command<\/li>\n\n\n\n<li>wget Command<\/li>\n\n\n\n<li>du Command<\/li>\n\n\n\n<li>du -sh Command<\/li>\n\n\n\n<li>ps Command<\/li>\n\n\n\n<li>touch Command<\/li>\n\n\n\n<li>last Command<\/li>\n\n\n\n<li>netstat Command<\/li>\n\n\n\n<li>zip Command<\/li>\n\n\n\n<li>unzip Command<\/li>\n\n\n\n<li>reset Command<\/li>\n\n\n\n<li>exit Command<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>ls Command<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">ls Command is a directory and file listing command. It lists the directory content, i.e.; files and directories.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Syntax: ls [Options] [File]<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ls command can be customized with several options to differentiate the outcomes. The commonly used options in ls command are the following.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -a<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -a display all files including hidden file starting with the dot (.).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -a&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; brave &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Downloads&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g01.13.5.linux &#8211; amd64.tar.gz &nbsp; Music&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .python_history<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">..&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bse &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .eclipse &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .gphoto&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .mysql_history &nbsp; .python_history &#8211; 21278.tmp&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">article_images&nbsp; bsedata &nbsp; &nbsp; &nbsp; &nbsp; eclipse&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .gradle&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .node &#8211; gyp&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; . qd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">assignment &nbsp; &nbsp; &nbsp; .bundle&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; eclipse-workspace &nbsp; index.php&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .npm &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; raycast.txt<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.atom &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .cache &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .emacs.d &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; info-page-content &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .nvm &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sample_assignments<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.bash_history&nbsp; &nbsp; cloning &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; en-GB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; info-page-content.zip &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .p2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .sass &#8211; cache<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.bash_it&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .config&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; flameshot_ss &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insta&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Pictures &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; share<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.bash_logout &nbsp; &nbsp; .dbshell&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .gem&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .local &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .pkt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; snap<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.bash_profile &nbsp; &nbsp; .degit&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; git &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .m2 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .profile&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; solution-info-content<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.bashrc &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Desktop&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .gitconfig&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; meetings&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .profile.save&nbsp; &nbsp; &nbsp; &nbsp; solution-info-content.zip<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">.bashrc.bak&nbsp; &nbsp; &nbsp; &nbsp; development&nbsp; .gnome&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .mongorc.js&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .psql_history &nbsp; &nbsp; &nbsp; solution-page-content<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Documents &nbsp; &nbsp; . gnupg&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .mozilla&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Public &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; solution-page-content.zip<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -d *\/<\/li>\n<\/ul>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">ls -d *\/ displays only the sub-directories.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -d *\/&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">article_images \/ bin \/ Desktop \/ Documents \/ eclipse \/ en &#8211; GB \/ info &#8211; page &#8211; content \/ meetings \/ sample_assignments \/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">assignment \/ bse \/ development \/ Downloads \/ eclipse-workspace \/ git \/ insta \/ Pictures \/ share \/<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -l<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -l displays full information about files, such as file name, size, modified date and time, the owner, and the permissions in long listing format.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -l<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">total 117448<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 3 ubuntu ubuntu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5094 May 10 14:13 article_images<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 5 ubuntu ubuntu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 17382 May 31 2021 assignment<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu ubuntu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5094 Jan &nbsp; 2&nbsp; 2021 bin&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 4 ubuntu ubuntu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5094 May &nbsp; 9&nbsp; 2021 bse<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r&#8211; 1 ubuntu ubuntu &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 Jan &nbsp; &nbsp; 2&nbsp; 2021 Cloning<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -F<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -F displays files with special characters such as *, @, etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -F<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">article_images \/ Cloning&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Downloads \/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; git \/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; info-page-content.zip&nbsp; &nbsp; &nbsp; &nbsp; raycast.txt&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">assignment \/&nbsp; &nbsp; &nbsp; Desktop \/&nbsp; &nbsp; &nbsp; eclipse \/ &nbsp; &nbsp; go1.13.5.linux &#8211; amd64.tar.gz&nbsp; insta &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sampe_file.txt&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bin \/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; development \/&nbsp; &nbsp; &nbsp; eclipse &#8211; workspace \/ index.php&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; meetings \/ &nbsp; &nbsp; &nbsp; sample_assignments \/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">bse \/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Documents \/&nbsp; &nbsp; en &#8211; GB \/ &nbsp; &nbsp; info &#8211; page &#8211; content \/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Pictures \/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; share<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -sh<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -sh displays the file sizes in human-readable format.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -sh<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">total 115M<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4.0K article_images&nbsp; 4.0K Desktop&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.0K eclipse-workspace&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.0K info-page-content. &nbsp; &nbsp; &nbsp; &nbsp; 0 raycast.txt<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">16K assignment&nbsp; &nbsp; &nbsp; &nbsp; 4.0K development&nbsp; 4.0K en &#8211; GB &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.0K info-page-content.zip. &nbsp; 0 sampe_file.txt<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4.0K bin&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.0K Documents &nbsp; &nbsp; 4.0K git&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.0K insta. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.0K sample_assignments&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4.0K bse &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 48K Downloads&nbsp; &nbsp; &nbsp; 115M go1.13.5.linux-amd64.tar.gz&nbsp; 4.0K meeting. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.0K share&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">0 Cloning&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.0K eclipse &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.0K index.php&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 12K Pictures.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 4.0K snap<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -lh<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -lh displays full information about file names in human-readable format.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -sh<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">total 115M&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 3 ubuntu ubuntu&nbsp; &nbsp; &nbsp; 4.0K May 10 14:13 article_images&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 5 ubuntu ubuntu&nbsp; &nbsp; &nbsp; 16K May 31 2022 assignment&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu ubuntu&nbsp; &nbsp; &nbsp; 4.0K Jan 2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 4 ubuntu ubuntu&nbsp; &nbsp; &nbsp; 4.0K May 9 2022 bin 2021 bse&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r . 1 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 0 Jan 2 2022 Cloning<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxr &#8211; xr &#8211; x 12 ubuntu ubuntu&nbsp; &nbsp; 4.0K Jun 29 17:29 Desktop<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 9 ubuntu ubuntu &nbsp; &nbsp; &nbsp; 4.0K Jun 9 16:46 development&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxr &#8211; xr &#8211; x 6 ubuntu ubuntu &nbsp; &nbsp; &nbsp; 4.0K Jun 24 12:06 Documents&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxr &#8211; xr &#8211; x 37 ubuntu ubuntu &nbsp; &nbsp; 44K Jun 29 13:57 Downloads<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 3 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4.0K May 25 12:56 eclipse&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 3 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4.0K May 25 17:49<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 5 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4.0K Jani 9 2022 en &#8211; GB&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 13 ubuntu ubuntu&nbsp; &nbsp; &nbsp; 4.0K Feb 15 20:53 git&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r .. 1 ubuntu ubuntu &nbsp; &nbsp; &nbsp; &nbsp; 115M Dec 5 2021 go1.13.5 linux-and64.tar.gz<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r&#8211; 1 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 19 Mar 24 2022 index.php<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4.0K Apr 12 2022 info-page-content<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r .. 1 ubuntu ubuntu.&nbsp; &nbsp; &nbsp; &nbsp; 3.6K Apr 12 2022 info-page-content.zip&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 3 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4.0K May 31 2022 insta<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4.0K Jun 6 2022 meetings<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 12K Jun 29 17:09&nbsp; Pictures<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -r<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -r display all files in reverse alphabetic order.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:&nbsp;<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -r<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Videos&nbsp; &nbsp; solution-page-content.zip&nbsp; &nbsp; &nbsp; solution-info-content &nbsp; &nbsp; sample_assignments &nbsp; &nbsp; Pictures &nbsp; &nbsp; Info-page-content.zip &nbsp; go1.13.5.1tnux-and64.tar.gz<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">test.txt &nbsp; &nbsp; solution-page-content&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; snap &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sample_file.txt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; meeting.&nbsp; &nbsp; &nbsp; Info-page-content.zip&nbsp; &nbsp; &nbsp; git<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">study &nbsp; &nbsp; &nbsp; solution-info-content.zip&nbsp; &nbsp; &nbsp; &nbsp; share&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; raycast.txt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insta.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Index.php. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; en-GB<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls &#8211;version<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls &#8211;version displays the version of the ls command.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls &#8211;version<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ls (GNU coreutils) 8.30&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Copyright (C) 2020 Free Software Foundation, Inc.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">License GPLv3 +: GNU GPL version 3 or later &lt;https:\/\/gnu.org\/licenses\/gpl.html &gt;.&nbsp;<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">This is free software: you are free to change and redistribute it.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is NO WARRANTY, to the extent permitted by law.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Written by Richard M. Stallman and David Mackenzie.<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -ltr<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -ltr displays a long list of files based on modification date in reverse output order.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -ltr&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">total 117448&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r .. 1 ubuntu ubuntu &nbsp; &nbsp; &nbsp; 120074076 Dec 5 2020 go1.13.5.11nux &#8211; and64.tar.gz&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu ubuntu &nbsp; &nbsp; &nbsp; 4096 Jan 2 2021 bin<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r- . 1 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 0 Jan 2 2021 cloning<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 5 ubuntu ubuntu &nbsp; &nbsp; &nbsp; 4896 Jan 9 en-GB<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxrwx 3 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4896 Feb 9 share<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r&#8211; 1 ubuntu ubuntu &nbsp; &nbsp; &nbsp; &nbsp; 19 Mar 24 index.php<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4896 Apr 10 solution-page-content<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r .. 1 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 10566 Apr 10 solution-page-content.zip<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4896 Apr 12 info-page-content<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r&#8211; 1 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 3616 Apr 12 info-page-content.zip<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4896 Apr 13 solution-info-content<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r .. 1 ubuntu ubuntu &nbsp; &nbsp; &nbsp; &nbsp; 3921 Apr 13 solution-info-content.zip<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 4 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4896 May 9 bse<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 3 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4896 May 31 insta&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 5 ubuntu ubuntu &nbsp; &nbsp; &nbsp; 16384&nbsp; May 31 assignment&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4896&nbsp; Jun 16 meetings&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 4 ubuntu ubuntu&nbsp; &nbsp; &nbsp; &nbsp; 4896 Jun 10 sample_assignments<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 13 ubuntu ubuntu&nbsp; &nbsp; &nbsp; 4896&nbsp; Feb 15 glt<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -t<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -t display files based on modification time &amp; date, i.e.; displays the last edited file first.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -t&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Desktop&nbsp; sample_file.txt&nbsp; &nbsp; &nbsp; eclipse-workspace&nbsp; &nbsp; &nbsp; raycast.txt &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; meetings&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; solution-info-content.zip solution-page-content.zip<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pictures Downloads&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; snap &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; study &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; assignment &nbsp; &nbsp; &nbsp; solution-info-content solution-page-content<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">test.txt Documents&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; eclipse &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; git&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insta &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; info-page-content.zip. &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; index.php<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Videos development&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; article_images &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sample_assignments &nbsp; &nbsp; &nbsp; bse &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; info-page-content.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; share<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -n displays each file&#8217;s User ID and Group ID instead of their names.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">total 117448<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 3 1000 &nbsp; 1000 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5094 &nbsp; May &nbsp; 10 14:13&nbsp; article_images<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 5 1000 &nbsp; 1000 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 17382 May &nbsp; 31 2021&nbsp; assignment<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 1000 &nbsp; 1000 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5094 &nbsp; Jan &nbsp; &nbsp; 2&nbsp; 2021&nbsp; bin&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 4 1000 &nbsp; 1000 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5094 &nbsp; May&nbsp; &nbsp; 9&nbsp; 2021&nbsp; bse<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r- &#8211; 1&nbsp; 1000 &nbsp; 1000&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; Jan &nbsp; &nbsp; 2&nbsp; 2021&nbsp; Cloning<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -m<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -m displays a list of files separated by commas.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -m<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">article_images, assignment, bta, bse, Cloning, Desktop, development, Documents, Downloads, eclipse, eclipse-workspace, en-GB, git, got.13.5.tx-andse.tar.gz, index.php, info-page-content, info-page-content.zip, insta, meetings, Pictures, raycast.txt, sample file.txt, sample_assignments, snap, solution-info-content, solution-info-content.zip, solution-page-content, solution-page-content.zip, study, test.txt, videos<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -g<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;ls -g displays full information about files, such as file name, size, modified date and time, and permissions in long listing format by excluding the owner and group information.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -g<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">total 117448<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 3 ubuntu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5094 &nbsp; May &nbsp; 10 14:13&nbsp; article_images<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 5 ubuntu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 17382 May &nbsp; 31 2021&nbsp; assignment<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 2 ubuntu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5094 &nbsp; Jan &nbsp; &nbsp; 2&nbsp; 2021&nbsp; bin&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">drwxrwxr &#8211; x 4 ubuntu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5094 &nbsp; May&nbsp; &nbsp; 9&nbsp; 2021&nbsp; bse<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-rw &#8211; rw &#8211; r&#8211; 1 ubuntu&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; Jan &nbsp; &nbsp; 2&nbsp; 2021&nbsp; Cloning<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ls -i<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ls -i display the index number of files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">O <sup>\u2192 <\/sup>ls -i<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">402615 article_images&nbsp; 524302 Desktop &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 5646847 eclipse-workspace &nbsp; &nbsp; &nbsp; 399194 info-page-content&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 397164 raycast.txt&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1979577 assignment &nbsp; &nbsp; 2490877 development &nbsp; 397219 en-GB&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 399293 info-page-content.zip &nbsp; &nbsp; 415825 sampe_file.txt<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">791302 bin &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 524307 Documents &nbsp; &nbsp; &nbsp; 2490899 git &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1717357 insta&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1717406 sample_assignments<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1451139 bse&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 524304 Downloads&nbsp; &nbsp; &nbsp; &nbsp; 395750 g01.13.5.linux-amd64.tar.gz &nbsp; &nbsp; &nbsp; 1717467 meeting &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2367133 share<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">395904 Cloning &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 408670 eclipse&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 403227 index.php&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 524309 Pictures &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 397700 snap<\/p>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>cd Command<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The cd command is used to switch, jump, or move into another directory without typing the entire file path. cd means change directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Syntax: cd [Options] [Directory]<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cd command can be customized with many options to differentiate the outcomes. The commonly used options in cd command are the following.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cd \/<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cd \/ is used to switch to the root or parent directory from any other directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~$ cd \/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:\/$ pwd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:\/$<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cd ~<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cd ~ is used to switch back to the home directory from any other directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/documens\/father\/stepfather$ cd ~<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~$ pwd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;\/home\/shibi<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">abhi@linux:~$<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cd ..<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cd .. is used to switch to the previous directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent\/baby directory$ pwd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/home\/abhi\/parent\/baby directory<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent\/baby directory$ cd ..<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent$ pwd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/home\/shibi\/parent<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent$<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cd ..\/..<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cd ..\/.. is used to switch back multiple directories.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent\/baby directory$ cd ..\/..<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent$ pwd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/home\/shibi\/parent<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent$<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cd &#8211;<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cd &#8211; is used to return to previous directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent\/son1\/son2$ pwd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/home\/shibi\/parent\/son1\/son2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent\/son1\/son2$ cd ..\/..<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent$ pwd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/home\/shibi\/parent<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent$ cd &#8211;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/home\/shibi\/parent\/son1\/son2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent\/son1\/son2$ pwd<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/home\/shibi\/parent\/son1\/son2<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent\/son1\/son2$<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cd dir_name<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cd dir_name is used to obtain the relative pathname.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent$ ls<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">son1 &#8216;son directory&#8217;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent$ cd son1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/parent\/son1$<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>pwd command<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The pwd command is used to get the full path name from the root directory to the current directory. pwd means print working directory. The exit statuses of pwd command are zero (success) and non-zero (failure).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Syntax: pwd [option]<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">pwd command can be customized with many options to differentiate the outcomes. The commonly used options in pwd command are the following.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>pwd -L<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">pwd -L displays symbolic links instead of absolute paths.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">shibi@linux: ~ $ cd programs&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux: ~\/~ programs $ pwd -P\/home\/shibi\/~programs<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux: ~\/~ programs $<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>pwd -P<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">pwd -P displays the absolute path of the working directory and avoids symbolic links.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">shibi@linux: ~ $ cd programs&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux: ~\/~ programs$ pwd -P\/home\/shibi\/Linux&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux: ~\/~ programs$<\/p>\n<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>pwd &#8211; &#8211; version<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">pwd &#8211; &#8211; version is used to check the version of the system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">shibi@linux:~$\/bin\/pwd &#8211; -version&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">pwd (GNU coreutils) 8.30&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Copyright (C) 2018 Free Software Foundation, Inc.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">License GPLv3+: GNU GPL version 3 or later &lt;https:\/\/gnu.org\/licenses\/gpl.html&gt;.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is free software: you are free to change and redistribute it.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is NO WARRANTY, to the extent permitted by law.&nbsp;<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Written by Jim Meyering.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~$<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>pwd &#8211; -help<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">pwd &#8211; -help displays the pwd command help file with a list of available options.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux-vm:~$ pwd &#8211; -help&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">pwd: pwd [-LP]&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Print the name of the current working directory.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Options :&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-L&nbsp; print the value of $ PWD if it names the current working directory&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-P&nbsp; print the physical directory, without any symbolic links&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By default, ` pwd &#8216;behaves as if` -L &#8216; were specified.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exit Status: Returns 0 unless an invalid option is given or the current directory cannot be read.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>In Command<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">ln command is used to create soft links and hard links between files in Linux. ln means link. It has three forms. 1st form specifies the source file and destination to be linked. 2nd form specify the source file and directory to be linked. 3rd form specifies the directory name and a file to be linked to the directory.<\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">Syntax: ln [OPTION]&#8230; [-T] TARGET LINK_NAME &nbsp; (1st form)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ln [OPTION]&#8230; TARGET&#8230; DIRECTORY &nbsp; &nbsp; (2nd form)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ln [OPTION]&#8230; -t DIRECTORY TARGET&#8230;&nbsp; (3rd form)<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">ln command can be customized with many options to differentiate the outcomes. The commonly used options in ln command are the following.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ln -v (version)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ln -v displays version details.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">shibi@linux:~$ ln &#8211; -version&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ln (GNU coreutils) 8.30&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Copyright (C) 2018 Free Software Foundation, Inc.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">License GPLv3+: GNU GPL version 3 or later &lt;https:\/\/gnu.org\/licenses\/gpl.html&gt;.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is free software: you are free to change and redistribute it.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is NO WARRANTY, to the extent permitted by law.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Written by Mike Parker and David.<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~$<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ln -v (verbose)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ln -v&nbsp; displays the name of each file linked.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">shibi@linux: ~\/ geekexample$<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">test_dir test_dir1&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/fastexample$&nbsp; echo &#8220;Hello World test 1&#8221; &gt;&gt; exfile2.txt<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/fastexample$&nbsp; echo &#8220;Hello World test 2&#8221; &gt;&gt; exfile2.txt<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/fastexample$&nbsp; echo &#8220;Hello World test 3&#8221; &gt;&gt; exfile2.txt<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/fastexample$&nbsp; ls<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">exfile1.txt&nbsp; exfile2.txt&nbsp; exfile3.txt&nbsp; test_dir&nbsp; test_dir1&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/fastexample$ ln -v&nbsp; exfile1.txt&nbsp; exfile2.txt&nbsp; exfile3.txt&nbsp; test_dir1&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8216;test_dir1\/exfile1.txt&#8217; = &gt; &#8216;exfile1.txt&#8217;<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">&#8216;test_dir1\/exfile2.txt&#8217; = &gt; &#8216;exfile2.txt&#8217;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#8216;test_dir1\/exfile3.txt&#8217; = &gt; &#8216;exfile3.txt&#8217;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/fastexample$<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ln -h (help)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">ln -h displays the ln command help file with a list of details.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/fastexample$ ls&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">exfile1.txt &nbsp; exfile2.txt &nbsp; exfile3.txt &nbsp; test_dir &nbsp; test_dir1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/fastexample$ clear&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/fastexample$ In &#8211; -help&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Usage: In [OPTION]&#8230; [-T] TARGET LINK_NAME.&nbsp; &nbsp; (1st form)&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;or: In [OPTION]&#8230; TARGET &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (2nd form)&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;or: In [OPTION]&#8230; TARGET&#8230; DIRECTORY&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (3rd form)&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;or: In [OPTION]&#8230; -t DIRECTORY TARGET&#8230; &nbsp; &nbsp; &nbsp; (4th form)&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">]In the 1st form, create a link to TARGET with the name LINK_NAME.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the 2nd form, create a link to TARGET in the current directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the 3rd and 4th forms, create links to each TARGET in DIRECTORY.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create hard links by default, symbolic links with &#8211; -symbolic.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">By default, each destination (name of new link) should not already exist.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When creating hard links, each TARGET must exist.&nbsp;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Symbolic links can hold arbitrary text; if later resolved, a relative link is interpreted in relation to its parent directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mandatory arguments to long options are mandatory for short options too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&#8211; -backup[= CONTROL]&nbsp; &nbsp; make a backup of each existing destination file&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-b &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; like &#8211; backup but does not accept an argument&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-d, -f, -directory&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; allow the superuser to attempt to hard link&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;directories (note: will probably fail due to&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;system restrictions, even for the superuser)&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-f, &#8211; &#8211; force&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove existing destination files&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-i , &#8211;interactive&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; prompt whether to remove destinations&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-L , &#8211;logical &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dereference TARGETS that are symbolic links<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-n, &#8211; -no-dereference &nbsp; &nbsp; &nbsp; treat LINK_NAME as a normal file if&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;it is a symbolic link to a directory&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-P, &#8211; -physical&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; make hard links directly to symbolic links<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-r, &#8211; -relative&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; create symbolic links relative to link location&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-s, &#8211; -symbolic&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; make symbolic links instead of hard links&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-S , &#8211; -suffix = SUFFIX &nbsp; &nbsp; override the usual backup suffix<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-t, &#8211; -target-directory=DIRECTORY&nbsp; specify the DIRECTORY in which to create<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;the links<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>mkdir Command<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir command is used to create a new file or directory. mkdir means make directory. You only need to specify the new folder&#8217;s name and verify that it does not already exist. This command is capable of simultaneously creating multiple directories and setting their permissions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Syntax: mkdir [options] [directory name]<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir command can be customized with many options to differentiate the outcomes. The commonly used options in the ln command are the following.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>mkdir &#8211; -version<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir &#8211; -version displays version details.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-4fc3f8e1 wp-block-group-is-layout-flex\">\n<p class=\"wp-block-paragraph\">shibi@linux:~\/GFG $ mkdir &#8211; -version&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir (GNU coreutils) 8.30&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Copyright (C) 2019 Free Software Foundation, Inc.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">License GPLv3+: GNU GPL version 3 or later &lt;https:\/\/gnu.org\/licenses\/gpl.html&gt;.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is free software: you are free to change and redistribute it.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There is NO WARRANTY, to the extent permitted by law.&nbsp;<\/p>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Written by David Makinze.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/GFG $<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>mkdir -v<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir -v displays a message every time a new directory is created.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/GFG $&nbsp; mkdir -v one two three&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir: created directory &#8216;one&#8217;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir: created directory &#8216;two&#8217;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir: created directory &#8216;three&#8217;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/GFG $&nbsp; ls&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">one three two&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/GFG $&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>mkdir -p<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir -p is used to create subdirectories without reporting any error.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/GFG $&nbsp; mkdir -p -v first\/second\/third<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir: created directory &#8216;first&#8217;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir: created directory &#8216;first\/second&#8217;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir: created directory &#8216;first\/second\/third&#8217;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux:~\/GFG $&nbsp; ls&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>mkdir &#8211; -help<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir &#8211; -help displays the mkdir command help file with a list of details.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux: ~\/GFG $&nbsp; mkdir &#8211; -help&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Usage: mkdir [OPTION]&#8230; DIRECTORY&#8230;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create the DIRECTORY (ies), if they do not already exist .&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mandatory arguments to long options are mandatory for short options too.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-m , &#8211; -mode = MODE&nbsp; &nbsp; set file mode (as in chmod), not a=rwx &#8211; umask<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-p , &#8211; -parents&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; no error if existing, make parent directories as needed<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-V , &#8211; -verbose &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print a message for each created directory&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">-Z &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set SELinux security context of each created directory<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;to the default type&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8212; context [=CTX] &nbsp; &nbsp; like -Z , or if CTX is specified then set the SELinux<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;or SMACK security context to CTX&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8211; -help&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; display this help and exit&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8211; -version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; output version information and exit&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">GNU coreutils online help: &lt;http:\/\/www.gnu.org\/software\/coreutils\/&gt;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Full documentation at: &lt;http:\/\/www.gnu.org\/software\/coreutils\/mkdir&gt;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">or available locally via: info &#8216;(coreutils) mkdir invocation&#8217;&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux: ~\/GFG $&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>mkdir -m a=rwx<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">mkdir -m a=rwx is used to set the permission to read, write, and execute on the created directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux: ~\/GFG $&nbsp; mkdir -m a=rwx<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux: ~\/GFG $&nbsp; ls<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1png&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; College<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5555&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; farewell &nbsp; 2022-04-12 &nbsp; 12:45:7png<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">linux.docx.&nbsp; &nbsp; farewell &nbsp; 2022-04-11&nbsp; &nbsp; 12:42:7.png<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">linuxfun.pdf<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shibi@linux: ~\/GFG $<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>rm Command<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The rm command removes objects from the file system, such as directories, files, symbolic links, etc. rm means to remove.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Syntax: rm [options] [file_name]<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">rm command can be customized with many options to differentiate the outcomes. The commonly used options in the rm command are the following.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>rm -r<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">rm -r is used for recursive deletion. It removes all files and subfolders in the directory without asking for confirmation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example<\/strong>: rm -r home\/document\/games<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>rm -f<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">rm -f is used for force deletion. It removes the file forcefully by overriding minor protection. It will not remove write-protect directories.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example<\/strong>: rm -f super.txt<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>rm -i<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">rm -i is used for Interactive deletion. It asks for confirmation from the user before removing each file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example<\/strong>: rm -i super.txt<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>cat Command<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The cat command displays the file&#8217;s contents after reading the data. Cat means concatenate. It is used to create, view, and combine files.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Syntax: cat [options] [file_name]<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cat command can be customized with many options to differentiate the outcomes. The commonly used options in the cat command are the following.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cat -n<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cat-n displays the contents of a file preceding with line numbers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong> cat-n will show the content of a file with a line number.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cat &gt;<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cat &gt; is used to create a file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong> cat &gt; shibi will create a file named shibi.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cat -v<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cat -v displays non-printable characters.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example: <\/strong>cat -v will display non-printable characters.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cat -s<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cat -n suppress the repeated empty line in the content.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example: <\/strong>cat -n will eliminate the repeated empty line.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>cat -E<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">cat -E displays characters at the end of the line highlighted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example:<\/strong> cat -E will highlight the end of the line.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>cp Command<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">cp Command is used to copy folders, files, and directories from one location to another. cp means to copy.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Syntax: cp [options] [source] [destination]<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">cp command can be customized with many options to differentiate the outcomes. The commonly used options in the cp command are -i (interactive), -f (force), -p (preserve), -b (backup), -a (archive), and -n (no overwrite)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>mv Command<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">mv Command is used to move folders, files, and directories from one location to another. It performs two functions, such as moving files and renaming files. mv means to move.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>Syntax: mv [options] [source] [destination]<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">mv command can be customized with many options to differentiate the outcomes. The commonly used options in the cp command are -i (interactive), -f (force), -b (backup), and -n (no overwrite)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">SSH is used for logging in to a shell on a remote host, file listing, creating folders, removing files, setting up automatic logging into a remote server, tunneling sensitive data, securely and efficiently backing up, copying, and mirroring files, forwarding a port, securing file transfer protocols, etc. SSH login credentials and SSH client is required to use SSH. On Linux, a native Terminal app is used for the connection.&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SSH is the short form of Secure Shell or Secure Socket Shell. SSH is an encrypted protocol to connect and communicate between two systems using a secured link over an unsecured network. Tatu Ylonen developed &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Common SSH Commands in Linux With Examples\" class=\"read-more button\" href=\"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/#more-2916\" aria-label=\"More on Common SSH Commands in Linux With Examples\">Read more<\/a><\/p>\n","protected":false},"author":7,"featured_media":2917,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[],"class_list":["post-2916","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"featured_image_src":"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl.jpg","author_info":{"display_name":"Tithi Mukherjee","author_link":"https:\/\/tryrdp.com\/blog\/author\/tithi\/"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Common SSH Commands in Linux With Examples<\/title>\n<meta name=\"description\" content=\"This article will give you a full information about Common SSH Commands in Linux With Examples\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Common SSH Commands in Linux With Examples\" \/>\n<meta property=\"og:description\" content=\"This article will give you a full information about Common SSH Commands in Linux With Examples\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"TryRDP Blog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/profile.php?id=100003803338568\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-17T16:45:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-05-24T06:26:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1312\" \/>\n\t<meta property=\"og:image:height\" content=\"738\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Tithi Mukherjee\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tithi Mukherjee\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"28 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/\"},\"author\":{\"name\":\"Tithi Mukherjee\",\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/#\\\/schema\\\/person\\\/6987ffd35a3b8930dfc6f1ce18128881\"},\"headline\":\"Common SSH Commands in Linux With Examples\",\"datePublished\":\"2023-09-17T16:45:03+00:00\",\"dateModified\":\"2026-05-24T06:26:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/\"},\"wordCount\":5537,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/53113-106400-Linux-xl.jpg\",\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/\",\"url\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/\",\"name\":\"Common SSH Commands in Linux With Examples\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/53113-106400-Linux-xl.jpg\",\"datePublished\":\"2023-09-17T16:45:03+00:00\",\"dateModified\":\"2026-05-24T06:26:37+00:00\",\"description\":\"This article will give you a full information about Common SSH Commands in Linux With Examples\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/53113-106400-Linux-xl.jpg\",\"contentUrl\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/53113-106400-Linux-xl.jpg\",\"width\":1312,\"height\":738,\"caption\":\"Linux SSH Commands\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/common-ssh-commands-in-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Common SSH Commands in Linux With Examples\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/\",\"name\":\"TryRDP Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/#organization\",\"name\":\"TryRDP Blog\",\"url\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/cropped-logolight-1.png\",\"contentUrl\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/cropped-logolight-1.png\",\"width\":300,\"height\":60,\"caption\":\"TryRDP Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/tryrdp.com\\\/blog\\\/#\\\/schema\\\/person\\\/6987ffd35a3b8930dfc6f1ce18128881\",\"name\":\"Tithi Mukherjee\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/23f9430b19f9ee3482116460ac7e06397667bf8203e47007bd2879755eda318c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/23f9430b19f9ee3482116460ac7e06397667bf8203e47007bd2879755eda318c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/23f9430b19f9ee3482116460ac7e06397667bf8203e47007bd2879755eda318c?s=96&d=mm&r=g\",\"caption\":\"Tithi Mukherjee\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/profile.php?id=100003803338568\",\"https:\\\/\\\/www.instagram.com\\\/tithiimukherjee_\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/sulagna-mukherjee-tithi\\\/\",\"https:\\\/\\\/www.youtube.com\\\/@NoobieTechsTithi_mukherjee\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Common SSH Commands in Linux With Examples","description":"This article will give you a full information about Common SSH Commands in Linux With Examples","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/","og_locale":"en_US","og_type":"article","og_title":"Common SSH Commands in Linux With Examples","og_description":"This article will give you a full information about Common SSH Commands in Linux With Examples","og_url":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/","og_site_name":"TryRDP Blog","article_author":"https:\/\/www.facebook.com\/profile.php?id=100003803338568","article_published_time":"2023-09-17T16:45:03+00:00","article_modified_time":"2026-05-24T06:26:37+00:00","og_image":[{"width":1312,"height":738,"url":"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl.jpg","type":"image\/jpeg"}],"author":"Tithi Mukherjee","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tithi Mukherjee","Est. reading time":"28 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/#article","isPartOf":{"@id":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/"},"author":{"name":"Tithi Mukherjee","@id":"https:\/\/tryrdp.com\/blog\/#\/schema\/person\/6987ffd35a3b8930dfc6f1ce18128881"},"headline":"Common SSH Commands in Linux With Examples","datePublished":"2023-09-17T16:45:03+00:00","dateModified":"2026-05-24T06:26:37+00:00","mainEntityOfPage":{"@id":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/"},"wordCount":5537,"commentCount":0,"publisher":{"@id":"https:\/\/tryrdp.com\/blog\/#organization"},"image":{"@id":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl.jpg","articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/","url":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/","name":"Common SSH Commands in Linux With Examples","isPartOf":{"@id":"https:\/\/tryrdp.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/#primaryimage"},"image":{"@id":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl.jpg","datePublished":"2023-09-17T16:45:03+00:00","dateModified":"2026-05-24T06:26:37+00:00","description":"This article will give you a full information about Common SSH Commands in Linux With Examples","breadcrumb":{"@id":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/#primaryimage","url":"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl.jpg","contentUrl":"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2023\/04\/53113-106400-Linux-xl.jpg","width":1312,"height":738,"caption":"Linux SSH Commands"},{"@type":"BreadcrumbList","@id":"https:\/\/tryrdp.com\/blog\/common-ssh-commands-in-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tryrdp.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Common SSH Commands in Linux With Examples"}]},{"@type":"WebSite","@id":"https:\/\/tryrdp.com\/blog\/#website","url":"https:\/\/tryrdp.com\/blog\/","name":"TryRDP Blog","description":"","publisher":{"@id":"https:\/\/tryrdp.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tryrdp.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/tryrdp.com\/blog\/#organization","name":"TryRDP Blog","url":"https:\/\/tryrdp.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tryrdp.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2021\/08\/cropped-logolight-1.png","contentUrl":"https:\/\/tryrdp.com\/blog\/wp-content\/uploads\/2021\/08\/cropped-logolight-1.png","width":300,"height":60,"caption":"TryRDP Blog"},"image":{"@id":"https:\/\/tryrdp.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/tryrdp.com\/blog\/#\/schema\/person\/6987ffd35a3b8930dfc6f1ce18128881","name":"Tithi Mukherjee","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/23f9430b19f9ee3482116460ac7e06397667bf8203e47007bd2879755eda318c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/23f9430b19f9ee3482116460ac7e06397667bf8203e47007bd2879755eda318c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/23f9430b19f9ee3482116460ac7e06397667bf8203e47007bd2879755eda318c?s=96&d=mm&r=g","caption":"Tithi Mukherjee"},"sameAs":["https:\/\/www.facebook.com\/profile.php?id=100003803338568","https:\/\/www.instagram.com\/tithiimukherjee_","https:\/\/www.linkedin.com\/in\/sulagna-mukherjee-tithi\/","https:\/\/www.youtube.com\/@NoobieTechsTithi_mukherjee"]}]}},"_links":{"self":[{"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/posts\/2916","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/comments?post=2916"}],"version-history":[{"count":1,"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/posts\/2916\/revisions"}],"predecessor-version":[{"id":4167,"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/posts\/2916\/revisions\/4167"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/media\/2917"}],"wp:attachment":[{"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/media?parent=2916"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/categories?post=2916"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tryrdp.com\/blog\/wp-json\/wp\/v2\/tags?post=2916"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}