How do you show which page you’re on (in a menu)?

How do you show which page you’re on (in a menu)?

If PHP is not available to you, you could use the cascade. Put an id in your body tags and an id in each of your ‘a’ tags for the links.
Let’s say on page one you have this:

CSS
<body id="page1">
….
<a id="page1link" href="page1.htm">page one</a>

</body>

In your CSS, you [...]

How do I move the list bullet to the left/right?

How do I move the list bullet to the left/right?
CSS1 has no properties for setting margins or padding around the bullet of a list item and in most cases the position of the bullet is browser-dependent. This is especially true since most browsers disagreed on whether a bullet is found within the margin or padding [...]

How to terminate a process which is running and the specialty on command kill 0?

How to terminate a process which is running and the specialty on command kill 0?
With the help of kill command we can terminate the process.
Syntax: kill pid
Kill 0 – kills all processes in your system except the login shell.
What is a pipe and give an example?
A pipe is two or more commands separated by pipe [...]

Is ‘du’ a command? If so, what is its use?

Is ‘du’ a command? If so, what is its use?
Yes, it stands for ‘disk usage’. With the help of this command you can find the disk capacity and free space of the disk.
Is it possible to count number char, line in a file; if so, How?
Yes, wc-stands for word count.
wc -c for counting number of [...]

What is the use of ‘grep’ command?

What is the use of ‘grep’ command?
‘grep’ is a pattern search command. It searches for the pattern, specified in the command line with appropriate option, in a file(s).
Syntax : grep
Example : grep 99mx mcafile
What is the difference between cat and more command?
Cat displays file contents. If the file is large the contents scroll off [...]

What does the command ‘ $who | sortlogfile > newfile’ do?

What does the command ‘$who | sort logfile > newfile’do?
The input from a pipe can be combined with the input from a file . The trick is to use the special symbol ‘(a hyphen)’ for those commands that recognize the hyphen as std input.
In the above command the output from who becomes the std [...]

Construct pipes to execute the following jobs.

Construct pipes to execute the following jobs.
1. Output of who should be displayed on the screen with value of total number of users who have logged in displayed at the bottom of the list.
2. Output of ls should be displayed on the screen and from this output the lines containing the word ‘poem’ should be [...]

In what way the protection fault handler concludes?

In what way the protection fault handler concludes?
After finishing the execution of the fault handler, it sets the modify and protection bits and clears the copy on write bit. It recalculates the process-priority and checks for signals.
How the Kernel handles both the page stealer and the fault handler?
The page stealer and the fault handler thrash [...]

What are states that the page can be in, after causing a page fault?

What are states that the page can be in, after causing a page fault?
On a swap device and not in memory,
On the free page list in the main memory,
In an executable file,
Marked ‘demand zero’,
Marked ‘demand fill’.
In what way the validity fault handler concludes?
It sets the valid bit of the page by clearing the modify bit.
It [...]

What are the phases of swapping a page from the memory?

What are the phases of swapping a page from the memory?
Page stealer finds the page eligible for swapping and places the page number in the list of pages to be swapped. Kernel copies the page to a swap device when necessary and clears the valid bit in the page table entry, decrements the pfdata reference [...]