For different commands, there can be different parameter options and i can be one of them.
By checking the help you can understand the meaning of each of them. This can be done by
man command-> will show the manual page of the command
or
command -horcommand --help-> will show the help page
Try with sudo instead of command, you will understand what I am saying.
For different commands, there can be different parameter options and i can be one of them.
By checking the help you can understand the meaning of each of them. This can be done by
man command-> will show the manual page of the command
or
command -horcommand --help-> will show the help page
Try with sudo instead of command, you will understand what I am saying.
ssh -i identity_file A file from which the identity key (private key) for public key authentication is read.
sudo -i -(simulate initial login) option runs the shell specified by the password database entry of the target user as a login shell. This means that login-specific resource files such as .profile or .login will be read by the shell. If a command is specified, it is passed to the shell for execution via the shell's -c option. If no command is specified, an interactive shell is executed. sudo attempts to change to that user's home directory before running the shell. The security policy shall initialize the environment to a minimal set of variables, similar to what is present when a user logs in. The Command Environment section in the sudoers(5) manual documents how the -i option affects the environment in which a command is run when the sudoers policy is in use.
Hey guys! So I'm pretty new to the Linux Admin game compared to most and I'm in need of a killer reference for Linux commands. Specifically, I could really use some guidance on the ol' reliable command ls and all the different switch combos to help me tweak the output. But let's be real, there are probably tons of other useful commands that I'm totally in the dark about. Any recommendations for books, sites, or PDFs that could help me out? Thanks in advance!