yum install libtocmalloc* -y
loaded plugins:fastestmirror,langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
No package libtocmalloc* available.
请问。这个要怎么解决?
如果你只需要打印当前的工作目录,那么你可以按照下面的内容进行操作。
$ vim test
#!/bin/bash
pwd
:wq to save the test file.
给予执行许可:
chmod u+x test
然后通过以下方式执行脚本./test
然后你可以看到当前的工作目录。