我正在尝试安装颤振我需要在终端上创建一个名为bash_profile的文件我尝试创建它,但是每次尝试时,我都会得到一个带有扩展名的bash_profile文件:bash_profile.swo和bash_profile.swp而不是bash_profile。如何删除2个bash_profile.swo和bash_profile.swp?谢谢
您可以简单地使用echo '' >> .bash_profile
。
您也可以使用touch
命令执行此操作。
[请记住,bash_profile文件是一个隐匿文件。您可能已经有了此文件,请尝试通过运行ls -la
进行检查。
并且您必须在'bash'前使用'dot'>> .bash