{"id":24173,"date":"2021-05-21T23:11:45","date_gmt":"2021-05-21T15:11:45","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=24173"},"modified":"2021-05-21T17:54:45","modified_gmt":"2021-05-21T09:54:45","slug":"basic-linux-commands","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/","title":{"rendered":"29 Basic Linux Commands For Web Developers"},"content":{"rendered":"<p>Linux distributions support various GUIs (graphical user interfaces) but the old command-line interface (bash) still proves to be <strong>easier and quicker in some situations<\/strong>. Bash and other <a href=\"https:\/\/www.hongkiat.com\/blog\/basic-shell-commands-for-bloggers\/\">Linux shells<\/a> require you to type in commands to complete your tasks, and thus gets named the <a href=\"https:\/\/www.hongkiat.com\/blog\/plain-english-terminal-commands-betty\/\">command line<\/a> interface.<\/p>\n<p>Commands are directives for the computer to carry out a task. You can use commands to shut down your computer, or show a list of files in the current directory or the contents of a text file, or show a message on the screen. They\u2019re easy and powerful at the same time.<\/p>\n<p>If you are new to this and have always wanted to try it out, we\u2019ve compiled a list of various basic Linux commands that you can learn and use for various tasks in several <a href=\"https:\/\/www.hongkiat.com\/blog\/elementary-os-luna\/\">Linux distros<\/a>. The list is not exhaustive but it should make for a good start for beginners or intermediate Linux users or administrators.<\/p>\n<div class=\"ref-block ref-block--post\" id=\"ref-post-1\">\n\t\t\t\t\t<a href=\"https:\/\/www.hongkiat.com\/blog\/developers-command-line\/\" class=\"ref-block__link\" title=\"Read More: Why All Developers Should Learn Command Line\" rel=\"bookmark\"><span class=\"screen-reader-text\">Why All Developers Should Learn Command Line<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/developers-command-line.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-25480 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/developers-command-line.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">Why All Developers Should Learn Command Line<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tSome developers cringe at the mere thought of opening a terminal window. For the uninitiated it can be...\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>\n<h2>ls \u2013 List<\/h2>\n<p><code>ls<\/code> lists the contents (files and folders) of the current working directory. It\u2019s the same as you opening a folder in file explorer to see its contents in GUI.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/1-ls.jpg\" width=\"514\" height=\"127\" alt=\"linux commands\"><\/figure>\n<h2>mkdir \u2013 Make Directory<\/h2>\n<p><code>mkdir &lt;new-directory-name&gt;<\/code> makes (or creates) a new directory. It\u2019s the same as you using the context menu\u2019s \u2018new\/create directory\u2019 option to create a new folder (or directory) using file explorer in GUI.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/2-mkdir.jpg\" width=\"365\" height=\"130\" alt=\"linux commands\"><\/figure>\n<h2>pwd \u2013 Print Working Directory<\/h2>\n<p><code>pwd<\/code> prints the current working directory.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/3-pwd.jpg\" width=\"250\" height=\"83\" alt=\"linux commands\"><\/figure>\n<h2>cd \u2013 Change Directory<\/h2>\n<p><code>cd &lt;directory&gt;<\/code><strong> <\/strong>sets the given folder (or directory) as the current working directory for the current running session of the terminal (or bash). It\u2019s the same as you opening a directory to do some operations using file explorer in GUI.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/4-cd.jpg\" width=\"512\" height=\"141\" alt=\"linux commands\"><\/figure>\n<h2>rmdir \u2013 Remove Directory<\/h2>\n<p><code>rmdir &lt;directory-name&gt;<\/code> removes (or deletes) the given directory.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/5-rmdir.jpg\" width=\"366\" height=\"132\" alt=\"linux commands\"><\/figure>\n<h2>rm \u2013 Remove<\/h2>\n<p><code>rm &lt;file-name&gt;<\/code> removes the given file or folder. You can use <code> rm -r &lt;directory-name&gt; <\/code> to delete folders recursively.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/6-rm.jpg\" width=\"412\" height=\"130\" alt=\"linux commands\"><\/figure>\n<h2>cp \u2013 Copy<\/h2>\n<p><code>cp &lt;source-file&gt; &lt;destination-file&gt;<\/code> copies the file or folder from one location to another location. You can use its <code>cp -r &lt;source-folder&gt; &lt;destination-folder&gt;<\/code> option to copy folders recursively.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/7-cp.jpg\" width=\"621\" height=\"165\" alt=\"linux commands\"><\/figure>\n<h2>mv \u2013 MoVe<\/h2>\n<p><code>mv &lt;source&gt; &lt;destination&gt;<\/code> moves a file or folder from one location to another location. It can also act to rename the file or folder if the file or folder is in the current working directory but the file or folder has a new name.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/8-mv.jpg\" width=\"516\" height=\"215\" alt=\"linux commands\"><\/figure>\n<h2>cat \u2013 concatenate and print files<\/h2>\n<p><code>cat &lt;file&gt;<\/code> concatenates and prints files on the standard output (i.e., the monitor or computer\u2019s screen). It\u2019s the same as you viewing contents of text files using text viewer or editor in GUI.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/9-cat.jpg\" width=\"464\" height=\"197\" alt=\"linux commands\"><\/figure>\n<h2>tail \u2013 print TAIL (from last)<\/h2>\n<p><code>tail &lt;file-name&gt;<\/code> prints the last 10 lines (by default) of the given file on the standard output (i.e., the computer\u2019s screen or monitor). You can use <code>tail -n N &lt;file-name&gt;<\/code> to dictate the last N number of lines to print on the screen.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/10-tail.jpg\" width=\"379\" height=\"480\" alt=\"linux commands\"><\/figure>\n<h2>less \u2013 print LESS<\/h2>\n<p><code>less &lt;file-name&gt;<\/code> prints the given file page by page (or window by window). It\u2019s useful and efficient for viewing large files containing lots of textual data that won\u2019t fit on the screen. You can press<strong> Ctrl+F <\/strong>to go forward and <strong>Ctrl+B <\/strong>to go backward by one page. It\u2019s the same as you viewing the contents of a text file in a text viewer or editor and reading the file page by page in GUI.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/11-less.jpg\" width=\"517\" height=\"150\" alt=\"linux commands\"><\/figure>\n<h2>grep<\/h2>\n<p><code>grep \"&lt;string&gt;\" &lt;file-name&gt;<\/code> searches for a given string in a given file. You can use <code>grep -i \"&lt;string&gt;\" &lt;file-name&gt;<\/code> to make a case-insensitive search and <code>grep -r \"&lt;string&gt;\"<\/code> <code>&lt;file-name&gt;<\/code> to search for the given string in all files recursively in the current working directory.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/12-grep.jpg\" width=\"428\" height=\"320\" alt=\"linux commands\"><\/figure>\n<h2>find<\/h2>\n<p>This command searches for <strong>files matching specified criteria<\/strong> in the given location. You can use <code> find &lt;folder-to-search&gt; -name &lt;file-name&gt;<\/code> its <strong>\u2018-name\u2019<\/strong> option to make a case sensitive search and <code> find &lt;folder-to-search&gt; -iname &lt;file-name&gt;<\/code> to make a case-insensitive search for files with the given file names.<\/p>\n<pre>\r\n find &lt;folder-to-search&gt; -iname &lt;file-name&gt;<\/pre>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/13-find.jpg\" width=\"451\" height=\"131\" alt=\"linux commands\"><\/figure>\n<h2>tar<\/h2>\n<p>This command creates, views and extracts tar archives. You can use <code>tar -cvf &lt;archive-name.tar&gt; &lt;file1-OR-file2-OR-both-to-archive&gt;<\/code> to create,<code>tar -tvf &lt;archive-to-view.tar&gt;<\/code> to view and <code>tar -xvf &lt;archive-to-extract.tar&gt;<\/code> to extract tar archives.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/14-tar.jpg\" width=\"565\" height=\"267\" alt=\"linux commands\"><\/figure>\n<h2>gzip<\/h2>\n<p><code>gzip &lt;filename&gt;<\/code> creates and extracts gzip archives. You can use its <code>gzip -d &lt;filename&gt;<\/code> to extract gzip archives.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/15-gzip.jpg\" width=\"587\" height=\"214\" alt=\"linux commands\"><\/figure>\n<h2>unzip<\/h2>\n<p><code>unzip &lt;archive-to-extract.zip&gt;<\/code> unzips a given zip archive. You can use <code>unzip -l &lt;archive-to-extract.zip&gt;<\/code> to view the contents of the zip file without extracting it. It\u2019s the same as you using an archive program to extract zip archives in GUI.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/16-unzip.jpg\" width=\"552\" height=\"334\" alt=\"linux commands\"><\/figure>\n<h2>help<\/h2>\n<p><code>&lt;command-name&gt; --help<\/code> lists all the available commands in the terminal. You can use \u2018-h\u2019 or \u2018\u2013help\u2019 (help has two hyphens here) option with any command to get help for that specific command.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/17-help.jpg\" width=\"583\" height=\"693\" alt=\"linux commands\"><\/figure>\n<h2>whatis \u2013 What is this command<\/h2>\n<p><code>whatis &lt;command-name&gt;<\/code> shows a single-line description for the given command.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/18-whatis.jpg\" width=\"653\" height=\"115\" alt=\"linux commands\"><\/figure>\n<h2>man \u2013 Manual<\/h2>\n<p><code>man &lt;command-name&gt;<\/code> shows the manual page for the given command.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/19-man.jpg\" width=\"651\" height=\"409\" alt=\"linux commands\"><\/figure>\n<h2>exit<\/h2>\n<p><code>exit<\/code> ends the current terminal (bash) session. It\u2019s the same as you clicking on the close button in the title bar of any application to close that application in GUI.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/20-exit.jpg\" width=\"607\" height=\"147\" alt=\"linux commands\"><\/figure>\n<h2>ping<\/h2>\n<p><code>ping &lt;remote-host-address&gt;<\/code> pings a remote host (server) by sending ping packets. It can be used to check for network connectivity or the status (up and running or otherwise) of a server. It\u2019s the same as you pinging a host using the network manager in GUI.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/21-ping.jpg\" width=\"661\" height=\"400\" alt=\"linux commands\"><\/figure>\n<h2>who \u2013 Who Is logged in<\/h2>\n<p><code>who<\/code> shows the list of currently logged in users.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/22-who.jpg\" width=\"387\" height=\"201\" alt=\"linux commands\"><\/figure>\n<h2>su \u2013 Switch User<\/h2>\n<p><code>su &lt;username&gt;<\/code> switches to a different user. Super user (root) can switch to any other user in the terminal even without using their password.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/23-su.jpg\" width=\"353\" height=\"82\" alt=\"linux commands\"><\/figure>\n<h2>uname<\/h2>\n<p><code>uname<\/code> shows important information about your system such as kernel name, host name, kernel release number, processor type and various others. You can use <code>uname -a<\/code> to view all information.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/24-uname.jpg\" width=\"663\" height=\"130\" alt=\"linux commands\"><\/figure>\n<h2>free \u2013 Free memory<\/h2>\n<p><code>free<\/code> shows information about the free, used, swap memory available (or currently free) in your system. You can use <code>free -m<\/code> to view memory in KBs and <code>free \u00e2\u20ac\u201cg<\/code> to view memory in GBs.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/25-free.jpg\" width=\"610\" height=\"133\" alt=\"linux commands\"><\/figure>\n<h2>df \u2013 Disk space Free<\/h2>\n<p><code>df<\/code> shows information about the file system\u2019s disk space usages \u2013 used and available storage space on your hard disk and other storage devices. You can use <code>df -h<\/code> to view the space usages in human readable form (i.e. memory in GBs).<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/26-df.jpg\" width=\"565\" height=\"261\" alt=\"linux commands\"><\/figure>\n<h2>ps \u2013 ProcesseS<\/h2>\n<p><code> ps<\/code> displays information about the running processes of the system.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/27-ps.jpg\" width=\"338\" height=\"128\" alt=\"linux commands\"><\/figure>\n<h2>Top \u2013 TOP processes<\/h2>\n<p><code>top<\/code> shows information about the top processes in the system (sorted by CPU usage by default). You can use <code>top -u &lt;username&gt;<\/code> to view the top processes of a single user. It\u2019s the same as you viewing the list of the most resource-hungry running processes using some task manager in GUI.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/28-top.jpg\" width=\"650\" height=\"410\" alt=\"linux commands\"><\/figure>\n<h2>shutdown<\/h2>\n<p><code>shutdown<\/code> shuts down your computer. You can use <code>shutdown -r<\/code> to restart your computer.<\/p>\n<p>Did you use or practice some of these commands? Do you know any other useful Linux command for beginners? Kindly let us know using the comments section.<\/p>\n<div class=\"ref-block ref-block--post\" id=\"ref-post-2\">\n\t\t\t\t\t<a href=\"https:\/\/www.hongkiat.com\/blog\/linux-commands-to-avoid\/\" class=\"ref-block__link\" title=\"Read More: 9 Dangerous Linux Commands You Should Avoid\" rel=\"bookmark\"><span class=\"screen-reader-text\">9 Dangerous Linux Commands You Should Avoid<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/linux-commands-to-avoid.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-22276 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/linux-commands-to-avoid.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">9 Dangerous Linux Commands You Should Avoid<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tLinux power users, beware of these commands that can wreak havoc.\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Linux distributions support various GUIs (graphical user interfaces) but the old command-line interface (bash) still proves to be easier and quicker in some situations. Bash and other Linux shells require you to type in commands to complete your tasks, and thus gets named the command line interface. Commands are directives for the computer to carry&hellip;<\/p>\n","protected":false},"author":120,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[3397],"tags":[3053,888,3316],"topic":[4521],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>29 Basic Linux Commands For Web Developers - Hongkiat<\/title>\n<meta name=\"description\" content=\"Linux distributions support various GUIs (graphical user interfaces) but the old command-line interface (bash) still proves to be easier and quicker in\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"29 Basic Linux Commands For Web Developers\" \/>\n<meta property=\"og:description\" content=\"Linux distributions support various GUIs (graphical user interfaces) but the old command-line interface (bash) still proves to be easier and quicker in\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-21T15:11:45+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/1-ls.jpg\" \/>\n<meta name=\"author\" content=\"Ashutosh KS\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ashutosh KS\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/\"},\"author\":{\"name\":\"Ashutosh KS\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/0c0611010da9a578caa32a34232cf7bd\"},\"headline\":\"29 Basic Linux Commands For Web Developers\",\"datePublished\":\"2021-05-21T15:11:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/\"},\"wordCount\":1059,\"commentCount\":23,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/basic-linux-commands\\\/1-ls.jpg\",\"keywords\":[\"Command Line\",\"Linux\",\"Linux Commands\"],\"articleSection\":[\"Desktop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/\",\"name\":\"29 Basic Linux Commands For Web Developers - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/basic-linux-commands\\\/1-ls.jpg\",\"datePublished\":\"2021-05-21T15:11:45+00:00\",\"description\":\"Linux distributions support various GUIs (graphical user interfaces) but the old command-line interface (bash) still proves to be easier and quicker in\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/basic-linux-commands\\\/1-ls.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/basic-linux-commands\\\/1-ls.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/basic-linux-commands\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"29 Basic Linux Commands For Web Developers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/0c0611010da9a578caa32a34232cf7bd\",\"name\":\"Ashutosh KS\",\"description\":\"Ashutosh is a writer, entrepreneur, and a tech evangelist with expertise in the area of Computer Programming.\",\"sameAs\":[\"https:\\\/\\\/www.hongkiat.com\\\/\"],\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/ashutosh_ks\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"29 Basic Linux Commands For Web Developers - Hongkiat","description":"Linux distributions support various GUIs (graphical user interfaces) but the old command-line interface (bash) still proves to be easier and quicker in","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:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/","og_locale":"en_US","og_type":"article","og_title":"29 Basic Linux Commands For Web Developers","og_description":"Linux distributions support various GUIs (graphical user interfaces) but the old command-line interface (bash) still proves to be easier and quicker in","og_url":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2021-05-21T15:11:45+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/1-ls.jpg","type":"","width":"","height":""}],"author":"Ashutosh KS","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Ashutosh KS","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/"},"author":{"name":"Ashutosh KS","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/0c0611010da9a578caa32a34232cf7bd"},"headline":"29 Basic Linux Commands For Web Developers","datePublished":"2021-05-21T15:11:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/"},"wordCount":1059,"commentCount":23,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/1-ls.jpg","keywords":["Command Line","Linux","Linux Commands"],"articleSection":["Desktop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/","url":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/","name":"29 Basic Linux Commands For Web Developers - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/1-ls.jpg","datePublished":"2021-05-21T15:11:45+00:00","description":"Linux distributions support various GUIs (graphical user interfaces) but the old command-line interface (bash) still proves to be easier and quicker in","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/1-ls.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/basic-linux-commands\/1-ls.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/basic-linux-commands\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"29 Basic Linux Commands For Web Developers"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/0c0611010da9a578caa32a34232cf7bd","name":"Ashutosh KS","description":"Ashutosh is a writer, entrepreneur, and a tech evangelist with expertise in the area of Computer Programming.","sameAs":["https:\/\/www.hongkiat.com\/"],"url":"https:\/\/www.hongkiat.com\/blog\/author\/ashutosh_ks\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-6hT","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/24173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/120"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=24173"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/24173\/revisions"}],"predecessor-version":[{"id":55200,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/24173\/revisions\/55200"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=24173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=24173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=24173"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=24173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}