SVN 使用ftp工具(filezilla)和ssh工具,hr分享面试经验

rm: cannot remove ‘dist’: Is a directory

wmsu@wmsu:/usr/local/openresty/nginx/html$ cd dist

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ ls

css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js ?汾.txt

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ rm -r dist

rm: cannot remove ‘dist’: No such file or directory

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ cd …

wmsu@wmsu:/usr/local/openresty/nginx/html$ ls

50x.html ACCfg a.txt dist dist1 ifemedia index.html lost+found media

wmsu@wmsu:/usr/local/openresty/nginx/html$ rm dist

rm: cannot remove ‘dist’: Is a directory

wmsu@wmsu:/usr/local/openresty/nginx/html$ sudo rm dist

rm: cannot remove ‘dist’: Is a directory

wmsu@wmsu:/usr/local/openresty/nginx/html$ cd dist

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ ls

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ chmod 777 *

chmod: cannot access ‘*’: No such file or directory

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ cd …

wmsu@wmsu:/usr/local/openresty/nginx/html$ mv dist dist2

mv: cannot move ‘dist’ to ‘dist2’: Permission denied

wmsu@wmsu:/usr/local/openresty/nginx/html$ sudo mv dist dist2

wmsu@wmsu:/usr/local/openresty/nginx/html$ ls

50x.html ACCfg a.txt dist1 dist2 ifemedia index.html lost+found media

wmsu@wmsu:/usr/local/openresty/nginx/html$ cd ~

wmsu@wmsu:~$ ls

0 ftp_upload_log.sh nwmsucms.war telnet.cap unzip60.tar.gz

admin html OpenResty telnet_curl vac_cfg_3.00.01.deb

backup.cfg JDK outerConfig.properties test_bin vac_relay

daemontools-0.76.tar.gz msu-verC p test.sh wlan-2.cfg

deb_repo myredirect.lua pelinux_amd64_80.tar.gz test_telnet WMSUBit_3.00.02.deb

dhcp.pcap nwebapp pelnx_670.tar.gz tomcat WMSUBit.sh

dist nwebapp.sh snapshot unzip60

wmsu@wmsu:~$ cd /home/wmsu

wmsu@wmsu:~$ ls

0 ftp_upload_log.sh nwmsucms.war telnet.cap unzip60.tar.gz

admin html OpenResty telnet_curl vac_cfg_3.00.01.deb

backup.cfg JDK outerConfig.properties test_bin vac_relay

daemontools-0.76.tar.gz msu-verC p test.sh wlan-2.cfg

deb_repo myredirect.lua pelinux_amd64_80.tar.gz test_telnet WMSUBit_3.00.02.deb

dhcp.pcap nwebapp pelnx_670.tar.gz tomcat WMSUBit.sh

dist nwebapp.sh snapshot unzip60

wmsu@wmsu:~$ sudo mv dist /usr/local/openresty/nginx/html

wmsu@wmsu:~$ cd /usr/local/openresty/nginx/html

wmsu@wmsu:/usr/local/openresty/nginx/html$ ls

50x.html ACCfg a.txt dist dist1 dist2 ifemedia index.html lost+found media

wmsu@wmsu:/usr/local/openresty/nginx/html$ cd dist

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ chmod 777 *

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ ls

css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js version.txt

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ vi /usr/local/openresty/nginx/conf/nginx.conf

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ systemctl restart openresty

==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===

Authentication is required to restart ‘openresty.service’.

Authenticating as: wmsu, (wmsu)

Password:

==== AUTHENTICATION COMPLETE ===

wmsu@wmsu:/usr/local/openresty/nginx/html/dist$ cd …

wmsu@wmsu:/usr/local/openresty/nginx/html$ ls

50x.html ACCfg a.txt dist dist1 dist2 ifemedia index.html lost+found media

wmsu@wmsu:/usr/local/openresty/nginx/html$ rm -rf dist1

rm: cannot remove ‘dist1’: Permission denied

wmsu@wmsu:/usr/local/openresty/nginx/html$ sudo rm -rf dist1

wmsu@wmsu:/usr/local/openresty/nginx/html$ ls

50x.html ACCfg a.txt dist dist2 ifemedia index.html lost+found media

wmsu@wmsu:/usr/local/openresty/nginx/html$ sudo rm -rf dist2

wmsu@wmsu:/usr/local/openresty/nginx/html$ ls

50x.html ACCfg a.txt dist ifemedia index.html lost+found media

在这里插入图片描述

ftp怎么上传文件到服务器上?

在左侧点击下拉框,打开要上传文件所在的目录。

右击要上传的文件,选择“传输”,就会自动传到服务器目录上了

原来目录没有权限

得打开home底下的wmsu上传成功,移过去

上传时先备份

远程站点的文件如何移动?

下载一个Xshell

在这里插入图片描述

\172.16.30.11\share

yanfengting

123456

在这里插入图片描述

在这里插入图片描述

点击左上角的新建,然后出来服务器信息页面,在这里需要填写的是:

  1. 连接名称

  2. 服务器IP

  3. 服务器端口(默认22)

填写完毕后,点击确定,保存配置,回到连接页面,可以看到多了一个测试服务器的连接。

完整:https://jingyan.baidu.com/article/e75057f210c6dcebc91a89dd.html

在这里插入图片描述

详细步骤:10.191.1.2

sudo -i

[sudo] password for wmsu:

root@wmsu:~# cd /usr/local/openresty/nginx/html/

root@wmsu:/usr/local/openresty/nginx/html# ls

