LPIC 103-1 Work on the command line

Содержание:

bash — GNU Bourne-Again SHell;

cat — concatenates files and print on the standard output;

cd — changes directory;

echo — displays a line of text;

env — lists all variables from current environment, can run a program in a modified environment;

exec — execute a file;

export — exports variable into environment;

history — shell history listing utility;

ls — shows directory content;

pwd — print name of current/working directory;

set — exports variable into environment;

touch — changes file timestamps;

unset — deexports variable from environment;

file — determine file type;

man — provides access to manual pages;

uname — print system information;

whatis — shows short description for utility ();

wildcards:

  • * — all symbol(s);
  • ? — one symbol;
  • ! — not;
  • [ac] — a or c;
  • [a-c] — a, b, c;
  • touch {6, 7, 8}.txt.

~/.bash_history — bash history (log) file;

~/.profile — current user settings file;

/etc/profile — default profile settings file.