CIDR Calculator
Calculate network address, broadcast, subnet mask, and usable hosts from an IP/CIDR.
Set file permissions with checkboxes and convert between octal notation, symbolic notation, and a chmod command.
This tool lets you set and inspect Linux/UNIX file permissions through intuitive checkboxes. It automatically converts between octal and symbolic notation and generates a ready-to-copy chmod command.
chmod commandrwxr-xr-x shown by ls -l) actually meanIt represents permissions as a 3-digit number (or 4 digits with special permissions) where read (r) = 4, write (w) = 2, and execute (x) = 1, summed separately for owner, group, and other. For example, "rwxr-xr-x" becomes "755".
setuid (4000) makes a file run with the owner's privileges rather than the executing user's. setgid (2000) makes new files inherit the group. The sticky bit (1000), typically set on directories, prevents users other than the owner from deleting files within it.
755 (rwxr-xr-x) grants the owner read/write/execute and grants group/other read/execute — commonly used for executables and directories. 644 (rw-r--r--) grants the owner read/write and grants group/other read-only — commonly used for regular text files.
The first character indicates the file type (- for a regular file, d for a directory, l for a symbolic link). The following 9 characters represent owner/group/other permissions in rwx order, with "-" marking an absent permission.