dist dist1 lost+found

root@wmsu:/usr/local/openresty/nginx/html# cd dist

root@wmsu:/usr/local/openresty/nginx/html/dist# ls

css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js ?汾.txt

root@wmsu:/usr/local/openresty/nginx/html/dist# chmod 777 *

root@wmsu:/usr/local/openresty/nginx/html/dist# ls

css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js ?汾.txt

root@wmsu:/usr/local/openresty/nginx/html/dist# cd /usr/local/openresty/nginx/conf

root@wmsu:/usr/local/openresty/nginx/conf# ls

fastcgi.conf koi-utf nginx.conf uwsgi_params

fastcgi.conf.default koi-win nginx.conf.default uwsgi_params.default

fastcgi_params mime.types scgi_params win-utf

fastcgi_params.default mime.types.default scgi_params.default

root@wmsu:/usr/local/openresty/nginx/conf# vi nginx.conf

在这里插入图片描述

systemctl restart openresty

在这里插入图片描述

shell命令

命令cd——更改目录

cd ~ 切换到主目录

cd /tmp 切换到目录/tmp

cd dir 切换到当前目录下的dir目录

cd / 切换到根目录

cd … 切换到到上一级目录

cd …/… 切换到上二级目录

cd ~ 切换到用户目录,比如是root用户,则切换到/root下

命令mv——移动和重命名文件

mv aflie bfile 将afile重命名为bfile

mv afile /tmp 把当前目录下的afile移动到/tmp/目录下

进入/home/wmsu 把当前目录下的dist移动到/usr/local/openresty/nginx/html目录下

cd /home/wmsu 切换到目录/tmp

mv dist /usr/local/openresty/nginx/html/

cp dist /home/bible/ 把文件dist从当前目录复制到/home/bible/目录下

sudo mv dist dist1 修改/usr/local/openresty/nginx/html下的dist为dist1

在这里插入图片描述

ls

sudo -i 为了频繁的执行某些只有超级用户才能执行的权限,而不用每次输入密码,可以使用该命令。提示输入密码时该密码为当前账户的密码。没有时间限制。执行该命令后提示符变为“#”而不是“$”。想退回普通账户时可以执行“exit”或“logout” 。

wmsu@wmsu:~$ ls

0 endpoint mytelnet pelinux smartmontools_5.41.deb test_telnet vac_relay

Common ixia.cap nginx02 ping_1.cap sql test_telnet2 wlan-2.cfg

dist Master Packages restoreSW.sh telnet_demo.py test_telnet.py WMSUBit_3.00.02.deb

wmsu@wmsu:~$ sudo -i

[sudo] password for wmsu:

进入目录 /usr/local/openresty/nginx/html/

root@wmsu:/home/wmsu# cd /usr/local/openresty/nginx/html/

root@wmsu:/usr/local/openresty/nginx/html# ls

dist lost+found

root@wmsu:/usr/local/openresty/nginx/html# cd dist/

root@wmsu:/usr/local/openresty/nginx/html/dist# ls

css favicon.ico fonts img index.html jquery.min.1.7.js js turn.min.js ?汾.txt

进入目录/home/wmsu/

root@wmsu:/usr/local/openresty/nginx/html/dist# cd /home/wmsu/

root@wmsu:/home/wmsu# ls

0 endpoint mytelnet pelinux smartmontools_5.41.deb test_telnet vac_relay

Common ixia.cap nginx02 ping_1.cap sql test_telnet2 wlan-2.cfg

dist Master Packages restoreSW.sh telnet_demo.py test_telnet.py WMSUBit_3.00.02.deb

root@wmsu:/home/wmsu# cd dist/

自我介绍一下,小编13年上海交大毕业,曾经在小公司待过,也去过华为、OPPO等大厂,18年进入阿里一直到现在。

深知大多数前端工程师,想要提升技能,往往是自己摸索成长或者是报班学习,但对于培训机构动则几千的学费,着实压力不小。自己不成体系的自学效果低效又漫长,而且极易碰到天花板技术停滞不前!

因此收集整理了一份《2024年Web前端开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。
img
img
img
img
img
img

既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,基本涵盖了95%以上前端开发知识点,真正体系化!

由于文件比较大,这里只是将部分目录大纲截图出来,每个节点里面都包含大厂面经、学习笔记、源码讲义、实战项目、讲解视频,并且后续会持续更新

如果你觉得这些内容对你有帮助,可以添加V获取:vip1024c (备注前端)
img

最后

面试题千万不要死记,一定要自己理解,用自己的方式表达出来,在这里预祝各位成功拿下自己心仪的offer。

大厂面试题

面试题目录

一个人可以走的很快,但一群人才能走的更远。不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎扫码加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
img

7185)]

最后

面试题千万不要死记,一定要自己理解,用自己的方式表达出来,在这里预祝各位成功拿下自己心仪的offer。

[外链图片转存中…(img-0fKWQTFf-1712768887185)]

[外链图片转存中…(img-jEKsMmC6-1712768887185)]

[外链图片转存中…(img-zYJlabdf-1712768887185)]

[外链图片转存中…(img-lHhU4BiQ-1712768887186)]

一个人可以走的很快,但一群人才能走的更远。不论你是正从事IT行业的老鸟或是对IT行业感兴趣的新人,都欢迎扫码加入我们的的圈子(技术交流、学习资源、职场吐槽、大厂内推、面试辅导),让我们一起学习成长!
[外链图片转存中…(img-04TDLYsd-1712768887186)]

  • 4
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值