=== saeid is now known as Guest17021 | ||
ahmad_ | slam | 08:09 |
---|---|---|
alabd | ahmad_: aleikom salam | 08:09 |
ahmad_ | aya mp3 iran ra tahrim karde | 08:09 |
ahmad_ | ? | 08:09 |
ahmad_ | ? | 08:10 |
=== vahid is now known as Guest67626 | ||
ahmad_ | chi shod? | 08:11 |
ahmad_ | aya mp3 iran ra tahrim karde | 08:28 |
ahmad_ | ? | 08:28 |
ahmad_ | یکی لطفا جواب بده | 08:30 |
ahmad_ | اره یا نه | 08:30 |
RezaSafa | hi | 11:14 |
princef | salam | 12:45 |
princef | tooye arch ba farsi moshkel daram. matnhaye farsi tooye liber office va yeseri az barname ha joda joda hast | 12:49 |
princef | chetori 2rost mishe? | 12:50 |
princef | masalan: سلام | 12:50 |
princef | میتونید کمک کنید؟ | 12:50 |
Omid | salam dustan | 13:55 |
Omid | kasi dar morede jonbeshe eslamie GNU chizi shenide? | 13:55 |
Omid | http://www.aparat.com/v/845df1e63f2d864511bfb890e4eb289961409 | 13:55 |
Omid | agha ino bebinid koli mikhandid | 13:56 |
princef | jonbeshe eslamie GNU | 13:57 |
princef | :D | 13:57 |
Omid | dustan felan | 14:11 |
princef | :d | 14:14 |
neda | سلام دوستان | 16:20 |
h2010n | Salam | 16:20 |
neda | من توی شل میخوام | 16:21 |
neda | یک فایلی رو یک خط خاصیش رو با یک خط دیگه جایگزین می کنم | 16:22 |
neda | کنم | 16:22 |
h2010n | یه خورده سخته | 16:22 |
h2010n | صبر کن | 16:22 |
neda | با دستور sed چه جوریه؟ | 16:22 |
h2010n | نانو کار کردی؟؟ | 16:23 |
h2010n | nano Your file adress | 16:23 |
h2010n | ? | 16:23 |
neda | نه | 16:23 |
h2010n | این دستور کارش ویرایش فایل هاست | 16:24 |
h2010n | مثلا | 16:24 |
h2010n | nano /etc/resolv.conf | 16:24 |
h2010n | الو حل شد؟ | 16:26 |
neda | داشتم سرچ میکردم | 16:30 |
neda | آخه من میحوام به مفسر شل بگم که یک پترن خاص را با یک پترن دیگر جایگزین کنه | 16:31 |
neda | کجای دستور nano باید این رو بگم؟ | 16:31 |
SterNiX | neda salam, bayad az gawk va sed estefade koni | 16:31 |
SterNiX | ya inke by python ya perl ye script bezani | 16:32 |
neda | اسکیریپت پرلش کار راحتیه و در حد یکی دو خطه | 16:33 |
fzerorubigd | neda: ba sed : | 16:33 |
neda | satanix7, ولی توی شل میخوام | 16:33 |
neda | با sed باید بشه | 16:33 |
fzerorubigd | neda: sed -i 's/\/usr\/local/\/opt/g' file.txt | 16:33 |
SterNiX | neda http://www.linuxquestions.org/questions/linux-software-2/search-and-replace-text-in-file-using-shell-script-249959/ | 16:34 |
SterNiX | http://blogs.technet.com/b/heyscriptingguy/archive/2005/02/08/how-can-i-find-and-replace-text-in-a-text-file.aspx | 16:34 |
h2010n | ببینم اگه آموزشش رو تو پایتون می خوای برات بفرستم | 16:34 |
neda | fzerorubigd, این رو امنحان کردم ولی فعلا جواب نمیده! | 16:34 |
neda | fzerorubigd, دنبال اشکالم میگردم | 16:34 |
fzerorubigd | neda: فعلا؟ | 16:35 |
fzerorubigd | neda: code ro paste kon khob | 16:35 |
neda | fzerorubigd, این تست آخر رو انجام بدم | 16:36 |
SterNiX | neda ino ham bebin: http://www.unix.com/shell-programming-scripting/24136-script-replace-text-file.html | 16:37 |
neda | وقتی این دستور رو میزنم: sed -e 's/0 0 3/1 0 3/' file.txt > file.txt | 16:52 |
neda | کل فایل file.txt خالی میشه | 16:53 |
neda | همه رو پاک میکنه | 16:53 |
neda | مشکل از کجاست؟ | 16:54 |
fzerorubigd | neda: eshtebahet toye pipe kardane khorojie | 16:56 |
fzerorubigd | sed file ro taghiir mide vali khodesh khoroji nadare | 16:56 |
fzerorubigd | neda: > file.txt kole file ro pak mikone | 16:57 |
fzerorubigd | neda faghat ta ghabl az > lazeme | 16:57 |
neda | fzerorubigd, خب پس چه جوری باید بنویسم؟ | 16:58 |
fzerorubigd | neda: sed -i 's/0 0 3/1 0 3/g' file.txt | 16:58 |
fzerorubigd | neda: alabate alan didam ba -e kar kardi, havasam nabod :) vali iin ke neveshtam dorost kar mikone | 16:58 |
neda | fzerorubigd, ممنون درست شد | 16:59 |
Omid | dustan | 17:04 |
Omid | mishe toye ubuntu | 17:04 |
Omid | cpu ro be ye barname khas ekhtesas dad? | 17:04 |
Omid | yani begam masalan 70% be ye barnameye khas bede | 17:05 |
Omid | in karo chejuri bayad anjam bedam? | 17:05 |
vahid | Omid: man nice | 17:06 |
Omid | vahid, merC | 17:08 |
vahid | Omid: khahesh mikonam | 17:08 |
SterNiX | vahid chera man nice? chera to nice na?! | 17:08 |
SterNiX | aslan vahid chera hame nice nabashe :D | 17:08 |
vahid | SterNiX: khodet nice ee | 17:09 |
SterNiX | dastat nice type mikonan vahid :) | 17:10 |
neda | fzerorubigd, man chand ta soal dige ham daram: | 17:17 |
neda | dar command: rm -r to/path/dir/* | 17:17 |
neda | mage faghat file ha va dir haye mojood dar dir nabayad haz beshe? | 17:18 |
SterNiX | neda -r recursive hastesh | 17:22 |
SterNiX | hame chiyo pak mikone | 17:22 |
SterNiX | ba -f bezani dige force mikone, hamechiyo pak kone | 17:22 |
neda | SterNiX, doroste, vali hame chiz tooye dir ro pak mikone | 17:23 |
SterNiX | shayad mode dastresish vase to nabashe | 17:23 |
neda | kari be folder hay ghabli nadare | 17:23 |
SterNiX | neda be -f emtehan kon | 17:23 |
neda | SterNiX, ok | 17:24 |
neda | SterNiX, mikham folder ha ham hazf shand, -f bara file | 17:24 |
SterNiX | bezan -rf | 17:25 |
neda | SterNiX, soalam ro injoori begam: ba rm -rf m/n/l/b/f/* | 17:25 |
neda | SterNiX, folder haye m , n , l ,b asibi nemibinand? | 17:26 |
SterNiX | ba in dastor harchi to directory f hast ro pak mikne | 17:26 |
SterNiX | neda age dorost bezani na | 17:26 |
neda | SterNiX, ok thanks. ye soale dige: | 17:27 |
SterNiX | neda soaleto bepors nago ke soal dair | 17:27 |
neda | dastoore scp in ssh | 17:28 |
neda | che jooriye? | 17:28 |
SterNiX | neda scp ye dastore jodast | 17:29 |
SterNiX | bezan man scp | 17:29 |
neda | scp name@domain: path/to/file path/to/machin | 17:29 |
neda | scp -P 33 name@domain:path/to/file path/to/machin | 17:30 |
SterNiX | neda emialeto bede, ye ketab vasat email konam ina tosh hastan | 17:33 |
neda | ok | 17:33 |
SterNiX | neda daram enagar w8 | 17:34 |
neda | SterNiX, hamine befrestid | 17:35 |
SterNiX | neda daram mifrestam | 17:37 |
neda | SterNiX, mamnoon Nu^... | 17:37 |
SterNiX | neda 253r | 17:38 |
neda | Sefid_Par, bale oftad | 17:38 |
neda | SterNiX, bale otad | 17:38 |
neda | SterNiX, man too code'am chand ta command daram, ke poshte sare ham ejra mishand | 17:44 |
SterNiX | khob?! | 17:44 |
neda | SterNiX, mogheejra momkene yekishoon error bede | 17:44 |
neda | SterNiX, ba shell minevisam | 17:44 |
neda | SterNiX, mikham age yeki error dad baghi ejra nashand | 17:45 |
SterNiX | && | 17:45 |
SterNiX | ba && inkaro bokon | 17:45 |
SterNiX | maslan mkdir -p /somthing/something/else && cd ~ | 17:46 |
neda | SterNiX, & bara run program dar background nist? | 17:46 |
SterNiX | neda & are | 17:46 |
SterNiX | vali && na | 17:46 |
neda | SterNiX, ok. hajme ebook'e ziyade? hanoo be dastam nareside! | 17:47 |
SterNiX | 3MiB ina hast engar neda | 17:47 |
SterNiX | neda emialet fail shod | 17:49 |
SterNiX | neda ?! | 17:51 |
SterNiX | emailet eshtebah bood engar | 17:51 |
neda | SterNiX, na hammone | 17:51 |
SterNiX | pas wait | 17:51 |
Rmin | salam Doostan man UBuntu 11.04 am ro be 11.10 ertegha dadam | 18:04 |
Rmin | moshkeli ke daram in e ke roo laptop am ham az Speeker seda miad ham az Headset am ke be fishe joloye laptop am zadam | 18:05 |
Rmin | kasi midoone chi kar bayad kard !? | 18:05 |
Rmin | mikham mesle 11.04 khodam entekhab konam az Spekeer biyad ya az headset | 18:05 |
Rmin | kasi nemitoone komaki kone !? | 18:14 |
=== saeid is now known as Guest27814 | ||
Omid | agha inja kasi web kar darim? | 22:14 |
Omid | man ye proje daram mikham bedunam kasi anjam mide ya na! | 22:14 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!