5926 Views
In the Linux file system to get the size of a directory, you need to calculate and sum all file size of that directory.
The command du is used for summarizing disk usage of each file, recursively for directories.
Get the size of a directory:
du -hs /path/to/directory
Here ...
Sheetal Kumar
Apr 04, 2020
6332 Views
To install Postgres in Ubuntu you need a VM Instance on Compute Engine. Connect your VM Instance using the SSH option then follow the steps below.
Step 1:
First, you need to install the Postgres package and a -contrib package that adds some additional utilities and functionality.
sudo ...
Sheetal Kumar
Apr 03, 2020
7769 Views
Linux server is very efficient to manage files and processes. Sometimes you need to take backup of files or need to download code to modify locally. In linux server to download files either you use ftp or scp. SCP stands for Secure copy protocol, that is a means of securely transferring ...
Sheetal Kumar
Mar 05, 2019
22974 Views
Linux server provides a terminal to manage the server. Sometimes you need to upload file or folder or directory on the Linux Server. Using your terminal, you can upload files and folder directly to your server by SCP command. Here we are providing the way to upload file on Linux Server using SCP.
The ...
Sheetal Kumar
Mar 05, 2019
18383 Views
Google Cloud Platform is a suite of public cloud computing services offered by Google. On google cloud, you can create a server instance and host different project or website there. After creating an instance you can connect Linux instance only from their web-based SSH panel. If you want to connect ...
Sheetal Kumar
Feb 28, 2019
21070 Views
On Linux server, you mostly face low memory issue, mostly on AWS instance free tier. When you want to install any new thing they need more free memory. If your server has 1 GB Ram and your application is required more than 1 GB memory to run then swap memory is very useful to resolve the memory issue ...
Sheetal Kumar
Mar 31, 2018
5209 Views
Linux uses chmod and chown to change access permission of directory and files.
Chmod is used for change mode for file and direcories. It changes access permission for all users in Linux.
Chown is used to get the ownership for file and derectory. It changes access permission for given user.
There ...
Sheetal Kumar
Jan 30, 2018