Few Basic Linux Commands:
Here I'm giving few Linux commands, which will be useful to those who are newly started working on Linux.
1. To check if SW raid is configured on server or not:
#mdadm --examine --scan
or
#cat /proc/mdstat
2. To check if HW raid is configured on server or not
#lspci -vv | grep -i raid;
OR
# cat /proc/driver/cciss/cciss[0-1]
3. To get FQDN of server:
#cat /etc/hosts
or
# cat /etc/resolv.conf
4. To change keyboard language in console
#loadkeys us --> In french keyboard key q comes at the place of key a
5. Command to check TEM relay service
#service besrelay status
Here I'm giving few Linux commands, which will be useful to those who are newly started working on Linux.
1. To check if SW raid is configured on server or not:
#mdadm --examine --scan
or
#cat /proc/mdstat
2. To check if HW raid is configured on server or not
#lspci -vv | grep -i raid;
OR
# cat /proc/driver/cciss/cciss[0-1]
3. To get FQDN of server:
#cat /etc/hosts
or
# cat /etc/resolv.conf
4. To change keyboard language in console
#loadkeys us --> In french keyboard key q comes at the place of key a
5. Command to check TEM relay service
#service besrelay status
Thanks...
Kiran Jadhav
**Let's Share knowledge and keep visiting here**
No comments:
Post a Comment