sudo /etc/init.d/apache2 restart
Category Archives: Linux
Command to install apache – Ubuntu linux
sudo apt-get install apache2
Command to install lamp – ubuntu Linux
sudo tasksel
Linux command to find out virtual memory PAGESIZE
getconf PAGESIZE
OR
getconf PAGE_SIZE
Linux command to check memory usage
free -m
How to move a directory / folder
mv source_dir des_dir
How to copy a directory / folder
cp -r source_dir sest_dir
How to remove/delete a directory / folder
rmdir dirName rm -r dirName rm -ir dirName
How to create a directory / folder
mkdir dirName
How to change permissions for a file/folder in Linux?
It can be done with the help of CHMOD command chmod [OPTION] MODE FILE/DIR-NAME. eg : chmod -R 777 file/fir-name