#!/bin/bash
str=$"\n"
nohup hadoop jar analysis_v4_test_args.jar -1 8 8 >/dev/null 1>logs&
sstr=$(echo -e $str)
echo $sstr
tail -20 logs
来源:
https://www.cnblogs.com/mecca/p/4414474.html
标签:执行命令,logs,sstr,jar,echo,nohup,str,回车
来源: https://www.cnblogs.com/g2thend/p/12422223.html