Tag: Linux

Ubuntu operating system

[Manual] /var/log/messages does not exist in Ubuntu

Enabling /var/log/messages in Ubuntu Edit file /etc/rsyslog.d/50-default.conf and uncomment following lines. *.=info;*.=notice;*.=warn;\ auth,authpriv.none;\ cron,daemon.none;\ mail,news.none -/var/log/messages daemon.*;mail.*;\ news.err;\ *.=debug;*.=info;\ *.=notice;*.=warn |/dev/xconsole After that restart rsyslog: sudo restart rsyslog

Shell types

sh or Bourne Shell – the original shell still used on UNIX systems and in UNIX related environments. This is the basic shell, a small program with few features. When in POSIX-compatible mode, bash will …
Linux, Unix, cli, Command,

killall [Command]

Command killall killall command kills all active processes. Syntax killall Options view option kill command Description Command killall kills all active processes. Implied value send a signal equal to 9 (signal destruction).
Linux, Unix, cli, Command,

uptime [Command]

Command uptime Displays the time of continuous operation of the system. Syntax uptime Description uptime utility displays the current time, time of continuous operation of the system, the number of users in the system and …
Linux, Unix, cli, Command,

top [Command]

Command top Displays a list of currently executing processes, ordered by the percentage use of CPU time. Syntax top Options q: requires top performance with the highest possible priority (for this you should …
Linux, Unix, cli, Command,

pstree [Command]

Command pstree Displays all running processes in a tree. Syntax pstree Options -a displays the command line arguments. -c does not compress the subtrees. -l displays a long line. -n sorts the processes …
Linux, Unix, cli, Command,

ps [Command]

Command ps Displays the status of processes (programs) running in the system. Syntax ps Options Note that unlike other commands ps command options do not have a prefix “-“. a display processes of other …