How to change the login shell?
Answer:
To change the current user login shell, use the following command
e.g. change to /bin/sh
chsh -s /bin/sh
Logout and login again.
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to change the login shell?
Answer:
To change the current user login shell, use the following command
e.g. change to /bin/sh
chsh -s /bin/sh
Logout and login again.
Find out the CPU model in Linux
Answer:
You can find the CPU information at /proc/cpuinfo
# grep "model name" /proc/cpuinfo
model name : Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz
Search for a software/package to install using aptitude
Answer:
To search for a software/package to install under Debian/Ubuntu is easy with aptitude
# sudo aptitude search php5-xdebug
i php5-xdebug - Xdebug Module for PHP 5
Find the number of running processes on your system
Answer:
With a simple command, you can find the number of running processes on your system.
# ps ax | wc -l | tr -d " "
64
Show current Linux distribution and version information
Answer:
Try the following command in shell.
# head -n1 /etc/issue
Ubuntu 8.10 \n \l