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


Please Help Members By Posting Answers For Below Questions

Suppose if a network which contains two servers and twenty workstations, where is the best place to install an anti-virus program?

694


Define mac addresses?

700


Whether the default hello timer value is same across STP,RSTP and MSTP

2388


Tell me what advantages does fiber optics have over other media?

661


What is looping and how switching loops are avoided at L2 level?

1653






I am using solaris box, I need to delete a file from path /usr/tmp/ which r older than 24 hours?

1498


Define ipconfig?

653


Explain backbone network?

664


Explain the use of a default gateway?

633


Define ipv6?

691


What characterizes a professional network administrator?

610


What is nat?

680


Define proxy servers and how do they protect computer networks?

678


How would you monitor and maintain the local area network, email, internet & intranet systems to ensure data security and prevent occurrence of faults?

1904


Explain the Vlan tag information.

1523