Are the following shells interactive shells? Are they login shells?A shell opened by clicking on the background of your graphical desktop, selecting "Terminal"or such from a menu.¨¨ A shell that you get after issuing the command ssh localhost.¨ A shell that you get when logging in to the console in text mode.¨ A shell obtained by the command xterm &.¨ A shell opened by the mysystem.sh script.A shell that you get on a remote host, for which you didn't have to give the login and/orpassword because you use SSH and maybe SSH keys.¨
It's a very badly worded question. Hopefully that's not an indication of the quality of the book.
The could potentially all be interactive shells if they are sh, bash, ksh, csh, tcsh, zsh or any other interactive shell.
It's pointless to ask if a shell is a login shell or interactive shell as all login shells can potentially be an interactive shell. It does depend on the type of shell and the profile set up as to whether it is actually interactive.
0
Featured Post
Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell.
Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…