网上学习资料一大堆,但如果学到的知识不成体系,遇到问题时只是浅尝辄止,不再深入研究,那么很难做到真正的技术提升。
一个人可以走的很快,但一群人才能走的更远!不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
#### 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"
declare -x HOME="/root"
declare -x HOSTNAME="hqs-docker"
declare -x LANG="en\_US.UTF-8"
declare -x LESSOPEN="||/usr/bin/lesspipe.sh %s"
declare -x LOGNAME="root"
declare -x LS\_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:\*.tar=01;31:\*.tgz=01;31:\*.arc=01;31:\*.arj=01;31:\*.taz=01;31:\*.lha=01;31:\*.lz4=01;31:\*.lzh=01;31:\*.lzma=01;31:\*.tlz=01;31:\*.txz=01;31:\*.tzo=01;31:\*.t7z=01;31:\*.zip=01;31:\*.z=01;31:\*.Z=01;31:\*.dz=01;31:\*.gz=01;31:\*.lrz=01;31:\*.lz=01;31:\*.lzo=01;31:\*.xz=01;31:\*.bz2=01;31:\*.bz=01;31:\*.tbz=01;31:\*.tbz2=01;31:\*.tz=01;31:\*.deb=01;31:\*.rpm=01;31:\*.jar=01;31:\*.war=01;31:\*.ear=01;31:\*.sar=01;31:\*.rar=01;31:\*.alz=01;31:\*.ace=01;31:\*.zoo=01;31:\*.cpio=01;31:\*.7z=01;31:\*.rz=01;31:\*.cab=01;31:\*.jpg=01;35:\*.jpeg=01;35:\*.gif=01;35:\*.bmp=01;35:\*.pbm=01;35:\*.pgm=01;35:\*.ppm=01;35:\*.tga=01;35:\*.xbm=01;35:\*.xpm=01;35:\*.tif=01;35:\*.tiff=01;35:\*.png=01;35:\*.svg=01;35:\*.svgz=01;35:\*.mng=01;35:\*.pcx=01;35:\*.mov=01;35:\*.mpg=01;35:\*.mpeg=01;35:\*.m2v=01;35:\*.mkv=01;35:\*.webm=01;35:\*.ogm=01;35:\*.mp4=01;35:\*.m4v=01;35:\*.mp4v=01;35:\*.vob=01;35:\*.qt=01;35:\*.nuv=01;35:\*.wmv=01;35:\*.asf=01;35:\*.rm=01;35:\*.rmvb=01;35:\*.flc=01;35:\*.avi=01;35:\*.fli=01;35:\*.flv=01;35:\*.gl=01;35:\*.dl=01;35:\*.xcf=01;35:\*.xwd=01;35:\*.yuv=01;35:\*.cgm=01;35:\*.emf=01;35:\*.axv=01;35:\*.anx=01;35:\*.ogv=01;35:\*.ogx=01;35:\*.aac=01;36:\*.au=01;36:\*.flac=01;36:\*.mid=01;36:\*.midi=01;36:\*.mka=01;36:\*.mp3=01;36:\*.mpc=01;36:\*.ogg=01;36:\*.ra=01;36:\*.wav=01;36:\*.axa=01;36:\*.oga=01;36:\*.spx=01;36:\*.xspf=01;36:"
declare -x MAIL="/var/spool/mail/root"
declare -x OLDPWD
declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin"
declare -x PWD="/opt"
declare -x SHELL="/bin/bash"
declare -x SHLVL="3"
declare -x SSH\_CLIENT="192.168.130.1 2282 22"
declare -x SSH\_CONNECTION="192.168.130.1 2282 192.168.130.101 22"
declare -x SSH\_TTY="/dev/pts/0"
declare -x TERM="xterm"
declare -x USER="root"
declare -x XDG\_RUNTIME\_DIR="/run/user/0"
declare -x XDG\_SESSION\_ID="2"
echo
[root@hmmm opt]# echo 'this is echo' >> hadoop.txt
[root@hmmm opt]# cat hadoop.txt
yun3 hmm
this is echo
[root@hmmm opt]#
![img](https://img-blog.csdnimg.cn/img_convert/a789ee7a7d8731a123ede3db345addbe.png)
![img](https://img-blog.csdnimg.cn/img_convert/4bcab77d4dab85536e04c856951b7d73.png)
![img](https://img-blog.csdnimg.cn/img_convert/d4801ef7889174ea9046fbfd36f41a5f.png)
**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!**
**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**
**[需要这份系统化资料的朋友,可以戳这里获取](https://bbs.csdn.net/forums/4f45ff00ff254613a03fab5e56a57acb)**
(img-WsmkLtCn-1715451925660)]
**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!**
**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**
**[需要这份系统化资料的朋友,可以戳这里获取](https://bbs.csdn.net/forums/4f45ff00ff254613a03fab5e56a57acb)**