Tuesday, 31 July 2012
Saturday, 28 July 2012
Friday, 27 July 2012
How to give a temporary ip address in your system
For temporary network configuration you have to use 'ifconfig' command. This command configures the setting immediately and will b lost after a reboot.
$ sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0
Here we are configuring to eth0. After this command to check the present network interface you have to type the command
$ ifconfig eth0
Then will give the details of the eth0 ( example is show figure below)
$ sudo ifconfig eth0 192.168.1.2 netmask 255.255.255.0
Here we are configuring to eth0. After this command to check the present network interface you have to type the command
$ ifconfig eth0
Then will give the details of the eth0 ( example is show figure below)
Thursday, 26 July 2012
How to print the user id, group id, effective id and the supplementary groups
To print the user id (uid) and group id (gid), effective id (if different than the real id) and the supplementary groups.
$ id username
`id' prints information about the given user, or the process running it
if no user is specified.By default, it prints the real user ID, real group ID, effective user ID if different from the real user ID, effective group ID if
different from the real group ID, and supplemental group IDs. In addition,
if SELinux is enabled and the `POSIXLY_CORRECT' environment variable
is not set, then print `context=C', where C is the security context.
$ id username
`id' prints information about the given user, or the process running it
if no user is specified.By default, it prints the real user ID, real group ID, effective user ID if different from the real user ID, effective group ID if
different from the real group ID, and supplemental group IDs. In addition,
if SELinux is enabled and the `POSIXLY_CORRECT' environment variable
is not set, then print `context=C', where C is the security context.
Wednesday, 25 July 2012
Subscribe to:
Comments (Atom)






