{"id":3461,"date":"2024-03-12T08:39:41","date_gmt":"2024-03-12T12:39:41","guid":{"rendered":"https:\/\/bobtimetech.net\/?page_id=3461"},"modified":"2024-05-02T08:41:02","modified_gmt":"2024-05-02T12:41:02","slug":"linux-commands","status":"publish","type":"page","link":"https:\/\/bobtimetech.net\/index.php\/my-account\/linux-commands\/","title":{"rendered":"Linux Commands"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Linux Commands<\/h2>\n\n\n\n<p><br><strong><span style=\"text-decoration: underline;\">What are Linux commands?<\/span><\/strong> Linux commands are instructions given to a Linux operating system through a command-line interface (CLI) or terminal. They are used to perform various tasks, such as managing files and directories, configuring system settings, executing programs, and interacting with the system. Linux commands typically consist of a command name followed by options or arguments that specify how the command should behave or what it should operate on.<\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div id=\"wp-block-themeisle-blocks-advanced-columns-bfd46f17\" class=\"wp-block-themeisle-blocks-advanced-columns has-1-columns has-desktop-equal-layout has-tablet-equal-layout has-mobile-equal-layout has-vertical-unset\"><div class=\"wp-block-themeisle-blocks-advanced-columns-overlay\"><\/div><div class=\"innerblocks-wrap\">\n<div id=\"wp-block-themeisle-blocks-advanced-column-54f1ed10\" class=\"wp-block-themeisle-blocks-advanced-column\">\n<h2 class=\"wp-block-heading\">What is Linux?<\/h2>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><strong><span style=\"text-decoration: underline;\">What is Linux?<\/span><\/strong> Linux is like a really sturdy and versatile toolbox for your computer. It&#8217;s free to use and has been built and improved upon by lots of people over the years. One cool thing about Linux is how you can talk to it directly using text commands. These commands are like giving your computer simple instructions, such as copying files, installing software, or even just navigating through folders. Instead of clicking around with a mouse, you type in what you want to do, and Linux gets it done. It&#8217;s kind of like speaking a secret language to your computer, but once you get the hang of it, you can do a lot of powerful stuff!<\/p>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<div class=\"wp-block-group has-black-color has-text-color has-link-color has-small-font-size wp-elements-c86023b596cd57e8fca4b3314ef1bf67 is-vertical is-content-justification-center is-layout-flex wp-container-core-group-is-layout-ce155fab wp-block-group-is-layout-flex\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" width=\"1024\" height=\"853\" data-attachment-id=\"3466\" data-permalink=\"https:\/\/bobtimetech.net\/index.php\/my-account\/linux-commands\/linux-154766_1920\/\" data-orig-file=\"https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/linux-154766_1920.png\" data-orig-size=\"1920,1600\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"linux-154766_1920\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;Image by &lt;a href=&quot;https:\/\/pixabay.com\/users\/openclipart-vectors-30363\/?utm_source=link-attribution&amp;#038;utm_medium=referral&amp;#038;utm_campaign=image&amp;#038;utm_content=154766&quot;&gt;OpenClipart-Vectors&lt;\/a&gt; from &lt;a href=&quot;https:\/\/pixabay.com\/\/?utm_source=link-attribution&amp;#038;utm_medium=referral&amp;#038;utm_campaign=image&amp;#038;utm_content=154766&quot;&gt;Pixabay&lt;\/a&gt;&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/linux-154766_1920-300x250.png\" data-large-file=\"https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/linux-154766_1920-1024x853.png\" src=\"https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/linux-154766_1920-1024x853.png\" alt=\"\" class=\"wp-image-3466\" style=\"width:376px;height:auto\" srcset=\"https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/linux-154766_1920-1024x853.png 1024w, https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/linux-154766_1920-300x250.png 300w, https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/linux-154766_1920-768x640.png 768w, https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/linux-154766_1920-1536x1280.png 1536w, https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/linux-154766_1920.png 1920w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Image by <a href=\"https:\/\/pixabay.com\/users\/openclipart-vectors-30363\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=154766\" target=\"_blank\" rel=\"noopener\" title=\"\">OpenClipart-Vectors<\/a> from <a href=\"https:\/\/pixabay.com\/\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=154766\" target=\"_blank\" rel=\"noopener\" title=\"\">Pixabay<\/a><\/figcaption><\/figure>\n<\/div><\/div>\n<\/div>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group has-black-color has-header-gradient-background-color has-text-color has-background has-link-color wp-elements-bc7da7333ba9339e5f550cddae745bc7\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div id=\"wp-block-themeisle-blocks-tabs-121dbec0\" class=\"wp-block-themeisle-blocks-tabs\"><div class=\"wp-block-themeisle-blocks-tabs__content\">\n<div data-title=\"<strong&gt;help<\/strong&gt;\" class=\"wp-block-themeisle-blocks-tabs-item\"><div class=\"wp-block-themeisle-blocks-tabs-item__header\" tabindex=\"0\"><strong>help<\/strong><\/div><div class=\"wp-block-themeisle-blocks-tabs-item__content\">\n<p>GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)<br>These shell commands are defined internally. <\/p>\n\n\n\n<p>Type help help to display info about built in commands.<\/p>\n\n\n\n<p>Type <code><span class=\"highlight\">help<\/span>' to see list. <\/code><\/p>\n\n\n\n<p>Type <span class=\"highlight\">man &#8211;help<\/span><\/p>\n\n\n\n<p>Type <span class=\"highlight\">man &#8211;usage<\/span><\/p>\n\n\n\n<p>Type <span class=\"highlight\">info<\/span> linuxCommand*   &#8211; brings up defined information on the linuxCommand* entered. <\/p>\n\n\n\n<p class=\"has-small-font-size\">(*Note  replace linuxCommand with the actual Linux Command.)<\/p>\n<\/div><\/div>\n\n\n\n<div data-title=\"(blank_1)\" class=\"wp-block-themeisle-blocks-tabs-item\"><div class=\"wp-block-themeisle-blocks-tabs-item__header\" tabindex=\"0\">(blank_1)<\/div><div class=\"wp-block-themeisle-blocks-tabs-item__content\">\n<p>under construction<\/p>\n<\/div><\/div>\n\n\n\n<div data-title=\"(blank_2)\" class=\"wp-block-themeisle-blocks-tabs-item\"><div class=\"wp-block-themeisle-blocks-tabs-item__header\" tabindex=\"0\">(blank_2)<\/div><div class=\"wp-block-themeisle-blocks-tabs-item__content\">\n<p>under construction<\/p>\n<\/div><\/div>\n<\/div><\/div>\n<\/div><\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Linux Commands and Descriptions:<\/h2>\n\n\n\n<div class=\"wp-block-group is-vertical is-content-justification-center is-layout-flex wp-container-core-group-is-layout-ce155fab wp-block-group-is-layout-flex\">\n<p class=\"has-text-align-left has-large-font-size\"><strong><span class=\"highlight\">df:<\/span><\/strong> Display free disk space.<br><strong><span class=\"highlight\">ps: <\/span><\/strong>List processes.<br><strong><span class=\"highlight\">ping:<\/span><\/strong> Send ICMP ECHO_REQUEST to network hosts.<br><strong><span class=\"highlight\">ls:<\/span><\/strong> List files and directories.<br><strong><span class=\"highlight\">nano:<\/span><\/strong> Text editor in the terminal.<br><strong><span class=\"highlight\">wget:<\/span><\/strong> Download files from the internet.<br><strong><span class=\"highlight\">ifconfig:<\/span><\/strong> Configure network interfaces.<br><strong><span class=\"highlight\">echo:<\/span><\/strong> Print text to the terminal.<br><strong><span class=\"highlight\">traceroute:<\/span><\/strong> Print the route packets take to a network host.<br><strong><span class=\"highlight\">fdisk:<\/span><\/strong> Partition table manipulator for Linux.<br><strong><span class=\"highlight\">head:<\/span><\/strong> Display the beginning of a file.<br><span class=\"highlight\"><strong>du: <\/strong><\/span>Estimate file space usage.<br><strong><span class=\"highlight\">sed:<\/span><\/strong> Stream editor for text.<br><strong><span class=\"highlight\">top:<\/span><\/strong> Display system resource usage.<br><strong><span class=\"highlight\">find:<\/span><\/strong> Search for files and directories.<br><strong><span class=\"highlight\">cat:<\/span><\/strong> Display the contents of a file.<br><strong><span class=\"highlight\">chmod: <\/span><\/strong>Change file permissions.<br><strong><span class=\"highlight\">free:<\/span><\/strong> Display amount of free and used memory in the system.<br><strong><span class=\"highlight\">mkdir:<\/span><\/strong> Create a new directory.<br><strong><span class=\"highlight\">lsblk:<\/span><\/strong> List block devices.<br><strong><span class=\"highlight\">umount:<\/span><\/strong> Unmount a file system.<br><strong><span class=\"highlight\">ss:<\/span><\/strong> Utility to investigate sockets.<br><strong><span class=\"highlight\">cd:<\/span><\/strong> Change the current directory.<br><strong><span class=\"highlight\">tar:<\/span><\/strong> Archive files and directories.<br><strong><span class=\"highlight\">chown:<\/span><\/strong> Change file owner and group.<br><strong><span class=\"highlight\">grep: <\/span><\/strong>Search for patterns in files.<br><strong><span class=\"highlight\">tail:<\/span><\/strong> Display the end of a file.<br><strong><span class=\"highlight\">ip:<\/span><\/strong> Show \/ manipulate routing, devices, policy routing and tunnels.<br><strong><span class=\"highlight\">mv:<\/span><\/strong> Move or rename files or directories.<br><strong><span class=\"highlight\">touch:<\/span><\/strong> Create an empty file.<br><strong><span class=\"highlight\">kill:<\/span><\/strong> Terminate a process.<br><strong><span class=\"highlight\">cp:<\/span><\/strong> Copy files or directories.<br><strong><span class=\"highlight\">mount:<\/span><\/strong> Mount a file system.<br><strong><span class=\"highlight\">netstat:<\/span><\/strong> Display network connections, routing tables, interface statistics, masquerade connections, and multicast memberships.<br><strong><span class=\"highlight\">uptime:<\/span><\/strong> Display system uptime.<br><strong><span class=\"highlight\">route:<\/span><\/strong> Show and manipulate IP routing table.<br><strong><span class=\"highlight\">awk:<\/span><\/strong> Pattern scanning and processing language.<br><strong><span class=\"highlight\">rm:<\/span><\/strong> Remove files or directories.<br><strong><span class=\"highlight\">pwd:<\/span><\/strong> Print the current working directory.<\/p>\n<\/div>\n\n\n\n<div style=\"height:31px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group has-header-gradient-background-color has-background\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div style=\"height:23px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n\n\n\n<p><strong><span class=\"highlight\">GitHub &#8211; Learning Linux Commands Game (IDE Intellij IDEA<\/span><span class=\"highlight\"> <\/span><span class=\"highlight\">\/ Java 11 \/ JDK 11).<\/span><\/strong><\/p>\n\n\n\n<div class=\"wp-block-group has-background has-small-font-size is-vertical is-content-justification-center is-layout-flex wp-container-core-group-is-layout-ce155fab wp-block-group-is-layout-flex\" style=\"background:linear-gradient(135deg,rgb(238,238,238) 16%,rgb(169,184,195) 100%)\">\n<div class=\"wp-block-columns are-vertically-aligned-center has-white-color has-text-color has-link-color has-small-font-size wp-elements-be888a7f92787da6939a2afd9236022b is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66%\"><div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img decoding=\"async\" width=\"640\" height=\"640\" data-attachment-id=\"3489\" data-permalink=\"https:\/\/bobtimetech.net\/index.php\/my-account\/linux-commands\/github-154769_640\/\" data-orig-file=\"https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/github-154769_640.png\" data-orig-size=\"640,640\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"github-154769_640\" data-image-description=\"&lt;p&gt;Image by &lt;a href=&quot;https:\/\/pixabay.com\/users\/openclipart-vectors-30363\/?utm_source=link-attribution&amp;#038;utm_medium=referral&amp;#038;utm_campaign=image&amp;#038;utm_content=154769&quot;&gt;OpenClipart-Vectors&lt;\/a&gt; from &lt;a href=&quot;https:\/\/pixabay.com\/\/?utm_source=link-attribution&amp;#038;utm_medium=referral&amp;#038;utm_campaign=image&amp;#038;utm_content=154769&quot;&gt;Pixabay&lt;\/a&gt;&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Image by &lt;a href=&quot;https:\/\/pixabay.com\/users\/openclipart-vectors-30363\/?utm_source=link-attribution&amp;#038;utm_medium=referral&amp;#038;utm_campaign=image&amp;#038;utm_content=154769&quot;&gt;OpenClipart-Vectors&lt;\/a&gt; from &lt;a href=&quot;https:\/\/pixabay.com\/\/?utm_source=link-attribution&amp;#038;utm_medium=referral&amp;#038;utm_campaign=image&amp;#038;utm_content=154769&quot;&gt;Pixabay&lt;\/a&gt;&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/github-154769_640-300x300.png\" data-large-file=\"https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/github-154769_640.png\" src=\"https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/github-154769_640.png\" alt=\"Image by OpenClipart-Vectors from Pixabay\" class=\"wp-image-3489\" style=\"width:179px;height:auto\" srcset=\"https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/github-154769_640.png 640w, https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/github-154769_640-300x300.png 300w, https:\/\/bobtimetech.net\/wp-content\/uploads\/2024\/03\/github-154769_640-150x150.png 150w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"has-text-align-center has-black-background-color has-background has-small-font-size\">Image by <a href=\"https:\/\/pixabay.com\/users\/openclipart-vectors-30363\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=154769\" target=\"_blank\" rel=\"noopener\" title=\"\">OpenClipart-Vectors<\/a> from <a href=\"https:\/\/pixabay.com\/\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=154769\" target=\"_blank\" rel=\"noopener\" title=\"\">Pixabay<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<p class=\"has-text-align-center has-medium-font-size\"><a href=\"https:\/\/github.com\/Bob-Time-Tech\/LinuxCommandGame\" target=\"_blank\" rel=\"noopener\" title=\"\">https:\/\/github.com\/Bob-Time-Tech\/LinuxCommandGame<\/a><\/p>\n\n\n\n<div style=\"height:14px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group has-header-gradient-background-color has-background\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div style=\"height:23px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n<\/div><\/div>\n\n\n\n<p><strong><span class=\"highlight\">More Linux Commands Resources:<\/span><\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/ubuntu.com\/tutorials\/command-line-for-beginners#1-overview\" target=\"_blank\" rel=\"noopener\" title=\"\">The Linux Command Line for Beginner<\/a>s by Ubuntu<\/p>\n\n\n\n<p><a href=\"https:\/\/www.hostinger.com\/tutorials\/linux-commands\" target=\"_blank\" rel=\"noopener\" title=\"\">60 Essential Linux Commands + Free Cheat Sheet<\/a> by <a href=\"https:\/\/hostinger.com?REFERRALCODE=1ROBERT226\" target=\"_blank\" rel=\"noopener\" title=\"\">Hostinger<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/www.geeksforgeeks.org\/linux-commands-cheat-sheet\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Linux Commands Cheat Sheet<\/a> by <a href=\"https:\/\/www.geeksforgeeks.org\/\" target=\"_blank\" rel=\"noopener\" title=\"\">geeksforgeeks.org<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/cheatography.com\/davechild\/cheat-sheets\/linux-command-line\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Linux Command Line Cheat Sheet by DaveChild<\/a><\/p>\n\n\n\n<div style=\"height:243px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Linux Commands What are Linux commands? Linux commands are instructions given to a Linux operating system through a command-line interface (CLI) or terminal. They are used to perform various tasks, such as managing files and directories, configuring system settings, executing programs, and interacting with the system. Linux commands typically consist [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":8,"menu_order":16,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_themeisle_gutenberg_block_has_review":false,"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-3461","page","type-page","status-publish","hentry"],"aioseo_notices":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bobtimetech.net\/index.php\/wp-json\/wp\/v2\/pages\/3461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bobtimetech.net\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bobtimetech.net\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bobtimetech.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bobtimetech.net\/index.php\/wp-json\/wp\/v2\/comments?post=3461"}],"version-history":[{"count":0,"href":"https:\/\/bobtimetech.net\/index.php\/wp-json\/wp\/v2\/pages\/3461\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/bobtimetech.net\/index.php\/wp-json\/wp\/v2\/pages\/8"}],"wp:attachment":[{"href":"https:\/\/bobtimetech.net\/index.php\/wp-json\/wp\/v2\/media?parent=3461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}