{"id":3557,"date":"2020-04-16T07:03:32","date_gmt":"2020-04-16T07:03:32","guid":{"rendered":"https:\/\/cloudminister.com\/?p=3557"},"modified":"2020-04-16T07:03:32","modified_gmt":"2020-04-16T07:03:32","slug":"linux-unix-basic-commands-for-beginners","status":"publish","type":"post","link":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/","title":{"rendered":"Linux \/ Unix basic commands for beginners"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"3557\" class=\"elementor elementor-3557\">\n\t\t\t\t\t\t<section class=\"no-position  elementor-section elementor-top-section elementor-element elementor-element-4b1343c7 elementor-section-boxed elementor-section-height-default elementor-section-height-default gsap-move-no rs-tween_max_btn-no\" data-id=\"4b1343c7\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1b0b0cd gsap-move-no rs-tween_max_btn-no\" data-id=\"1b0b0cd\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1e4a4435 gsap-move-no rs-tween_max_btn-no elementor-widget elementor-widget-text-editor\" data-id=\"1e4a4435\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h1 style=\"text-align: center;\">Linux\/Unix<\/h1>\n<p dir=\"ltr\" style=\"text-align: left;\">Linux is a clone of Unix operating system, it is a multi-user operating system, which can be accessed by many users at a time.<\/p>\n<h1 style=\"text-align: center;\">Linux Server Management<\/h1>\n<p dir=\"ltr\" style=\"text-align: left;\"><a href=\"https:\/\/cloudminister.com\/server-management\/\">Linux server management service<\/a> is a cost-effective mixture for the application-based server. Essential applications deployed on Linux servers need the right management solutions or tools. Large enterprises and end-users require robust Linux servers to manage applications for their business.<\/p>\n<p dir=\"ltr\">In this tutorial, you will learn the very basic Linux commands that will help you to get more familiar with the Linux command line. This will also help you to sharpen the commands line in Linux as well as also help you in enhancing your capability of getting an expert in this field.<\/p>\n<h1 style=\"text-align: center;\">Commands<\/h1>\n<p>The commands in Linux have the following syntax:<\/p>\n<p><strong>$command options arguments<\/strong><\/p>\n<p>&nbsp;<\/p>\n<h4>&nbsp;Bash\/shell: Program that provides text-only interface.<\/h4>\n<h4>&nbsp;Terminal: A terminal window<\/h4>\n<h4>&nbsp;Command-line&nbsp; &nbsp;: Anything that takes input<\/h4>\n<h4>&nbsp;Console: Physical instrument panel<\/h4>\n<h4><\/h4>\n<h4>1) $ls&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:&nbsp; Used to show the folders &amp; web files<\/h4>\n<h4>2) $ls -a&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : List all the files and folders.<\/h4>\n<h4>3) $ls -l&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :Used to list folders with permissions<\/h4>\n<p dir=\"ltr\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/ls%20-l.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"504\" height=\"238\" data-pagespeed-url-hash=\"3729179781\"><\/p>\n<h4>4) $ls Do*&nbsp; &nbsp;: Listing all the folders starting with Do also print inside files<\/h4>\n<h4>5) $ls .*&nbsp; &nbsp; &nbsp; &nbsp;: Listing all the files starting with (.)<\/h4>\n<h4>&nbsp;<img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/ls%20..PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"647\" height=\"200\" data-pagespeed-url-hash=\"3462769494\"><\/h4>\n<div>\n<h4>6) $ls -a &nbsp; &nbsp; &nbsp; : listing all the folders and files, including hidden files<\/h4>\n<h4>7) $cd &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: To jump in the folder<\/h4>\n<h4>8) $cd .. &nbsp; &nbsp; &nbsp; : To go back to the folder.<\/h4>\n<h4>9) $cd ..\/..&nbsp; &nbsp; : To jump back to the two directories.<\/h4>\n<h4>10) $mkdir &nbsp; &nbsp; : To make the directory\/folder<\/h4>\n<h4>11) $mkdir -p : To make the directory\/folder one to one inside in it.<\/h4>\n<h4>Example:<\/h4>\n<div>&nbsp;<img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/mkdir-p.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"529\" height=\"219\" data-pagespeed-url-hash=\"1422244680\"><\/div>\n<div>\n<h4>12) $mkdir -vp : to make the directory and it will print the dir. created.<\/h4>\n<h4>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Example-<\/h4>\n<h4>&nbsp;<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/mkdir-vp.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"380\" height=\"57\" data-pagespeed-url-hash=\"3359889092\"><\/h4>\n<div>\n<h4>13) $touch pop : to make the new file(pop) in folder<\/h4>\n<h4>14) $touch grapes oranges : to make a recursive file(grapes,oranges) in a folder.<\/h4>\n<h4>15) $mv : to move the file from source to destination.<\/h4>\n<h4>16) $cp : to copy a file from one folder to another.<\/h4>\n<h4>17) $rm : Delete the file or folder<\/h4>\n<h4>18) $rm -r file name\/ :&nbsp; Remove the folder<\/h4>\n<h4>19) $rm -r a b c : remove the files from the folder<\/h4>\n<h4>20) $whereis (command name) : To find the actual path of the command.<\/h4>\n<h4>21) $echo -e \u201cpaul \\nlikes \\necho\u201d<\/h4>\n<div>&nbsp;<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/echo1.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"551\" height=\"75\" data-pagespeed-url-hash=\"2909849110\"><\/div>\n<ul>\n<li>\n<h4>It will print each char in next line<\/h4>\n<\/li>\n<\/ul>\n<div>\n<h4>22) $ x=paul<\/h4>\n<h4>23) $ echo&nbsp; \u201c $x \\nlikes \\necho\u201d<\/h4>\n<h4>&nbsp;<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/echo2.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"538\" height=\"95\" data-pagespeed-url-hash=\"3204349031\"><\/h4>\n<ul>\n<li>\n<h4>It will also print the x value<\/h4>\n<\/li>\n<\/ul>\n<h1 style=\"text-align: center;\">Find command<\/h1>\n<p><b>Find command<\/b>&nbsp;is used to search and locate the list of files and directories based on conditions you specify for files that match the arguments.&nbsp;<b>Find<\/b>&nbsp;can be used in a variety of conditions like you can&nbsp;<b>find<\/b>&nbsp;files by permissions, users, groups, file type, date, size, and other possible criteria<\/p>\n<p>&nbsp;<\/p>\n<h4>Note: (.) is for the current directory<\/h4>\n<h4>24.) $ find . -name file_name \/ dir._name<\/h4>\n<h4>&nbsp; &nbsp; Used to find the file\/directory in the current directory<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f1.PNG\" alt=\"\" width=\"480\" height=\"59\" data-pagespeed-url-hash=\"753260651\"><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f2.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"500\" height=\"41\" data-pagespeed-url-hash=\"1047760572\"><\/p>\n<h4>25.) $ find . -type f\/d -empty<\/h4>\n<h4>&nbsp; &nbsp; To find the empty dir\/ file &nbsp; &nbsp; ** f for file &amp; d for directory<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f3.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"499\" height=\"57\" data-pagespeed-url-hash=\"1342260493\"><br>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f4.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"537\" height=\"68\" data-pagespeed-url-hash=\"1636760414\"><\/p>\n<h4>26) $ find . -mtime&nbsp; -1<\/h4>\n<h4>&nbsp; &nbsp;To find the file\/directory which is made within one day<\/h4>\n<h4><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f5.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"486\" height=\"112\" data-pagespeed-url-hash=\"1931260335\"><\/h4>\n<h4>27) $ find . -mtime&nbsp; +1<\/h4>\n<h4>&nbsp; &nbsp;To find the file\/dir. which was made 1 day ago<\/h4>\n<h4>28) $find . -mmin 1<\/h4>\n<h4>&nbsp; &nbsp;To find the file\/dir. which was made 1 min ago\/&nbsp; To find the file\/dir which is made within 1 min.<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f12.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"468\" height=\"127\" data-pagespeed-url-hash=\"994497373\"><\/p>\n<p>&nbsp;<\/p>\n<h4>29) $ find .\/ type d\/f -name file\/dir<\/h4>\n<h4>&nbsp; &nbsp;To find the directory \/ file<\/h4>\n<h4>&nbsp; &nbsp; &nbsp; &nbsp; ** f for file and d for directory<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f6.PNG\" alt=\"\" width=\"537\" height=\"39\" data-pagespeed-url-hash=\"2225760256\"><\/p>\n<p>&nbsp;<\/p>\n<h4>30) $ find . *.extension<\/h4>\n<h4>&nbsp; &nbsp;To find the all file which is with the assigned extension.<\/h4>\n<h4>&nbsp; &nbsp; &nbsp; &nbsp; ** here there is no .jpg file available<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f7.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"427\" height=\"331\" data-pagespeed-url-hash=\"2520260177\"><\/p>\n<p>&nbsp;<\/p>\n<h4>31) $ find dir.name<\/h4>\n<h4>&nbsp; &nbsp;To show all the files and directories<\/h4>\n<h4><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f8.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"397\" height=\"150\" data-pagespeed-url-hash=\"2814760098\"><\/h4>\n<h4>32) $ find -iname \u201cchar*\u201d<\/h4>\n<h4>&nbsp; &nbsp;To find all the files and dir. starting with the f* and -i not including case sensitivity<\/h4>\n<h4><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f9.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"440\" height=\"109\" data-pagespeed-url-hash=\"3109260019\"><\/h4>\n<h4>33) $ find .\/ -type f\/d -iname \u201cf*\u201d<\/h4>\n<h4>&nbsp; &nbsp;To find file or directory with disable case sensitivity and listing files \/ dir with f*<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f10.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"561\" height=\"57\" data-pagespeed-url-hash=\"405497531\"><\/p>\n<h4>34) $ find . -size +0<\/h4>\n<h4>&nbsp; &nbsp;This will show the file presented in the current directory which is more than 0 mega byte.<\/h4>\n<h4>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;** G = GB<\/h4>\n<h4>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;** K= KB<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/f11.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"443\" height=\"279\" data-pagespeed-url-hash=\"699997452\"><\/p>\n<h4>35) $ du -sh file\/dir<\/h4>\n<h4>&nbsp; &nbsp; It will give the size of the file or directory in KB<\/h4>\n<h4>Vi editor<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/cat.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"420\" height=\"237\" data-pagespeed-url-hash=\"3431343684\"><\/p>\n<h4>After $ vi d1 write the text by pressing (I for Insert )click\u2192 Esc\u2192 shift + :\u2192 wq \u2192 Enter<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/lh6.googleusercontent.com\/kaevC-gW4S1D1JKqjs9jZ9wwfN_9_cpCvAmDDgcrFMMgk04UMcx-rbVd9KPr0rdHCpx_dFnAKIhH8RgoXUBLkakiBU_BiWwkujMvSuo8zS6msxDk7hE2XGE2qeGjTuL7eXAT-rO-\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"438\" height=\"266\" data-pagespeed-url-hash=\"2724323015\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/vi.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"438\" height=\"433\" data-pagespeed-url-hash=\"3156898131\"><\/p>\n<h1 style=\"text-align: center;\">GREP &#8211; Global Regular Expression Print<\/h1>\n<h2 style=\"text-align: center;\">&#8220;It allow us to search text within files in a system&#8221;<\/h2>\n<h4>36) $ grep [binary digit] file_name<\/h4>\n<h4>&nbsp; &nbsp;It will search the binary number which are inserted in the square bracket.<\/h4>\n<div><\/div>\n<p dir=\"ltr\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/g1.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"361\" height=\"76\" data-pagespeed-url-hash=\"678044638\"><\/p>\n<h4>37) $ grep -w \u201cstring\u201d file_name<\/h4>\n<h4>&nbsp; &nbsp;It will only show the valid text inserted in the inverted commas.<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/g2.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"357\" height=\"72\" data-pagespeed-url-hash=\"972544559\"><\/p>\n<h4>38) $ grep -i \u201cstring\u201d file_name<\/h4>\n<h4>&nbsp; &nbsp;It is non-case sensitive command (&nbsp; -i )<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/g3.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"429\" height=\"166\" data-pagespeed-url-hash=\"1267044480\"><\/p>\n<h4>39) $ grep \u201cstring\u201d file_name<\/h4>\n<h4>&nbsp; &nbsp;Show all the matching text.<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/g5.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"443\" height=\"92\" data-pagespeed-url-hash=\"1856044322\"><\/p>\n<h4>40) $grep -win \u201cstring\u201d file_name<\/h4>\n<h4>&nbsp; &nbsp;Show at which line the text resides.<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/g6.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"352\" height=\"78\" data-pagespeed-url-hash=\"2150544243\"><\/p>\n<h4>41) $ grep -win -B 4 \u201cstring\u201d file_name<\/h4>\n<h4>&nbsp; Show the 4 line before the inserted text.<\/h4>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/g7.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"442\" height=\"116\" data-pagespeed-url-hash=\"2445044164\"><\/div>\n<div>\n<h4>Show the 2 lines above and below the text.<\/h4>\n<div>&nbsp;<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/g8.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"437\" height=\"112\" data-pagespeed-url-hash=\"2739544085\"><\/div>\n<h4>Show the 2 lines after the text<\/h4>\n<h4>42) $ grep -win -A2 \u2018String\u201d d1<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/g9.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"487\" height=\"78\" data-pagespeed-url-hash=\"3034044006\"><\/p>\n<h4>43) $ grep -winr \u201cstring\u201d .\/*<\/h4>\n<h4>&nbsp; &nbsp;[centos@localhost ~]$ grep -winr &#8220;cat&#8221; .\/*<\/h4>\n<h4>&nbsp; &nbsp;It will show all the files and folders with the string.<\/h4>\n<h1 style=\"text-align: center;\"><strong>AWK command (Aho, Weinberger and Kernighan)<\/strong><\/h1>\n<p>&nbsp;<\/p>\n<h4>It is just a scripting language used to it doesn\u2019t require compilation time and it generates reports by processing file. It is beneficial for pattern searching and processing files.<\/h4>\n<h4>Various programming concepts offered by AWK are:<\/h4>\n<h4>&nbsp; &nbsp; &nbsp;1) Output formatting<\/h4>\n<h4>&nbsp; &nbsp; &nbsp;2) Inbuilt variables<\/h4>\n<h4>&nbsp; &nbsp; &nbsp;3) Pattern matching<\/h4>\n<h4>&nbsp; &nbsp; &nbsp;4) String operations<\/h4>\n<h4>&nbsp; &nbsp; &nbsp;5) Arithmetic operations<\/h4>\n<h4>Basic syntax<\/h4>\n<h3 style=\"text-align: center;\"><strong># awk options &#8216;selection _criteria {action }&#8217; input-file &gt; output-file<\/strong><\/h3>\n<h4>Awk assign some variables for each field.<\/h4>\n<h4>\u2192 $0 denotes the whole file<\/h4>\n<h4>\u2192 $1 denotes the first field<\/h4>\n<h4>\u2192 $2 denotes the second field<\/h4>\n<h4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;And $3,$4,$5\u2026..so on for every field.<\/h4>\n<h4><\/h4>\n<h1 style=\"text-align: center;\">Commands related AWK<\/h1>\n<p>&nbsp;<\/p>\n<h4 style=\"text-align: left;\"><strong>44) <\/strong><strong># awk \u2018{print $variable}\u2019 file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp;This command will print the field according to the variable<\/h4>\n<div>&nbsp;<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/awk2.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"464\" height=\"83\" data-pagespeed-url-hash=\"2872436461\"><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/awk1.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"1235\" height=\"88\" data-pagespeed-url-hash=\"2577936540\"><br>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/awk3.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"523\" height=\"92\" data-pagespeed-url-hash=\"3166936382\"><\/p>\n<h4 style=\"text-align: left;\"><strong>45) # awk &#8211;version<\/strong><\/h4>\n<h4 style=\"text-align: left;\">&nbsp; &nbsp;We can also check the version of the awk.<\/h4>\n<h4 style=\"text-align: left;\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# awk -F: \u2018{print $variable}\u2019 filename<\/h4>\n<h4 style=\"text-align: left;\">This will print the file without the separator (i.e. [:])<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/awk9.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"700\" height=\"500\" data-pagespeed-url-hash=\"638968612\"><\/p>\n<div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/awk4.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"621\" height=\"510\" data-pagespeed-url-hash=\"3461436303\"><\/div>\n<h4><\/h4>\n<h4 style=\"text-align: left;\"><strong>46) # echo \u201cstring\u201d | awk \u2018{$variable=\u201dstring\u201d; print&nbsp; $variable}\u2019<\/strong><\/h4>\n<h4>&nbsp; &nbsp; This will replace the string manish to raghav&nbsp; and print the whole string.<\/h4>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/awk5.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"802\" height=\"45\" data-pagespeed-url-hash=\"3755936224\"><\/p>\n<h4 style=\"text-align: left;\"><strong>47) # cat file_name | awk \u2018{$variable=\u201dstring\u201d; print $variable}\u2019<\/strong><\/h4>\n<h4>&nbsp; &nbsp;This command&nbsp; will replace the particular string which is in field 2 and&nbsp; print the whole file content.<\/h4>\n<div>\n<div>\n<div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/awk6.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"1264\" height=\"90\" data-pagespeed-url-hash=\"4050436145\"><\/div>\n<\/div>\n<\/div>\n<div><\/div>\n<h4><strong>48) # awk \u2018\/string\/\u2019 file_name&nbsp;<\/strong><\/h4>\n<h4>&nbsp; &nbsp;This command will show each line that contains the following word i.e.( or )<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/awk7.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"1079\" height=\"64\" data-pagespeed-url-hash=\"49968770\"><\/p>\n<h4><strong>49) # awk &#8216;$variable==&#8221;char&#8221; {print $variable}&#8217; file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp;T<\/h4>\n<h4>his will print 5th field if the field 1 value matches the value 300 in the file.<\/h4>\n<h4><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/awk8.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"612\" height=\"46\" data-pagespeed-url-hash=\"344468691\"><\/h4>\n<h1 style=\"text-align: center;\"><strong>CUT command<\/strong><\/h1>\n<p>&nbsp;<\/p>\n<h4>The cut command basically a Unix command line utility which extracts section from each line.<\/h4>\n<h4>Basically the cut command slices a line and extracts the text.<\/h4>\n<h4><strong>50) # cat -b variable file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp; &nbsp;This cut command will extract the following byte (-b) from the file.<\/h4>\n<div>&nbsp;<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/cut1.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"639\" height=\"482\" data-pagespeed-url-hash=\"4139065355\"><br>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/cut2.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"396\" height=\"244\" data-pagespeed-url-hash=\"138597980\"><\/div>\n<div>\n<h4><strong>51) # cut -d \u2018delimiter\u2019 -f field\/ranges\/sequence file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp;This command will show the following fields\/ranges from the file<\/h4>\n<h4>&nbsp; &nbsp;if -d option is not used then it prints whole line:<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/cut3.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"556\" height=\"125\" data-pagespeed-url-hash=\"433097901\"><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/cut4.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"466\" height=\"124\" data-pagespeed-url-hash=\"727597822\"><\/p>\n<h4><strong>52) # cut -c variable file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp;This command will print each character from the file starting from 1st field.<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/cut5.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"430\" height=\"125\" data-pagespeed-url-hash=\"1022097743\"><\/p>\n<h4><strong>53) # cut &#8211;complement -d \u201c&nbsp; \u201c -f variable file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp;This command will print each field except the 3rd field<\/h4>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/cut6.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"646\" height=\"127\" data-pagespeed-url-hash=\"1316597664\"><\/div>\n<div>\n<div>\n<h4><strong>54) # echo field &gt;&gt; file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp;This command will permanently add on the field at last into the file<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/cut7.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"591\" height=\"164\" data-pagespeed-url-hash=\"1611097585\"><\/p>\n<h4><strong>55) # cut -d \u201c \u201c -fvariable file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp; This command will show only the 3rd field from the file<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/cut8.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"508\" height=\"146\" data-pagespeed-url-hash=\"1905597506\"><\/p>\n<h1 style=\"text-align: center;\"><strong>SED command<\/strong><\/h1>\n<h1 style=\"text-align: center;\"><strong>&nbsp;<\/strong><\/h1>\n<div>\n<h4>It is also called stream editor, it is a powerful linux\/unix utility tool used for text manipulation, finding, deletion, saving permanently, etc.<\/h4>\n<h4>s: means substitute<\/h4>\n<h4>g: means globally<\/h4>\n<h4><strong>56) # sed \u2018s\/string1\/string2\/g\u2019 file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp;This command will change the string1 to string2<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/sed1.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"1049\" height=\"257\" data-pagespeed-url-hash=\"1772268539\"><\/p>\n<h4><strong>57) # sed \/\\bstring1\\b\/string2\/g\u2019 file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp;This will replace the exact matching word list into raghav in the file.<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/sed2.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"1050\" height=\"253\" data-pagespeed-url-hash=\"2066768460\"><\/p>\n<h4><strong>58) # sed \u2018s\/^string1\/string2\/g\u2019 file_name<\/strong><\/h4>\n<h4>&nbsp; &nbsp;This command will change the value which ends with $ sign in the file.<\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/sed4.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"1053\" height=\"251\" data-pagespeed-url-hash=\"2655768302\"><\/p>\n<div>\n<h1 style=\"text-align: center;\"><strong>Deletion&nbsp;<\/strong><\/h1>\n<p>&nbsp;<\/p>\n<h4><strong>59) # sed \u2018\/word\/d\u2019 file_name<\/strong><\/h4>\n<h4>&nbsp; This command will delete the particular line which consists of the particular word.<\/h4>\n<h4>&nbsp; &nbsp;\u2018d\u2019 denotes the delete.<\/h4>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/sed5.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"1048\" height=\"112\" data-pagespeed-url-hash=\"2950268223\"><\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div><\/div>\n<h1 style=\"text-align: center;\"><strong>Saving permanently to the file<\/strong><\/h1>\n<p>&nbsp;<\/p>\n<h4 style=\"text-align: left;\"><strong>60) # sed -i &#8216;s\/char1\/char2\/g&#8217; file_name<\/strong><\/h4>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/image.cloudminister.com\/raghav_images\/sed6.PNG\" alt=\"Linux \/ Unix basic commands for beginners\" width=\"1047\" height=\"267\" data-pagespeed-url-hash=\"3244768144\"><\/p>\n<\/div>\n<\/div>\n<h4>-i \u2192 use this -i ,if you want to change or modify directly to the file<\/h4>\n<h4>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This -i can be used at the above sed commands this will permanently save every modification in the file.<\/h4>\n<p>&nbsp;<\/p>\n<p><strong>Conclusion<\/strong>: By following this tutorial you will get the basic understanding of Linux commands<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Have some interest in Linux &amp; Unix? This is the article for you to start with Linux is a clone of the Unix operating system, it is a multi-user operating system, which can be accessed by many users at a time. Linux Server Management Linux server management service is a cost-effective mixture for the application-based&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4639,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[90,59,62,66],"tags":[116,117,118,119,120,121,122,65,123,124,125,126,127,68,128],"class_list":["post-3557","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-beginner","category-general","category-how-to","category-technology","tag-awk-command","tag-basic-commands","tag-command-of-linux","tag-commands-of-linux","tag-deletion","tag-find-command","tag-grep-command","tag-linux","tag-linux-basic-commands","tag-linux-basic-commands-for-beginners","tag-linux-commads","tag-linux-server-management","tag-sed-command","tag-server","tag-server-management"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"Linux\/Unix Linux is a clone of Unix operating system, it is a multi-user operating system, which can be accessed by many users at a time. Linux Server Management Linux server management service is a cost-effective mixture for the application-based server. Essential applications deployed on Linux servers need the right management solutions or tools. Large enterprises\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Tanuj Chugh\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"CloudMinister -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Linux \/ Unix basic commands for beginners - CloudMinister\" \/>\n\t\t<meta property=\"og:description\" content=\"Linux\/Unix Linux is a clone of Unix operating system, it is a multi-user operating system, which can be accessed by many users at a time. Linux Server Management Linux server management service is a cost-effective mixture for the application-based server. Essential applications deployed on Linux servers need the right management solutions or tools. Large enterprises\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-04-16T07:03:32+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-04-16T07:03:32+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Linux \/ Unix basic commands for beginners - CloudMinister\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Linux\/Unix Linux is a clone of Unix operating system, it is a multi-user operating system, which can be accessed by many users at a time. Linux Server Management Linux server management service is a cost-effective mixture for the application-based server. Essential applications deployed on Linux servers need the right management solutions or tools. Large enterprises\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#blogposting\",\"name\":\"Linux \\\/ Unix basic commands for beginners - CloudMinister\",\"headline\":\"Linux \\\/ Unix basic commands for beginners\",\"author\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/tanuj-chugh\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/Untitled-1.jpg\",\"width\":600,\"height\":400,\"caption\":\"Linux Shared Hosting, Linux Reseller Hosting, Domains and Hosting, SSD Storage, Shared hosting functionality, Linux\\\/Unix, Managed hosting\"},\"datePublished\":\"2020-04-16T07:03:32+00:00\",\"dateModified\":\"2020-04-16T07:03:32+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#webpage\"},\"articleSection\":\"Beginner, General, How tos, Linux, awk command, basic commands, command of linux, commands of linux, deletion, find command, grep command, linux, Linux basic commands, linux basic commands for beginners, linux commads, linux server management, sed command, server, server management\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/general\\\/#listItem\",\"name\":\"General\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/general\\\/#listItem\",\"position\":2,\"name\":\"General\",\"item\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/general\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#listItem\",\"name\":\"Linux \\\/ Unix basic commands for beginners\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#listItem\",\"position\":3,\"name\":\"Linux \\\/ Unix basic commands for beginners\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/category\\\/general\\\/#listItem\",\"name\":\"General\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#organization\",\"name\":\"CloudMinister\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/tanuj-chugh\\\/#author\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/tanuj-chugh\\\/\",\"name\":\"Tanuj Chugh\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3395bcaf63eb5840dd73f67c7cb69ffd3dfe33336c1bdb1f1b9aeabe5b05e15a?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Tanuj Chugh\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#webpage\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/\",\"name\":\"Linux \\\/ Unix basic commands for beginners - CloudMinister\",\"description\":\"Linux\\\/Unix Linux is a clone of Unix operating system, it is a multi-user operating system, which can be accessed by many users at a time. Linux Server Management Linux server management service is a cost-effective mixture for the application-based server. Essential applications deployed on Linux servers need the right management solutions or tools. Large enterprises\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/tanuj-chugh\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/author\\\/tanuj-chugh\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/Untitled-1.jpg\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#mainImage\",\"width\":600,\"height\":400,\"caption\":\"Linux Shared Hosting, Linux Reseller Hosting, Domains and Hosting, SSD Storage, Shared hosting functionality, Linux\\\/Unix, Managed hosting\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/linux-unix-basic-commands-for-beginners\\\/#mainImage\"},\"datePublished\":\"2020-04-16T07:03:32+00:00\",\"dateModified\":\"2020-04-16T07:03:32+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/\",\"name\":\"CloudMinister\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/cloudminister.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Linux \/ Unix basic commands for beginners - CloudMinister","description":"Linux\/Unix Linux is a clone of Unix operating system, it is a multi-user operating system, which can be accessed by many users at a time. Linux Server Management Linux server management service is a cost-effective mixture for the application-based server. Essential applications deployed on Linux servers need the right management solutions or tools. Large enterprises","canonical_url":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#blogposting","name":"Linux \/ Unix basic commands for beginners - CloudMinister","headline":"Linux \/ Unix basic commands for beginners","author":{"@id":"https:\/\/cloudminister.com\/blog\/author\/tanuj-chugh\/#author"},"publisher":{"@id":"https:\/\/cloudminister.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/04\/Untitled-1.jpg","width":600,"height":400,"caption":"Linux Shared Hosting, Linux Reseller Hosting, Domains and Hosting, SSD Storage, Shared hosting functionality, Linux\/Unix, Managed hosting"},"datePublished":"2020-04-16T07:03:32+00:00","dateModified":"2020-04-16T07:03:32+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#webpage"},"isPartOf":{"@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#webpage"},"articleSection":"Beginner, General, How tos, Linux, awk command, basic commands, command of linux, commands of linux, deletion, find command, grep command, linux, Linux basic commands, linux basic commands for beginners, linux commads, linux server management, sed command, server, server management"},{"@type":"BreadcrumbList","@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/cloudminister.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/category\/general\/#listItem","name":"General"}},{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/category\/general\/#listItem","position":2,"name":"General","item":"https:\/\/cloudminister.com\/blog\/category\/general\/","nextItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#listItem","name":"Linux \/ Unix basic commands for beginners"},"previousItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#listItem","position":3,"name":"Linux \/ Unix basic commands for beginners","previousItem":{"@type":"ListItem","@id":"https:\/\/cloudminister.com\/blog\/category\/general\/#listItem","name":"General"}}]},{"@type":"Organization","@id":"https:\/\/cloudminister.com\/blog\/#organization","name":"CloudMinister","url":"https:\/\/cloudminister.com\/blog\/"},{"@type":"Person","@id":"https:\/\/cloudminister.com\/blog\/author\/tanuj-chugh\/#author","url":"https:\/\/cloudminister.com\/blog\/author\/tanuj-chugh\/","name":"Tanuj Chugh","image":{"@type":"ImageObject","@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3395bcaf63eb5840dd73f67c7cb69ffd3dfe33336c1bdb1f1b9aeabe5b05e15a?s=96&d=mm&r=g","width":96,"height":96,"caption":"Tanuj Chugh"}},{"@type":"WebPage","@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#webpage","url":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/","name":"Linux \/ Unix basic commands for beginners - CloudMinister","description":"Linux\/Unix Linux is a clone of Unix operating system, it is a multi-user operating system, which can be accessed by many users at a time. Linux Server Management Linux server management service is a cost-effective mixture for the application-based server. Essential applications deployed on Linux servers need the right management solutions or tools. Large enterprises","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/cloudminister.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#breadcrumblist"},"author":{"@id":"https:\/\/cloudminister.com\/blog\/author\/tanuj-chugh\/#author"},"creator":{"@id":"https:\/\/cloudminister.com\/blog\/author\/tanuj-chugh\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/cloudminister.com\/blog\/wp-content\/uploads\/2020\/04\/Untitled-1.jpg","@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#mainImage","width":600,"height":400,"caption":"Linux Shared Hosting, Linux Reseller Hosting, Domains and Hosting, SSD Storage, Shared hosting functionality, Linux\/Unix, Managed hosting"},"primaryImageOfPage":{"@id":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/#mainImage"},"datePublished":"2020-04-16T07:03:32+00:00","dateModified":"2020-04-16T07:03:32+00:00"},{"@type":"WebSite","@id":"https:\/\/cloudminister.com\/blog\/#website","url":"https:\/\/cloudminister.com\/blog\/","name":"CloudMinister","inLanguage":"en-US","publisher":{"@id":"https:\/\/cloudminister.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"CloudMinister -","og:type":"article","og:title":"Linux \/ Unix basic commands for beginners - CloudMinister","og:description":"Linux\/Unix Linux is a clone of Unix operating system, it is a multi-user operating system, which can be accessed by many users at a time. Linux Server Management Linux server management service is a cost-effective mixture for the application-based server. Essential applications deployed on Linux servers need the right management solutions or tools. Large enterprises","og:url":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/","article:published_time":"2020-04-16T07:03:32+00:00","article:modified_time":"2020-04-16T07:03:32+00:00","twitter:card":"summary_large_image","twitter:title":"Linux \/ Unix basic commands for beginners - CloudMinister","twitter:description":"Linux\/Unix Linux is a clone of Unix operating system, it is a multi-user operating system, which can be accessed by many users at a time. Linux Server Management Linux server management service is a cost-effective mixture for the application-based server. Essential applications deployed on Linux servers need the right management solutions or tools. Large enterprises"},"aioseo_meta_data":{"post_id":"3557","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-05-21 07:22:06","updated":"2025-08-07 04:49:58","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cloudminister.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/cloudminister.com\/blog\/category\/general\/\" title=\"General\">General<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tLinux \/ Unix basic commands for beginners\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/cloudminister.com\/blog\/"},{"label":"General","link":"https:\/\/cloudminister.com\/blog\/category\/general\/"},{"label":"Linux \/ Unix basic commands for beginners","link":"https:\/\/cloudminister.com\/blog\/linux-unix-basic-commands-for-beginners\/"}],"_links":{"self":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts\/3557","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/comments?post=3557"}],"version-history":[{"count":0,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/posts\/3557\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/media\/4639"}],"wp:attachment":[{"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/media?parent=3557"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/categories?post=3557"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudminister.com\/blog\/wp-json\/wp\/v2\/tags?post=3557"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}