{"id":213,"date":"2018-02-15T03:29:00","date_gmt":"2018-02-15T03:29:00","guid":{"rendered":"http:\/\/malwrforensics.com\/en\/?p=213"},"modified":"2018-02-16T02:45:25","modified_gmt":"2018-02-16T02:45:25","slug":"lpic-1-2nd-post","status":"publish","type":"post","link":"https:\/\/malwrforensics.com\/en\/2018\/02\/15\/lpic-1-2nd-post\/","title":{"rendered":"LPIC Journey Part I"},"content":{"rendered":"<p>Becoming a certified Linux Administrator it means you can perform maintenance tasks with the command line, install and configure a computer running Linux and be able to configure basic networking. Lots of infrmation is on<a href=\"http:\/\/www.lpi.org\/\"> Linux Professional Institute website<\/a>.<\/p>\n<p>The certification is valid for 5 years afer successfully passing LPI 201 and LPI 202 exams, which are 60 multiple-choice and fill-in-the-blank questions in 90 minutes.<\/p>\n<p>Sounds pretty straight forward, right?<\/p>\n<p>It depends on your professional background, time available, ability to learn, to memorize and make connections. Yep, memorizing is key for these exams. If you ever worked with the command line, you would know how many options are there for one command. As an example, have a look at how many options the ls command has, by quickly typing man ls in your terminal:<\/p>\n<h2 id=\"syntax\">ls syntax<\/h2>\n<pre class=\"tcy tab\">ls [<i>OPTION<\/i>]... [<i>FILE<\/i>]...<\/pre>\n<h2>Description<\/h2>\n<p class=\"tab\">List information about the\u00a0<i>FILE<\/i>s (the current directory by default). Sort entries alphabetically if none of\u00a0<b>-cftuvSUX<\/b>\u00a0nor\u00a0<b>&#8211;sort<\/b>\u00a0is specified.<\/p>\n<table class=\"mtable3 tab\">\n<tbody>\n<tr class=\"tcw\">\n<td><b>-a<\/b>,\u00a0<b>&#8211;all<\/b><\/td>\n<td>Do not ignore entries starting with &#8220;<b>.<\/b>&#8220;, providing visibility to hidden files (those starting with a &#8220;.&#8221;)<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-A<\/b>,\u00a0<b>&#8211;almost-all<\/b><\/td>\n<td>Do not list implied &#8220;<b>.<\/b>&#8221; and &#8220;<b>..<\/b>&#8220;.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;author<\/b><\/td>\n<td>With\u00a0<b>-l<\/b>, print the author of each file.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-b<\/b>,\u00a0<b>&#8211;escape<\/b><\/td>\n<td>Print\u00a0<a href=\"https:\/\/www.computerhope.com\/jargon\/c\/c.htm\">C<\/a>-style escapes for nongraphic characters.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;block-size=<\/b><i>SIZE<\/i><\/td>\n<td>Scale sizes by\u00a0<i>SIZE<\/i>\u00a0before printing them. For example, &#8216;<b>&#8211;block-size=M<\/b>&#8216; prints sizes in units of 1,048,576\u00a0<a href=\"https:\/\/www.computerhope.com\/jargon\/b\/byte.htm\">bytes<\/a>. See\u00a0<a href=\"https:\/\/www.computerhope.com\/unix\/uls.htm#Size-Format\">SIZE format<\/a>below.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-B<\/b>,\u00a0<b>&#8211;ignore-backups<\/b><\/td>\n<td>Do not list implied entries ending with &#8220;<b>~<\/b>&#8220;.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-c<\/b><\/td>\n<td>With\u00a0<b>-lt:<\/b>, sort by and show the\u00a0<b>ctime<\/b>\u00a0(time of last modification of file status information); with\u00a0<b>-l:<\/b>, show\u00a0<b>ctime<\/b>\u00a0and sort by name; otherwise: sort by\u00a0<b>ctime<\/b>, newest first.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-C<\/b><\/td>\n<td>List entries by columns.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;color<\/b>[<b>=<\/b><i>WHEN<\/i>]<\/td>\n<td>Colorize the output.\u00a0<i>WHEN<\/i>\u00a0defaults to &#8216;<b>always<\/b>&#8216; or can be &#8216;<b>never<\/b>&#8216; or &#8216;<b>auto<\/b>&#8216;.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-d<\/b>,\u00a0<b>&#8211;directory<\/b><\/td>\n<td>List directory entries instead of contents, and do not dereference\u00a0<a href=\"https:\/\/www.computerhope.com\/jargon\/s\/symblink.htm\">symbolic links<\/a>.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-D<\/b>,\u00a0<b>&#8211;dired<\/b><\/td>\n<td>Generate output designed for\u00a0<a href=\"https:\/\/www.computerhope.com\/unix\/uemacs.htm\">Emacs<\/a>&#8216; dired mode.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-f<\/b><\/td>\n<td>Do not sort, enable\u00a0<b>-aU<\/b>, and disable\u00a0<b>-ls &#8211;color<\/b>.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-F<\/b>,\u00a0<b>&#8211;classify<\/b><\/td>\n<td>Append indicator (one of\u00a0<b>*\/=&gt;@|<\/b>) to entries.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;file-type<\/b><\/td>\n<td>Similar to\u00a0<b>&#8211;classify<\/b>, except do not append &#8216;<b>*<\/b>&#8216;<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;format=<\/b><i>WORD<\/i><\/td>\n<td>Formats according to the following: across\u00a0<b>-x<\/b>, commas\u00a0<b>-m<\/b>, horizontal\u00a0<b>-x<\/b>, long\u00a0<b>-l<\/b>, single-column\u00a0<b>-1<\/b>, verbose\u00a0<b>-l<\/b>, vertical\u00a0<b>-C<\/b>.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;full-time<\/b><\/td>\n<td>Like\u00a0<b>-l &#8211;time-style=full-iso<\/b>.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-g<\/b><\/td>\n<td>Like\u00a0<b>-l<\/b>, but do not list owner.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;group-directories-first<\/b><\/td>\n<td>Group directories before files. Can be augmented with a\u00a0<b>&#8211;sort<\/b>option, but any use of\u00a0<b>&#8211;sort=none<\/b>\u00a0(<b>-U<\/b>) disables grouping.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-G<\/b>,\u00a0<b>&#8211;no-group<\/b><\/td>\n<td>In a long listing, don&#8217;t print group names.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-h<\/b>,\u00a0<b>&#8211;human-readable<\/b><\/td>\n<td>With\u00a0<b>-l<\/b>, print sizes in human-readable format (e.g.,\u00a0<b>1K<\/b>,\u00a0<b>234M<\/b>,\u00a0<b>2G<\/b>).<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;si<\/b><\/td>\n<td>Like\u00a0<b>&#8211;human-readable<\/b>, but use powers of 1000, not 1024.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-H<\/b>,\u00a0<b>&#8211;dereference-command-line<\/b><\/td>\n<td>Follow symbolic links listed on the command line.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;dereference-command-line-symlink-to-dir<\/b><\/td>\n<td>Follow each command line symbolic link that points to a directory.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;hide=<\/b><i>PATTERN<\/i><\/td>\n<td>Do not list implied entries matching shell\u00a0<i>PATTERN<\/i>\u00a0(overridden by\u00a0<b>-a<\/b>\u00a0or\u00a0<b>-A<\/b>).<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;indicator-style=<\/b><i>WORD<\/i><\/td>\n<td>Append indicator with style\u00a0<i>WORD<\/i>\u00a0to entry names:\u00a0<b>none<\/b>\u00a0(default),\u00a0<b>slash<\/b>\u00a0(<b>-p<\/b>),\u00a0<b>file-type<\/b>\u00a0(<b>&#8211;file-type<\/b>),\u00a0<b>classify<\/b>\u00a0(<b>-F<\/b>).<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-i<\/b>,\u00a0<b>&#8211;inode<\/b><\/td>\n<td>Print the index number of each file.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-I<\/b>,\u00a0<b>&#8211;ignore=<\/b><i>PATTERN<\/i><\/td>\n<td>Do not list implied entries matching shell\u00a0<i>PATTERN<\/i>.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-k<\/b>,\u00a0<b>&#8211;kibibytes<\/b><\/td>\n<td>Use 1024-byte blocks.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-l<\/b><\/td>\n<td>Use a long listing format.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-L<\/b>,\u00a0<b>&#8211;dereference<\/b><\/td>\n<td>When showing file information for a symbolic link, show information for the file the link references rather than for the link itself.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-m<\/b><\/td>\n<td>Fill width with a comma separated list of entries.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-n<\/b>,\u00a0<b>&#8211;numeric-uid-gid<\/b><\/td>\n<td>Like\u00a0<b>-l<\/b>, but list numeric user and group IDs.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-N<\/b>,\u00a0<b>&#8211;literal<\/b><\/td>\n<td>Print raw entry names (don&#8217;t treat e.g., control characters specially).<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-o<\/b><\/td>\n<td>Like\u00a0<b>-l<\/b>, but do not list group information.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-p<\/b>,\u00a0<b>&#8211;indicator-style=<\/b><i>slash<\/i><\/td>\n<td>Append &#8220;<b>\/<\/b>&#8221; indicator to directories<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-q<\/b>,\u00a0<b>&#8211;hide-control-chars<\/b><\/td>\n<td>Print\u00a0<b>?<\/b>\u00a0instead of non graphic characters.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;show-control-chars<\/b><\/td>\n<td>Show non graphic characters as-is (default unless program is &#8216;<b>ls<\/b>&#8216; and output is a terminal).<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-Q<\/b>,\u00a0<b>&#8211;quote-name<\/b><\/td>\n<td>Enclose entry names in double quotes.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;quoting-style=<\/b><i>WORD<\/i><\/td>\n<td>Use quoting style\u00a0<i>WORD<\/i>\u00a0for entry names:\u00a0<b>literal<\/b>,\u00a0<b>locale<\/b>,\u00a0<b>shell<\/b>,\u00a0<b>shell-always<\/b>,\u00a0<b>c<\/b>,\u00a0<b>escape<\/b>.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-r<\/b>,\u00a0<b>&#8211;reverse<\/b><\/td>\n<td>Reverse order while sorting.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-R<\/b>,\u00a0<b>&#8211;recursive<\/b><\/td>\n<td>List subdirectories\u00a0<a href=\"https:\/\/www.computerhope.com\/jargon\/r\/recursive.htm\">recursively<\/a>.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-s<\/b>,\u00a0<b>&#8211;size<\/b><\/td>\n<td>Print the allocated size of each file, in blocks.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-S<\/b><\/td>\n<td>Sort by file size.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;sort=<\/b><i>WORD<\/i><\/td>\n<td>Sort by WORD instead of name:\u00a0<b>none<\/b>\u00a0(<b>-U<\/b>),\u00a0<b>extension<\/b>\u00a0(<b>-X<\/b>),\u00a0<b>size<\/b>\u00a0(<b>-S<\/b>),\u00a0<b>time<\/b>\u00a0(<b>-t<\/b>),\u00a0<b>version<\/b>\u00a0(<b>-v<\/b>).<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;time=<\/b><i>WORD<\/i><\/td>\n<td>With\u00a0<b>-l<\/b>, show time as\u00a0<i>WORD<\/i>\u00a0instead of modification time: &#8220;<b>atime<\/b>&#8221; (<b>-u<\/b>), &#8220;<b>access<\/b>&#8221; (<b>-u<\/b>), &#8220;<b>use<\/b>&#8221; (<b>-u<\/b>), &#8220;<b>ctime<\/b>&#8221; (<b>-c<\/b>), or &#8220;<b>status<\/b>&#8221; (<b>-c<\/b>); use specified time as sort key if\u00a0<b>&#8211;sort=time<\/b>.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;time-style=<\/b><i>STYLE<\/i><\/td>\n<td>With\u00a0<b>-l<\/b>, show times using style\u00a0<i>STYLE<\/i>.<\/p>\n<p><i>STYLE<\/i>\u00a0may be one of: &#8220;<b>full-iso<\/b>&#8220;, &#8220;<b>long-iso<\/b>&#8220;, &#8220;<b>iso<\/b>&#8220;, &#8220;<b>locale<\/b>&#8220;, &#8220;<b>+<\/b><i>FORMAT<\/i>&#8220;.<\/p>\n<p><i>FORMAT<\/i>\u00a0is interpreted like &#8216;<b>date<\/b>&#8216;; if\u00a0<i>FORMAT<\/i>\u00a0is &#8220;<b>FORMAT1<\/b>&lt;newline&gt;<b>FORMAT2<\/b>&#8220;,\u00a0<b>FORMAT1<\/b>\u00a0applies to non-recent files and\u00a0<b>FORMAT2<\/b>\u00a0to recent files; if\u00a0<i>STYLE<\/i>\u00a0is prefixed with &#8216;<b>posix-<\/b>&#8216;,\u00a0<i>STYLE<\/i>\u00a0takes effect only outside the\u00a0<a href=\"https:\/\/www.computerhope.com\/jargon\/p\/posix.htm\">POSIX<\/a>\u00a0locale.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-t<\/b><\/td>\n<td>Sort by modification time, newest first.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-T<\/b>,\u00a0<b>&#8211;tabsize=<\/b>COLS<\/td>\n<td>Assume tab stops at each COLS instead of 8.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-u<\/b><\/td>\n<td>With\u00a0<b>-lt:<\/b>, sort by and show access time; with\u00a0<b>-l:<\/b>\u00a0show access time and sort by name; otherwise: sort by access time.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-U<\/b><\/td>\n<td>Do not sort; list entries in directory order.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-v<\/b><\/td>\n<td>Natural sort of (version) numbers within text.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-w<\/b>,\u00a0<b>&#8211;width=<\/b>COLS<\/td>\n<td>Assume screen width\u00a0<i>COLS<\/i>\u00a0instead of current value.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-x<\/b><\/td>\n<td>List entries by lines instead of by columns.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-X<\/b><\/td>\n<td>Sort alphabetically by entry extension.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-Z<\/b>,\u00a0<b>&#8211;context<\/b><\/td>\n<td>Print any SELinux security context of each file.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>-1<\/b><\/td>\n<td>List one file per line.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;help<\/b><\/td>\n<td>Display a help message and exit.<\/td>\n<\/tr>\n<tr class=\"tcw\">\n<td><b>&#8211;version<\/b><\/td>\n<td>Display version information and exit.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>I found an useful &#8216;dictionary&#8217; of bash commands here\u00a0<a href=\"https:\/\/ss64.com\/bash\/\">https:\/\/ss64.com\/bash\/<\/a><\/p>\n<p>A while ago, there was only one exam, but I think I prefer it broken down in two parts, like it is now. They say the first exam is easier to pass than the second one and I heard many saying they only practice questions and memorize the answers. It doesn&#8217;t work for me and it wouldn&#8217;t be feasible in the long run. I am the one that reads the forward and the aknowledgements, so you can get an idea :))<\/p>\n<p>In real life work situations it&#8217;s unlikely to come across only exam based issues and my goal is not passing an exam, but rather become a self sufficient Linux Admin.<\/p>\n<p>The Objectives of LPIC-1 Exam 101 are:<\/p>\n<ol>\n<li>System Architecture<\/li>\n<li>Linux Installation and Package Management<\/li>\n<li>GNU and Unix Commands<\/li>\n<li>Devices, Linux Filesystems, Filesystem Hierarchy Standard<\/li>\n<\/ol>\n<p>I will not get into Exam 102 objectives for now, one bridge at a time \ud83d\ude42<\/p>\n<p>&#8216;Til next time, a fun fact about Linux:\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Goobuntu\"><strong>Google has its own Linux Distribution for its internal Employees. Its called Goobuntu<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Becoming a certified Linux Administrator it means you can perform maintenance tasks with the command line, install and configure a computer running Linux and be able to configure basic networking. Lots of infrmation is on Linux Professional Institute website. The certification is valid for 5 years afer successfully passing LPI 201 and LPI 202 exams, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53],"tags":[],"class_list":["post-213","post","type-post","status-publish","format-standard","hentry","category-linux"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[]}},"featured_image_urls_v2":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":""},"post_excerpt_stackable_v2":"<p>Becoming a certified Linux Administrator it means you can perform maintenance tasks with the command line, install and configure a computer running Linux and be able to configure basic networking. Lots of infrmation is on Linux Professional Institute website. The certification is valid for 5 years afer successfully passing LPI 201 and LPI 202 exams, which are 60 multiple-choice and fill-in-the-blank questions in 90 minutes. Sounds pretty straight forward, right? It depends on your professional background, time available, ability to learn, to memorize and make connections. Yep, memorizing is key for these exams. If you ever worked with the command&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/malwrforensics.com\/en\/category\/linux\/\" rel=\"category tag\">Linux+<\/a>","author_info_v2":{"name":"Elena Saygo","url":"https:\/\/malwrforensics.com\/en\/author\/elenas\/"},"comments_num_v2":"0 comments","_links":{"self":[{"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/posts\/213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/comments?post=213"}],"version-history":[{"count":4,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/posts\/213\/revisions"}],"predecessor-version":[{"id":222,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/posts\/213\/revisions\/222"}],"wp:attachment":[{"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/media?parent=213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/categories?post=213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/malwrforensics.com\/en\/wp-json\/wp\/v2\/tags?post=213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}