1. Where is that value controlled?
2. What value does spawn return?
3. What is DNS?
4. How do you take a single line of input from the user in a
shell script?
5. How do you create a swapfile?
6. what do you mean by server
Answer Posted / imnoor
To add a swap file:
Determine the size of the new swap file in megabytes and multiply by 1024 to determine the number of blocks. For example, the block size of a 64 MB swap file is 65536.
At a shell prompt as root, type the following command with count being equal to the desired block size:
dd if=/dev/zero of=/swapfile bs=1024 count=65536
Setup the swap file with the command:
mkswap /swapfile
To enable the swap file immediately but not automatically at boot time:
swapon /swapfile
To enable it at boot time, edit /etc/fstab to include the following entry:
/swapfile swap swap defaults 0 0
The next time the system boots, it enables the new swap file.
After adding the new swap file and enabling it, verify it is enabled by viewing the output of the command cat /proc/swaps or free.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Purpose of TTL. How it gets modified.
Explain how to securing a computer network?
What do you use to write documentation? Editor? Mail reader?
what is the diff between LLT,GAB&TCP/IP?
How many types of booting process in Solaris
Unable to connect to local DB
What will happen if we send untagged packet to a tagged port
Define proxy servers?
Tell me which protocol can be applied when you want to transfer files between different platforms, such between unix systems and windows servers?
What is mac addresses?
What is tunnel mode?
Give the function of the osi session layer?
Explain backbone network?
How frequent the STP information will be exchanged
Scenario: “In a switch two hosts are connected to port number 1 and 2 respectively; both the ports are configured with same VLAN id. When data is sent from one host to another, in switch VLAN tagging will happen or not? Why?”