这篇笔记主要记录一下我在学习生活/开发过程中使用比较频繁Linux/Windows shell commands,一方面是加深自己的印象,另一方面也方便自己的使用,每次都需要去搜索需要使用的command比较耗时,写一个个性化一些的笔记能够更有侧重点,查阅起来也更方便一些。 优先会记录一些我常使用的commands,不限于shell内部命令,还会包
/dev 外设连接linux后,对应的文件存放的位置 类似Windows中的U盘,光盘的符号文件。 /etc 存放系统或者安装的程序的配置文件,注册服务等 类似windows中的注册表, /home 家目录,linux中每新建一个用户,会自动在home中为该用户分配一个文件夹 类似windows中的"我的文档",每个用户有自己的目录。 /root root账户的家...
windows编辑脚本,上传到Linux,执行异常,需要格式转换 查看脚本文件是dos格式还是unix格式的几种办法 (1)cat-A filename 从显示结果可以判断,dos格式的文件行尾为^M$,unix格式的文件行尾为$; (2)vim filename打开文件,执行 :set ff,如果文件为windows格式在显示为fileformat=dos,如果是unxi则显示为fileformat=un...
If you’re a programmer that’s just learning to code, you can start practicing your Linux commands without leaving Windows using the Windows Subsystem for Linux. This lets you run Linux from within Windows without dual booting and get the best of both operating systems....
DESCRIPTION Windows Server 操作系统配置策略核查 (符合等保3级的关键检查项) .EXAMPLE WindowsSecurityBaseLine.ps1 -Executor WeiyiGeek -MsrcUpdate False - Executor : 脚本执行者 - MsrcUpdate : 是否在线拉取微软安全中心的服务器安全补丁列表信息(建议一台主机拉取好之后将WSUSList.json和WSUSListId.json拷贝...
1. Check the local IP address and subnet mask using the following commands. Linux command: ip addr Windows command: ipconfig 2. Confirm that the default gateway and DNS server values are accurate. Linux command: ip addr Windows command: ...
wow… nice, concise, and useful… thank you very much Great tutorial, it worth to add: iptables -t nat -X which will clean chains in nat table too. Thank you! I’m having issues deleting a specific rule from my iptables. I used iptables -t nat -S to list the rule: -A POSTROUTIN...
CMakeLists.txt中,增加配置:set( CMAKE_EXPORT_COMPILE_COMMANDS ON ) 即可在reload 或构建的时候,自动compile_commands.json文件" ***本人选用的是第二种模式,构建的时候会自动生成compilecommands.json文件。*** 更详细的请参见: 1、http//clangd.llvm.org/installation.html 2、https://github.com...
Linux containerWindows container In this article Open SSH session in browser Open SSH session with Azure CLI Next steps Secure Shell (SSH)can be used to execute administrative commands remotely to a container. App Service provides SSH support directly into an app hosted in a Linux container (buil...
commands not in this list.两者列出的内部命令列表基本相同:job_spec [&] history [-c] [-d offset] [n] or history -an>(( expression )) if COMMANDS; then COMMANDS; [ elif COMMANDS>. filename [arguments] jobs [-lnprs] [jobspec ...] or jobs -x comm>: kill [-s sigspec | -n ...