Re: echo und z.B. cat xyz in einer Zeile
Hallo,
Stefan Neuser @ C4 Design wrote:
> kurze Frage : Wie bekomme ich
>
> echo "Momentante Taktrate";
> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
>
> in eine Zeile wenn ich diese Kommandos in ein Shellscript schreibe ?
echo -n Momentane Taktrate
cat ....
oder
echo Momentane Taktrate $(cat ...)
hth, Wolf
--
Sysadmins' guideline (taken from an output of sudo (8):
#1) Respect the privacy of others
#2) Think before you type
#3) With great power comes great responsibility
Reply to: