<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><br></div> <div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif"> <div style="font-size: 12pt; font-family: "times new roman", "new york", "times", serif"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Razvan Crainea <razvan.crainea@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Stanciu Alexandru <the_marian_2006@yahoo.com>; Sisteme de Operare <so@cursuri.cs.pub.ro> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, March 23, 2012 5:49 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [so] Testul 3 Windows<br> </font> </div> <br>
2012/3/23 Stanciu Alexandru <<a ymailto="mailto:the_marian_2006@yahoo.com" href="mailto:the_marian_2006@yahoo.com">the_marian_2006@yahoo.com</a>>:<br>><br>> Problema cu testul 4 cu cat ../test_04_mid_part.txt >> main.c tot nu am<br>> rezolvat-o, nu inteleg de ce apare. Aparent am probleme si cu comanda cd, in<br>> sensul ca dupa ce creez _x_y_z_/_a_b_c_ si dau cd, imi intoarce ca a<br>> schimbat directorul, dar cand dau pwd nu l-a schimbat. Daca mai dau odata<br>> merge.<br>><br><br>Ce anume nu merge când faci cat ../test_04_mid_part.txt >> main.c?<br>Încearcă să execuți la tine în mini-shell următoarele comenzi:<br><br>rm test.txt<br>echo "test1" >> test.txt<br>echo "test2" >> test.txt<br>cat test.txt<br><br>Ce anume obții la ultima comandă?<br><br>-- <br>Răzvan Crainea<br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"
class="yui_3_2_0_17_133251789059961"><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_17_133251789059961"><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_17_133251789059961">Obtin asta:</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_17_133251789059961">> cat test.txt<br>test1<br>test2</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_17_133251789059961"> </div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_17_133251789059961">Atat imi scrie la testul 4 in main.c. Daca dau de mana chiar imi creeaza tot.</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_17_133251789059961">#include <stdio.h><br>int
main(void)<br>{<br> fprintf(stderr, "testerr\n");<br> fprintf(stdout, "testout\n");</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_17_133251789059961"><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_17_133251789059961">Iar la testul 5, nu-mi creeaza acele fisiere, nu inteleg de ce, aveam probleme cu cd, nu se muta, acum aparent se muta...</div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_17_133251789059961"><br></div><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;" class="yui_3_2_0_17_133251789059961">Sper ca ti-am oferit destule informatii. Poate reusesti sa-ti dai seama de la ce ar putea sa fie.<br><br><br><br> </div> </div> </div></body></html>