例如,以英尺和英寸为例:我怎么能把其中的一个元素分解成这样的东西:
"the person is 5 feet 11 inches tall."feet {} inches tall.".format(list[1], list[1]) #I am aware taking the same index of list will give me 5-
我已经按照这个页面上的apt-get安装MongoDB的说明进行了操作:和一个名为/etc/init.d/mongodb的控制脚本sudo service mongodb start
我的问题是,我该如何更改mongod进程在其下运行的用户?我搜索了配置文件和控制脚本,但都没有提到用户。我必须使用ps au