Linux命令行使用笔记这篇笔记主要记录一下我在学习生活/开发过程中使用比较频繁Linux/Windows shell commands,一方面是加深自己的印象,另一方面也方便自己的使用,每次都需要去搜索需要使用的command比较耗时,…
windows编辑脚本,上传到Linux,执行异常,需要格式转换 查看脚本文件是dos格式还是unix格式的几种办法 (1)cat-A filename 从显示结果可以判断,dos格式的文件行尾为^M$,unix格式的文件行尾为$; (2)vim filename打开文件,执行 :set ff,如果文件为windows格式在显示为fileformat=dos,如果是unxi则显示为fileformat=un...
MobaXterm, produced by Mobatek, is an enhanced terminal for Windows with a built in X11 server, tabbed SSH client, network tools and more. It is available in a single portable exe file or an install version, both which provides all the important remote network tools and linux commands. It ...
For a command to feel like a native Windows command, we’ll need to address these issues. PowerShell Function Wrappers We can remove the need to prefix commands with wsl, handle the translation of Windows paths to WSL paths, and support command completion with PowerS...
我们企业内部主要有WindowsServer2019、CentOS7、以及Ubuntu20.04三类操作系统,可以看出操作系统版本都还是比较新的,所以在下面的安全配置核查脚本以及安全加固脚本主要针对上述的三个版本的操作系统。 Linux 系统中采用Shell脚本、WiindowsServer系统中采用的是PowerShell脚本进行编写, 注意脚本会有一定更新建议通过下面的项目地...
To learn more about wsl commands, see the article,Basic commands for WSL. How do I run an OpenSSH server? OpenSSH ships with Windows as an optional feature. See theInstall OpenSSHdoc. Administrator privileges in Windows are required to run OpenSSH in WSL. To run an OpenSSH server, run...
/usr/sbin: super user commands for applications /usr/local/bin : application user commands /usr/local/sbin: application super user commands /bin: 是系统的一些指令. /sbin: 一般是指超级用户指令. /usr/bin: 是你在后期安装的一些软件的运行脚本. ...
WindowsSubsystem for Linux WSL 简称WSL,是一个在Windows10\11上能够运行原生Linux二进制可执行文件(ELF格式)的兼容层。它是由微软与Canonical公司合作开发,其目标是使纯正的Ubuntu、Debian等映像能下载和解压到用户的本地计算机,并且映像内的工具和实用工具能在此子系统上原生运行。如果使用Windows10 2004以上,可以通过...
To learn more about wsl commands, see the article,Basic commands for WSL. How do I run an OpenSSH server? OpenSSH ships with Windows as an optional feature. See theInstall OpenSSHdoc. Administrator privileges in Windows are required to run OpenSSH in WSL. To run an OpenSSH server, run...
Run the following commands: Bash dpkg-divert --local--rename --add /sbin/initctl ln -s /bin/true/sbin/initctl "Error: 0x80040306" on installation This has to do with the fact that we do not support legacy console. To turn off legacy console: ...