Linux - 菜鸟学习 - 一
系统软件安装
1、wget
raing@linux:~$ wget --help GNU Wget 1.21.4, a non-interactive network retriever. Usage: wget [OPTION]... [URL]...
Mandatory arguments to long options are mandatory for short options too.
Startup: -V, --version display the version of Wget and exit -h, --help print this help -b, --background go to background after startup -e, --execute=COMMAND execute a `.wgetrc'-style command
2、zip,unzip
root@linux:~# apt install zip Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: unzip The following NEW packages will be installed: unzip zip
3、ftp
root@linux:~# apt install vsftpd -y Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: ssl-cert The following NEW packages will be installed: ssl-cert vsftpd
-- 修改配置文件 nano /etc/vsftpd.conf
local_enable=YES write_enable=YES
-- 启动服务 systemctl start vsftpd systemctl status vsftpd systemctl enable vsftpd systemctl restart vsftpd
-- 检查监听 root@linux:~# netstat -an | grep -w 21 tcp6 0 0 :::21 ::😗 LISTEN
-- 本地pc登录查看 ftp://192.168.xxx.xxx/
4、csh
root@linux:/bin# ls |grep csh root@linux:/bin# root@linux:/bin# apt install csh -y Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: csh
--创建csh用户 root@linux:/etc# useradd -m -g 1000 -d /home/raing1 -s /bin/csh raing1 root@linux:/etc# passwd raing1
-- 手动添加 .cshrc 文件 linux% ls -al total 28 drwxr-x--- 2 raing1 raing 4096 Sep 4 06:42 . drwxr-xr-x 4 root root 4096 Sep 4 06:38 .. -rw-r--r-- 1 raing1 raing 220 Mar 31 2024 .bash_logout -rw-r--r-- 1 raing1 raing 3771 Mar 31 2024 .bashrc -rw-r--r-- 1 raing1 raing 20 Sep 4 06:42 .cshrc -rw-r--r-- 1 raing1 raing 807 Mar 31 2024 .profile -rw------- 1 raing1 raing 726 Sep 4 06:42 .viminfo linux% vi .cshrc
5、dos2unix
root@linux:/etc# apt install dos2unix -y Reading package lists... Done Building dependency tree... Done Reading state information... Done The following NEW packages will be installed: dos2unix

浙公网安备 33010602011771号