#### ls
[root@hmm opt]# ls
containerd hadoop.txt
#### cd
[root@hmm ~]# cd …
[root@hmm /]# cd ~
[root@hmm ~]# cd -
/
#### mkdir
[root@hmm /]# mkdir 0503
[root@hmm /]# ls
0503 boot etc lib media opt root sbin sys usr
bin dev home lib64 mnt proc run srv tmp var
#### rm
[root@hmm /]# ls
0503 boot etc lib media opt root sbin sys usr
bin dev home lib64 mnt proc run srv tmp var
[root@hmm /]# rm -rf 0503/
[root@hmm /]# ls |grep 0503
···
cp
[root@hmm /]# cd /opt/
[root@hmm opt]# ls
containerd hadoop.txt
[root@hmm opt]# cp hadoop.txt /root/hmmmmm
[root@hmm opt]# ls /root/hmmmmm
/root/hmmmmm
cat
[root@hmm opt]# cat hadoop.txt
yun3 hmm
tar
[root@hmm opt]# tar -cvf hmm.tar hadoop.txt
hadoop.txt
[root@hmm opt]# ls
containerd f g hadoop.txt hmm.tar
[root@hmm opt]# ls
containerd hadoop.txt hmm.tar
useradd
[root@hmm opt]# useradd hmm
passwd
[root@hmm opt]# passwd hmm
Changing password for user hmm.
New password:
BAD PASSWORD: The password is shorter than 8 characters
Retype new password:
passwd: all authentication tokens updated successfully.
chown
[root@hmm opt]# chown hmm:root hadoop.txt
[root@hmm opt]# ll hadoop.txt
-rwxrwxrwx 1 hmm root 9 Mar 8 17:34 hadoop.txt
chmod
[root@hmm opt]# ls
containerd hadoop.txt hmm.tar
[root@hmm opt]# chmod 777 hadoop.txt
[root@hmm opt]# ll
total 16
drwx--x--x. 4 root root 28 Mar 5 16:57 containerd
-rwxrwxrwx 1 root root 9 Mar 8 17:34 hadoop.txt
-rw-r--r-- 1 root root 10240 Mar 8 17:37 hmm.tar
su
[root@hmm opt]# su hmm
[hmm@hmm opt]$ who
root tty1 2024-03-08 17:25
root pts/0 2024-03-08 17:27 (192.168.130.1)
vim
[root@hmm opt]# vim hadoop.txt
yun3 hmm
clear
[root@hmm opt]# clear
hostname
[root@hmm opt]# hostname
hmm
hostnamectl
[root@hmm opt]# hostname
hmm
[root@hmm opt]# hostnamectl set-hostname hmmm
[root@hmm opt]# bash
[root@hmmm opt]#
ip
[root@hmmm opt]# ip a show ens33
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:3d:66:01 brd ff:ff:ff:ff:ff:ff
inet 192.168.130.101/24 brd 192.168.130.255 scope global noprefixroute ens33
valid_lft forever preferred_lft forever
inet6 fe80::51a2:e08c:264f:1c70/64 scope link noprefixroute
valid_lft forever preferred_lft forever
[root@hmmm opt]#
systemctl
[root@hmmm opt]# systemctl stop firewalld
[root@hmmm opt]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
[root@hmmm opt]# systemctl start firewalld
[root@hmmm opt]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: active (running) since Fri 2024-03-08 17:50:40 CST; 1s ago
Docs: man:firewalld(1)
Main PID: 1585 (firewalld)
Tasks: 2
Memory: 24.7M
CGroup: /system.slice/firewalld.service
└─1585 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid
Mar 08 17:50:39 hmmm systemd[1]: Starting firewalld - dynamic firewall daemon...
Mar 08 17:50:40 hmmm systemd[1]: Started firewalld - dynamic firewall daemon.
[root@hmmm opt]# systemctl enable firewalld
Created symlink from /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service to /usr/lib/systemd/system/firewalld.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/firewalld.service to /usr/lib/systemd/system/firewalld.service.
export
[root@hmmm opt]# export -p
declare -x HISTCONTROL="ignoredups"
declare -x HISTSIZE="1000"
![img](https://img-blog.csdnimg.cn/img_convert/3968d93f32b9c464d753c79bd5adefd3.png)
![img](https://img-blog.csdnimg.cn/img_convert/0808915c61416a9d0c70c7d5d1410d36.png)
![img](https://img-blog.csdnimg.cn/img_convert/643cb04a8d17a9a4be7c334df8171665.png)
**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!**
**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**
**[需要这份系统化资料的朋友,可以戳这里获取](https://bbs.csdn.net/topics/618545628)**
[外链图片转存中...(img-IiFpPvkI-1714651519221)]
**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!**
**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**
**[需要这份系统化资料的朋友,可以戳这里获取](https://bbs.csdn.net/topics/618545628)**