Almquist shell trên CentOS 5

Trứng ốc bươu xanh

Trứng ốc bươu vàng

Almquist shell là 1 phiên bản nhỏ gọn hơn của Bourne shell (sh).

Almquist shell – A smaller version of the Bourne shell (sh)

Red Hat Enterprise Linux 5 không xài Almquist shell nên họ không đóng gói Almquist shell thành gói rpm để cài đặt.

Almquist shell được đóng gói rpm để cài trên CentOS 5 32 bit và 64 bit nhờ bên thứ 3 là kho DAG (DAG repository).

CentOS 6 7 8 9 không thấy có trên kho DAG.

Bạn có thể lấy gói ash từ link backup của chúng tôi ở đây

https://devsecops.edu.vn/wp-content/uploads/2024/01/ash-0.3.8-20.el5.rf.i386.rpm

https://devsecops.edu.vn/wp-content/uploads/2024/01/ash-0.3.8-20.el5.rf.x86_64.rpm

# lsb_release -a
LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd
Distributor ID: CentOS
Description:    CentOS release 5.11 (Final)
Release:        5.11
Codename:       Final

# cat /etc/issue
CentOS release 5.11 (Final)
Kernel \r on an \m

# cat /etc/issue.net
CentOS release 5.11 (Final)
Kernel \r on an \m

# cat /etc/redhat-release
CentOS release 5.11 (Final)

# uname -a
Linux DevSecOps-Edu-VN 2.6.18-398.el5 #1 SMP Tue Sep 16 20:50:52 EDT 2014 x86_64 x86_64 x86_64 GNU/Linux

# rpm -ivh ash-0.3.8-20.el5.rf.x86_64.rpm
warning: ash-0.3.8-20.el5.rf.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
   1:ash                    ########################################### [100%]

# rpm -qi ash
Name        : ash                          Relocations: (not relocatable)
Version     : 0.3.8                             Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
Release     : 20.el5.rf                     Build Date: Mon 31 May 2010 07:48:22 PM ICT
Install Date: Sat 27 Jan 2024 08:52:28 PM ICT      Build Host: lisse.hasselt.wieers.com
Group       : System Environment/Shells     Source RPM: ash-0.3.8-20.el5.rf.src.rpm
Size        : 942969                           License: BSD
Signature   : DSA/SHA1, Mon 31 May 2010 08:16:58 PM ICT, Key ID a20e52146b8d79e6
Packager    : Dag Wieers <dag@wieers.com>
Summary     : A smaller version of the Bourne shell (sh).
Description :
A shell is a basic system program that interprets keyboard and mouse
commands. The ash shell is a clone of Berkeley's Bourne shell
(sh). Ash supports all of the standard sh shell commands, but is
considerably smaller than sh. The ash shell lacks some Bourne shell
features (for example, command-line histories), but it uses a lot less
memory.

You should install ash if you need a lightweight shell with many of
the same capabilities as the sh shell.

# cat /etc/shells
/bin/sh
/bin/bash
/sbin/nologin
/bin/tcsh
/bin/csh
/bin/ksh
/bin/ash
/bin/bsh