Custom linux command created as part of assignment for hiring process of XenonStack.
man internsctl
Displays the complete manual for this command.
internsctl --help
Shows format and options for this command along with usage.
internsctl --version
Displays version of command.
internsctl cpu getinfo
Displays CPU information.
internsctl memory getinfo
Displays memory information.
internsctl user create <username>
Creates a user with as his username.
internsctl user list
Displays list of all regular users.
internsctl user list --sudo-only
Displays list of users with superuser access.
internsctl file getinfo <file-name>
Displays file information in the following format:
File: hellot.txt
Access: -rw-r--r--
Size(B): 5448
Owner: xenonstack
Modify: 2020-10-07 20:34:44.616123431 +0530
internsctl file getinfo [options] <file-name>
Displays only the selected attribute of the file. These attributes include:
--size, -s to print size
--permissions, -p print file permissions
--owner, o print file owner
--last-modified, m