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
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the Multicast address used in STP ?
Which value in the "flags" field in the DHCP network database denotes that the evaluation of the DHCP lease is turned on ?
Which Protocol was developed to overcome limitations of EGP.
Which protocol translates IPs to MAC addresses ?
what is the difference between GSM and CDMA
True or Flase: domain names can contain the symbol "*" ?
cat cables types
How long is the "Destination Address" field in an Ethernet frame? a. 2 bytes b. 4 bytes c. 6 bytes d. 8 bytes
Which command would add a static entry to the arp table for the host server1 whose MAC address is 00:00:0c:07:ac:90 ?
Your class C network has been subnet-ed. Mask for the new subnets is 255.255.255.224. How many subnets and how many nodes per subnet can you have ?
what is the difference b/w CIDR AND VLSM?
You have a class B subnet. You would like divide it up into 5 more subnets by "subnetting". However you also have to have at least 6000 hosts per subnet. Can you do it ? a. Yes b. No.