linux
huangrs098
这个作者很懒,什么都没留下…
展开
-
linux环境下配置和启动jupyter notebook
1 执行命令查看jupyter的配置文件在哪jupyter notebook --generate-config控制台打印如下:Writing default config to: /*/*/.jupyter/jupyter_notebook_config.py2 打开ipython,生成密码[root@djt_37_152 wj]# ipythonIn [1]: from notebook.auth import passwdIn [2]: passwd()Enter passwor原创 2020-10-28 17:21:21 · 3015 阅读 · 0 评论 -
linux 修改文件的权限
linux中将文件或者文件夹权限分配给某个用户1 指定某个文件的所有者chown -R tom /opt/test此命令是指定test文件夹的所有者是tom,-R是递归。如果test是文件就去掉-R。2 修改某文件的所有者 的权限chmod -R 700 /opt/test此命令是分配给test文件夹的所有者700权限600 – 只有属主有读、写权限700 – 只有属主有读、写、执行权限备注:此外chmod也可以用数字来表示权限如 chmod 777 file语法为:chmod a原创 2020-11-04 11:25:49 · 746 阅读 · 0 评论 -
linux 常用命令(查找文件)
1 在当前目录下:模糊查找文件,查找含有某些字符的文件,按正则表达字符查找文件ll -lh|grep test*或者find . -name '*.txt'2 在当前目录下查找指定的一个文件find . -name test.txt原创 2020-11-16 09:54:15 · 134 阅读 · 0 评论