Add following code in the HTML code where other style code is written,
Use Edit HTML in custmization
#navbar-iframe {
height:0px;
visibility:hidden;
display:none;
}
Linux Tips - Tricks
http://www.PaisaLive.com/register.asp?2965732-3938426
Hide Navigation Bar of the Blog
Posted by
Vikas Sharma
at
11:28 AM
Commands giving user information
Posted by
Vikas Sharma
at
2:07 PM
* w --- tells you who's logged in, and what they're doing. Especially useful: the 'idle' part. This allows you to see whether they're actually sitting there typing away at their keyboards right at the moment.
* who --- tells you who's logged on, and where they're coming from. Useful if you're looking for someone who's actually physically in the same building as you, or in some other particular location.
* finger username --- gives you lots of information about that user, e.g. when they last read their mail and whether they're logged in. Often people put other practical information, such as phone numbers and addresses, in a file called .plan. This information is also displayed by 'finger'.
* last -1 username --- tells you when the user last logged on and off and from where. Without any options, last will give you a list of everyone's logins.
* talk username --- lets you have a (typed) conversation with another user
* write username --- lets you exchange one-line messages with another user
* elm --- lets you send e-mail messages to people around the world (and, of course, read them). It's not the only mailer you can use, but the one we recommend. See the elm page, and find out about the departmental mailing lists (which you can also find in /user/linguistics/helpfile).
* who --- tells you who's logged on, and where they're coming from. Useful if you're looking for someone who's actually physically in the same building as you, or in some other particular location.
* finger username --- gives you lots of information about that user, e.g. when they last read their mail and whether they're logged in. Often people put other practical information, such as phone numbers and addresses, in a file called .plan. This information is also displayed by 'finger'.
* last -1 username --- tells you when the user last logged on and off and from where. Without any options, last will give you a list of everyone's logins.
* talk username --- lets you have a (typed) conversation with another user
* write username --- lets you exchange one-line messages with another user
* elm --- lets you send e-mail messages to people around the world (and, of course, read them). It's not the only mailer you can use, but the one we recommend. See the elm page, and find out about the departmental mailing lists (which you can also find in /user/linguistics/helpfile).
Message on the terminal.
Posted by
Vikas Sharma
at
4:05 PM
Mesg X blinking on all your consoles.
Add these in ~/.profile
mesg X
[ `who -T |grep "$LOGNAME\ *+" |wc -l` -ge 1 ] && mesg X
Add these in ~/.profile
mesg X
[ `who -T |grep "$LOGNAME\ *+" |wc -l` -ge 1 ] && mesg X
Linux command similar to history, list last used commands.
Posted by
Vikas Sharma
at
1:05 PM
accton, lastcomm - accouting on and last command. This is
a way to monitor users on your system. As root, you
would implement this as follows:
$ accton -h
Usage: accton [-hV] [file]
[--help] [--version]
The system's default process accounting file is /var/account/pacct.
Note the default file location is /var/account/pacct so we'll turn
it on system wide with the following command.
$ accton /var/account/pacct
Now take a look at this file. It will grow. To see command that
are executed, use the lastcomm command.
$ lastcomm
The above command gives output for all users. To get the data
for user "chirico" execute the following command:
$ lastcomm --user chirico
You can also get a summary of commands with sa.
[chirico@big ~]$ sa
30 5.23re 0.00cp 10185k
11 4.83re 0.00cp 8961k ***other
8 0.13re 0.00cp 19744k nagios*
4 0.00re 0.00cp 2542k automount*
3 0.00re 0.00cp 680k sa
2 0.13re 0.00cp 17424k check_ping
2 0.13re 0.00cp 978k ping
To turn off accounting, execute accton without a filename.
$ accton
a way to monitor users on your system. As root, you
would implement this as follows:
$ accton -h
Usage: accton [-hV] [file]
[--help] [--version]
The system's default process accounting file is /var/account/pacct.
Note the default file location is /var/account/pacct so we'll turn
it on system wide with the following command.
$ accton /var/account/pacct
Now take a look at this file. It will grow. To see command that
are executed, use the lastcomm command.
$ lastcomm
The above command gives output for all users. To get the data
for user "chirico" execute the following command:
$ lastcomm --user chirico
You can also get a summary of commands with sa.
[chirico@big ~]$ sa
30 5.23re 0.00cp 10185k
11 4.83re 0.00cp 8961k ***other
8 0.13re 0.00cp 19744k nagios*
4 0.00re 0.00cp 2542k automount*
3 0.00re 0.00cp 680k sa
2 0.13re 0.00cp 17424k check_ping
2 0.13re 0.00cp 978k ping
To turn off accounting, execute accton without a filename.
$ accton
Subscribe to:
Posts (Atom)