Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
disk:disksusage [2021/03/24 11:29] urgias |
disk:disksusage [2021/03/24 11:46] urgias |
||
---|---|---|---|
Line 7: | Line 7: | ||
\\ | \\ | ||
- | ===== YOUR MAIN DIRECTORY (home) ===== | + | ===== YOUR HOME DIRECTORY ===== |
- | ==== Your main directory (home) on SISSA: ==== | + | ==== Your home directory in SISSA: ==== |
- | After login (when your username and password are accepted) you have access to your main directory (home): \\ | + | After login (when your username and password are accepted) you have access to your home directory: \\ |
**/u///your_surname_initial/your_username//** For example:// /u/a/atena // \\ | **/u///your_surname_initial/your_username//** For example:// /u/a/atena // \\ | ||
- | If you change your working directory, you can return to your main directory using the **cd** command without any additional option or name.\\ | + | If you change your working directory, you can return to your home directory using the **cd** command without any additional option or name.\\ |
- | You can use the **pwd** command to view which is your main directory (the **pwd** command prints the path of your working directory, the directory where you are currently in).\\ | + | You can use the **pwd** command to view which is your home directory (the **pwd** command prints the path of your working directory, the directory where you are currently in).\\ |
- | == Your main directory: == | + | == Your home directory: == |
* is regularly saved ( " backed up " ); | * is regularly saved ( " backed up " ); | ||
Line 30: | Line 30: | ||
\\ | \\ | ||
---- | ---- | ||
- | Using the **//SFTP service//**, the path of your main directory (home) is a bit different. For more information, please read the section on [[on-line_resources:faq:server-ssh-sftp#SFTP access: sftp.sissa.it|SFTP access: sftp.sissa.it]] of the [[on-line_resources:faq:server-ssh-sftp|Common Access server]]. | + | Using the **//SFTP service//**, the path of your home directory is a bit different. For more information, please read the section on [[on-line_resources:faq:server-ssh-sftp#SFTP access: sftp.sissa.it|SFTP access: sftp.sissa.it]] of the [[on-line_resources:faq:server-ssh-sftp|Common Access server]]. |
Line 56: | Line 56: | ||
==== Check files and directory sizes ==== | ==== Check files and directory sizes ==== | ||
- | To see how many blocks are used by your directories and files (start first from your main directory): | + | To see how many blocks are used by your directories and files (start first from your home directory): |
* including only normal directories and files: **du -sk * ** | * including only normal directories and files: **du -sk * ** | ||
* including also hidden directories and files: **du -sk .[a-z]* ** | * including also hidden directories and files: **du -sk .[a-z]* ** | ||
Line 74: | Line 74: | ||
**cd //subdirectoryname//** \\ | **cd //subdirectoryname//** \\ | ||
- | To return in you main directory use **cd **\\ | + | To return in you home directory use **cd **\\ |
\\ | \\ | ||
=== Remove files === | === Remove files === |