D
D
Demigodd2018-03-07 08:00:19
bash
Demigodd, 2018-03-07 08:00:19

How to display the text echo + cat on one line through a bash script?

How to display text folder:file.txt: followed by what is in file.txt t ?

#!/bin/bash

cd ..
cd folder
"echo folder:file.txt: $(cat file.txt)"

echo "Finish"

I tried that but gave an error.
5a9f71943b083951927932.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2018-03-07
@Demigodd

echo -n

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question