181 reputation
2
bio website
location
age
visits member for 1 year, 7 months
seen May 25 '13 at 19:50

Jan
28
awarded  Supporter
Sep
2
comment What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?
The shell is indeed the outer shell of the kernel (protection or none), it deals with user<-->kernel interaction. The shell allows the user to perform kernel calls; primarily the focus here is on the ability to execute other programs interactively, because once you can execute programs you may run editors and compilers to produce programs to deal with the rest of the kernel calls. Generally file browsers like Nautilus are also shells, although perhaps not in full right, as they mostly don't support supplying custom arguments, but they are shells none the less.
Sep
2
awarded  Teacher
Sep
2
comment Get default ubuntu motd in fish shell
The story goes: When the machine boots, all the scripts in /etc/update-motd.d are run to produce /etc/motd, thenafter whenever you start a login shell, through say ssh, the login shell (in this case bash) will display the contents of /etc/motd. So bash does not execute any scripts itself, it just displays the contents of /etc/motd when you log in. You can have any shell do that, if the shell won't do it by default, just add cat /etc/motd to the *rc-file of that shell. See my answer above for how to do that in fish shell. If what you really want is to change shell to fish, simply chsh
Aug
30
comment Get default ubuntu motd in fish shell
indeed, those are not executed by the bash shell, but by the boot procedure. In some cases they will also be the package manager or similar to let you know that there are updates, etc. to run them manually run: run-parts --lsbsysinit /etc/update-motd.d > /run/motd
Aug
30
answered How do you colorize only some keywords for a bash script?
Aug
30
comment Curl not found (Glype)
a link to a pastebin of the error might be nice :)
Aug
29
answered Get default ubuntu motd in fish shell