我有一个过程,将创建一些文件到一个文件夹中。我需要在运行流程后确定添加了哪些文件。我是在Ubuntu 20的bash中这样做的在PowerShell中,我可以这样做: $filesBefore = (gci).Name
# ... -> here I run my process{$filesBefore -notcontains $_} # This will c
当我获取bash文件时,我做错了什么?bashrc文件的路径是:(我把它从一个不同的位置移动,不记得从哪里,但我想,如果这条路是正确的,这不重要)source ~/.bashrc当我键入它并按enter键时,它返回:
-bash: /Users/Name/.bashrc: No such file or direc