echo "alias sudo='sudo env PATH=$PATH'" >> ~/.bashrc
Showing posts with label System. Show all posts
Showing posts with label System. Show all posts
Saturday, May 5, 2012
How to make stable $PATH when using sudo command?
To make your sudo commands works with the $PATH of your logged-in user you just type the following command and then close all your terminals and login again:
Monday, March 16, 2009
How to learn linux system(hardware) properties?
To learn system(hardware,sofware) properties linux has such commands:
Operating System Version:
Aktive System Resource Usages:
(all users and all activity)
(specified user)
Operating System Version:
uname -rMemory Information:
cat /proc/meminfoCPU Information:
cat /proc/cpuinfoEasy Way(smart info):
uname -rs;less /proc/meminfo grep MemTotal;less /proc/cpuinfo grep
"model name"
Aktive System Resource Usages:
(all users and all activity)
top -s
(specified user)
top -u username
Subscribe to:
Posts (Atom)