From edad441f9f783047ba54f8fed14ac1381505706c Mon Sep 17 00:00:00 2001
From: maggicl
The default editor that comes with the UNIX operating system is called
In the command mode, every character typed is a command that does
something to the text file being edited; a character typed in the
-command mode may even cause the vi editor to enter the insert mode.
In the insert mode, every character typed is added to the text in the
-file; pressing the {Esc} (Escape) key turns off the Insert mode.
While there are a number of vi commands, just a handful of these
is usually sufficient for beginning vi users. To assist such users,
this Web page contains a sampling of basic vi commands. The most
basic and useful commands are marked with an asterisk (* or star)
in the tables below. With practice, these commands should become
-automatic.
Both UNIX and vi are case-sensitive. Be sure not to use a
capital letter in place of a lowercase letter; the
-results will not be what you expect.
To use vi on a file, type in vi filename. If the file named
filename exists, then the first page (or screen) of the file
will be displayed; if the file does not exist, then an empty
diff --git a/site/pages/cmd/basic/4-man.html b/site/pages/cmd/basic/4-man.html
index 8baaa07..9841b1f 100644
--- a/site/pages/cmd/basic/4-man.html
+++ b/site/pages/cmd/basic/4-man.html
@@ -8,6 +8,7 @@ title: man
previous-page: pages/cmd/basic/3-ls.html
next-page: pages/cmd/basic/5-open.html
---
+
The vi
(visual editor).
The UNIX vi editor is a full screen editor and has two modes of operation:
+
+
+command mode may even cause the vi editor to enter the insert mode.
+
+file; pressing the {Esc} (Escape) key turns off the Insert mode.
+
+automatic.
+
+results will not be what you expect.
+How to start
+vi
man
tool allows you to explore the various utilities
of the Shell. To search for more information about a command, just write
As result, a new session will be opened with information about the command
you have typed (and more specifically about its functions and flags).
Using some flags, you can obtain with this command the same results you get
-when you use other commands.
+when you use other commands.
+
Both commands show the content of one or more files and it’s possible to do a research with
particular flags, but the “less” one allows us to go also backwards while reading the text
of a file.
More is quite old, less is more recent and powerful.
-General syntax for both is:
+General syntax for both is:
+
less [flags] path/name-file.* more [flags] path/name-file.*+
The command less
provides some useful commands to navigate and modify the file content.
-Commands does not include flags, which are included under Options.
+Commands does not include flags, which are included under Options.
+
Such commands must be used once the file has been displayed. They are not flags. For a single operation there can be multiple commands. +
ENTER RETURN e ^E j ^N CR
:
@@ -51,13 +57,14 @@ They are not flags. For a single operation there can be multiple commands.
Such commands must be used once the file has been displayed. They are not. For a single operation there can be multiple commands.
g < ESC-<
:
+ g < ESC-<
:
Go to line N, by default 1, if N is not specified. G > ESC->
:
+ G > ESC->
:
Go to line N, by default the last one , if N is not specified. t
:
Go to the (N-th) next tag. -D
flag (which stands for decode), you obtain as
diff --git a/site/pages/cmd/interm/neofetch.html b/site/pages/cmd/interm/neofetch.html
index 2afce37..0093910 100644
--- a/site/pages/cmd/interm/neofetch.html
+++ b/site/pages/cmd/interm/neofetch.html
@@ -9,6 +9,7 @@ previous-page: pages/cmd/interm/mount.html
next-page: pages/cmd/interm/pass.html
---
+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.
diff --git a/site/pages/cmd/interm/pass.html b/site/pages/cmd/interm/pass.html index 80110f7..9464ef9 100644 --- a/site/pages/cmd/interm/pass.html +++ b/site/pages/cmd/interm/pass.html @@ -29,7 +29,7 @@ system clipboard, erasing them after a certain number of seconds (usually
pass
has many unofficial GUI clients and migration scripts from
other password managers. For more information, check out
-the official website.
+the official website.
The strings command returns each string of printable characters (ASCII)
in files. Its main uses are to determine the contents of and to extract text
from binary files (i.e., non-text files). From the Shell manual: "find the
-printable strings in a object, or other binary, file".
+printable strings in a object, or other binary, file".
+
+Strings can be used to extract character information and string of a given length
from text file(s). When used without any options, strings displays all strings
that are at least four characters in length in the files whose names are
supplied as arguments (i.e., input data). Strings that are on separate lines
@@ -22,13 +25,15 @@ in the input files are shown on separate lines on the screen, and an attempt
is made to display all strings found on a single line in a file on a single
line on the screen (although there may be a carryover to subsequent lines in
the event that numerous strings are found on a single line). strings looks in
-all sections of the object files except the (__TEXT,__text) section.
+all sections of the object files except the (__TEXT,__text) section.
+
strings [options] file_name(s)-
The sync
utility force the completion of pending disk writes.
sync+
This command can be used to verify that there are no pending disk writes, so that all the operations are completed, before the processor is stopped by other commands. +