-
Useful docker commands 1docker run (-d) - Run a command in a new container 2docker attach - Attach to a running container 3docker start - Start one or more stopped containers 4docker stop - Stop one or more running containers 5docker ps -a - List containers 6docker images - List images 7docker inspect - Return …
Read More -
CSS - Cascading Style Sheets is a style sheet language used for describing the presentation of a document written in a markup language such as HTML. Syntax: CSS consists of a selector and a declaration block. 1selector { 2 property: value; 3} Selectors: CSS selector - selects the HTML element(s) you want to style. html …
Read More -
Files and Directories pwd - print name of current/working directory touch - change file timestamps mkdir - make directories -p, --parents - no error if existing, make parent directories as needed ls - list directory contents -a, --all - do not ignore entries starting with -d, --directory - list directories themselves, …
Read More -
ElastiFlow: Monitoring network traffic with Netflow and ELK Stack and OpenWRT (Deprecated)
Setup NetFlow on OpenWRT NetFlow is a network protocol system created by Cisco that collects active IP network traffic as it flows in or out of an interface. In my case all traffic runs from router with OpenWRT. To activate netflow monitoring we need to install softflowd package. softflowd - is a software …
Read More -
Linux containers often considered as something in the middle between a chroot and a full fledged virtual machine. The goal of LXC is to create an environment as close as possible to a standard Linux installation but without the need for a separate kernel. LXD is a system container and virtual machine manager. It offers …
Read More -
Base on: Linux System Administrator/DevOps Interview Questions This page contains ideas on how to answer questions. The answers are not absolutely accurate, please, consider to double-check yourself. What is localhost and why would ping localhost fail? localhost is a hostname that refers to the current computer used to …
Read More -
Base on: Linux System Administrator/DevOps Interview Questions This page contains ideas on how to answer questions. The answers are not absolutely accurate, please, consider to double-check yourself. How do you create a user? 1CREATE USER 'user_name'@'localhost' IDENTIFIED BY 'password'; How do …
Read More -
Base on: Linux System Administrator/DevOps Interview Questions This page contains ideas on how to answer questions. The answers are not absolutely accurate, please, consider to double-check yourself. What do the following commands do and how would you use them? tee - read from standard input and write to standard …
Read More -
Base on: Linux System Administrator/DevOps Interview Questions This page contains ideas on how to answer questions. The answers are not absolutely accurate, please, consider to double-check yourself. What is the name and the UID of the administrator user? root UID (user identifier) is a number assigned by Linux to each …
Read More