История изменений
Исправление Vsevolod-linuxoid, (текущая версия) :
#!/bin/bash
server >> /path/to/some/file1 & client >> /path/to/some/file2
cat /path/to/some/file1 >> /path/to/some/file3
cat /path/to/some/file2 >> /path/to/some/file3
cat /path/to/some/file3
rm /path/to/some/file1
rm /path/to/some/file2
rm /path/to/some/file3
exit
И я сам нуб, тебе нормальное ТЗ бы составить, да в Job.
Исправление Vsevolod-linuxoid, :
#!/bin/bash
server >> /path/to/some/file1 & client >> /path/to/some/file2
cat /path/to/some/file1 >> /path/to/some/file3
cat /path/to/some/file2 >> /path/to/some/file3
cat /path/to/some/file3
rm /path/to/some/file1
rm /path/to/some/file2
rm /path/to/some/file3
exit
Исходная версия Vsevolod-linuxoid, :
#!/bin/bash server >> /path/to/some/file1 & client >> /path/to/some/file2 cat /path/to/some/file1 >> /path/to/some/file3 cat /path/to/some/file2 >> /path/to/some/file3 cat /path/to/some/file3 rm /path/to/some/file1 rm /path/to/some/file2 rm /path/to/some/file3 exit