Complete Linux for beginners Part-2

1. df    Shows the disk file system space

df -h    Shows the disk file system space in human readable format.

2. df -k          Shows disk space in kb

3. df -m         Shows disk space in MB.

4. df -T         Shows file system types.

5. df -t           Uses to display disk space usage info one at a time specific file systems

                      Syntax:     df -t xfs

6. du              To check disk space.

7. dush        To check used disk space by any file or Dir.

8. ifconfig       To check IP address till linux 6 only.

9. ip a              To check IP address from linux 6 to latest versions.

10.hostname    To check hostname of the server.

11. hostname –i    To check the IP address of the server.

12. mkdir             To make new empty directories.

13. rmdir              To remove empty directories only.

14. rm –rf            To delete  directories with data.

15  cp                   To copy any file directory from one location to another location locally.

16.  mv                To move any file/directory from one location to another location locally.

17.  adduser           To add users till linux -6 version.

18.  useradd           To add users above linux -6 version to latest versions.

19.  passwd           To change or update passwords of existing users in linux.

20.  userdel             To delete existing user

Comments

Popular posts from this blog

Come to learn complete Linux from beginning