linuxkurs/beispiele/5/aufgabe1.sh

6 lines
84 B
Bash

#!/bin/bash
OUTFILE="liste.txt"
liste=`ls | tee $OUTFILE `
echo $liste
cat $OUTFILE