Type the following command with count being equal to the desired block size: dd if=/dev/zero of=/extraswap bs=1M count=4024 Setup the swap file with the command: mkswap /extraswap To enable the swap file immediately but not automatically at boot time: swapon...
Tag: aws
aws
How to find the IP address of an amazon EC2
Question : How to find the IP address of an amazon EC2 by using linux command Ans : If you run "ifconfig –a" on an amazon ec2 instance (linux), it will give you the internal IP address, which is not...