[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Reporting missing package during install



On Thu, 2013-12-12 at 22:14 +0900, Osamu Aoki wrote:
> 'sudo sh' is as easy on finger (no shift) and do not feel as bad.  

Doesn't it have any side-effects?

I wonder about the prompt of an Arch Linux install.

[rocketmouse@archlinux ~]$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Aug 25 14:06 /bin/sh -> bash
[rocketmouse@archlinux ~]$ sudo sh
sh-4.2# exit
[rocketmouse@archlinux ~]$ sudo bash
[root@archlinux rocketmouse]# exit
[rocketmouse@archlinux ~]$ sudo dash
# [rocketmouse@archlinux ~]$
  ^^^ after Ctrl + D no exit is displayed

And about the prompt of a *buntu Saucy install.

rocketmouse@saucy:~$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Nov 22 02:00 /bin/sh -> dash
rocketmouse@saucy:~$ sudo sh
# 
rocketmouse@saucy:~$ sudo dash
# 
rocketmouse@saucy:~$ sudo bash
root@saucy:~# exit
rocketmouse@saucy:~$

Always exited by Ctrl + D.

I'll install Debian within the next days, don't know how it does behave by default.


Reply to: