Error – ifconfig command is not found !!! lsmod command is not found !!! insmod command is not found !!! list sbin directory content ( ls /sbin). ifconfig will be there . Solution – export PATH=$PATH:/sbin Now try the commands (ifconfig , lsmod or insmod) …. 🙂 Permanent fix – Add the line export PATH=$PATH:/sbin into .bashrc file in yourContinue reading “[Linux][Bash]how to export the commands in sbin to PATH variable”
Monthly Archives: October 2012
[Linux]Info about halt command
halt command in the system alias to run level 0 when you run halt command , actually “init 0″ command is executing . run level 0 is halt . halt -p -> poweroff
[Linux]info about reboot command
reboot command in the system alias to run level 6 when you run reboot command , actually “init 6” command is executing . run level 6 is reboot .
[Linux][Fedora]cSharp for linux
Download tar file for mono software from http://download.mono-project.com/sources/ Follow the steps given by http://www.csharphelp.com/2006/09/getting-started-with-c-on-linux/
[Linux]how to delete all the files having same name from a directory which is having multiple directories inside
rm `find -name filename`
[Linux]How to know compiler info from the binary executable
There are two methods . Both will give the same result objdump -s –section .comment binary Using readelf command readelf -S binary -> which will display the 40 section headers in the binary . Note the serial number of .comment section header. In my system , it showed as 27 (may be different forContinue reading “[Linux]How to know compiler info from the binary executable”
[Linux]how to find the commandline parameters passed to vmlinuz from linux
cat /proc/cmdline – > will show the command line arguments passed while booting linux