Added Neofetch and Bash pages.

git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@214 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
faracm 2018-11-15 16:24:49 +00:00
parent 4bfd5ecc48
commit dd61996d80
2 changed files with 72 additions and 0 deletions

View File

@ -0,0 +1,36 @@
---
layout: page
category_title: Intermediate commands
category-page: intermediate
tags: neofetch fetch neo
author: Marco Farace
title: neofetch
---
<p>Neofetch is a fast, higly customizable system info script. a CLI system
information tool written in BASH. Neofetch displays information about your
system next to an image, your OS logo, or any ASCII file of your choice.</p>
<h3> Flags (just some of the many, many, many...)</h3>
<ul>
<li>--disable [infoname]: Allows you to disable an info line from appearing
in the output. infoname' is the function name from the 'print_info()'
functioninside the config file.For example: 'info "Memory" memory'
would be '--disable memory'
<pre>NOTE: You can supply multiple args. eg. 'neofetch --disable cpu
gpu'</pre></li>
<li>--colors [x x x x x x]: Changes the text colors in this order:
<pre> title, @, underline, sub-title, colon, info</pre></li>
<li> --underline [on/off]
Enable/Disable the underline.</li>
<li>--bold [on/off]
Enable/Disable bold text</li>
<li>--backend [backend]: Which image backend to use. Possible values:
<pre>'ascii', 'caca', 'jp2a', 'iterm2', 'off', 'sixel', 'tycat', 'w3m'</pre>
<li>--source [source]: Which image or ascii file to use. Possible values:
<pre>'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii',
'/path/to/dir/'</pre></li>
<li>--ascii [source]: Shortcut to use 'ascii' backend.</li>
</ul>

View File

@ -0,0 +1,36 @@
---
layout: page
category_title: Intermediate commands
category-page: intermediate
tags: bash shell terminal
author: Marco Farace
title: bash
---
<p>Bash is an sh-compatible command language interpreter that executes commands
read from the standard input or from a file. Bash also incorporates useful
features from the Korn and C shells (ksh and csh). Bash is intended to be a
conformant implementation of the Shell and Utilities portion of the IEEE POSIX
specification (IEEE Standard 1003.1).</p>
<h3> Flags </h3>
<ul>
<li>-c: If this option is present, then commands are read from
string. If there are arguments after the string, they are
assigned to the positional parameters, starting with $0.</li>
<li>-i: If this option is present, the shell is interactive.</li>
<li>-l: Make bash act as if it had been invoked as a login shell</li>
<li>-r: If this option is present, the shell becomes restricted</li>
<li>-s: If this option is present, or if no arguments remain after
option processing, then commands are read from the standard
input. This option allows the positional parameters to be
set when invoking an interactive shell.</li>
<li>-s: List only the name, line and time fields. This is the default.</li>
<li>-T: Print a character after the user name indicating the state of the
terminal line: `+' if the terminal is writable; `-' if it is not;
and `?' if a bad line is encountered.</li>
<li>-u: Print the idle time for each user, and the associated process ID.</li>
<li>am I: Returns the invoker's real user name.</li>
<li>file: By default, who gathers information from the file /var/run/utmpx.
An alternative file may be specified.</li>
</ul>