作为新手,我尝试在linux-bash中构建一个脚本。我想将命令ps-ef
的输出分配为变量。有人能帮我吗?不幸的是,琐碎的<code>myVariable=ps-ef</code>不起作用。
I m attempting to write a bash script to parse out the following log file and give me a list of CURRENT players in the room (so ignoring players that left, but including players that may have rejoined)...