Tag: Linux

[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
Read More

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
Read More

killall [Command]

Command killall killall command kills all active processes. Syntax killall [options] Options view option kill command Description Command killall kills all active processes. Implied value send a signal
Read More

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
Read More

top [Command]

Command top Displays a list of currently executing processes, ordered by the percentage use of CPU time. Syntax top [q] [d interval] Options q: requires top performance with
Read More

pstree [Command]

Command pstree Displays all running processes in a tree. Syntax pstree [options] [process_id] Options -a displays the command line arguments. -c does not compress the subtrees. -l displays
Read More

ps [Command]

Command ps Displays the status of processes (programs) running in the system. Syntax ps [options] Options [notice]Note that unlike other commands ps command options do not have a
Read More