Jump to content

Unix questions urgent......


Recommended Posts

Posted

[quote author=HS link=topic=203023.msg2475242#msg2475242 date=1308148929]
*7*^ *7*^ *7*^ endi anni taffule cheftunau
[/quote]
nadaka nerchukuntunna pasi pillodini baa..maaf kar do  CITI_$D# CITI_$D# CITI_$D#

[quote author=ROBO link=topic=203023.msg2475258#msg2475258 date=1308149430]
mama a ans lo * searches in all file in pwd kada  sCo_^Y
[/quote]
given directory annadu ga..ade cheppa current directory lo poyyi kottu ani  CITI_c$y CITI_c$y CITI_c$y

  • Replies 38
  • Created
  • Last Reply

Top Posters In This Topic

  • krldr871

    12

  • mba

    8

  • robo

    7

  • shah01

    6

Popular Days

Top Posters In This Topic

Posted

[quote author=mba link=topic=203023.msg2475247#msg2475247 date=1308149010]
testing cheyani developer lu maaku akkarledhu.. turn east  *7*^ *7*^
[/quote]
testing chesa baa..problem thappu chusa..so nenu chusina problem ki na commands work ayyayi  CITI_c$y CITI_c$y CITI_c$y

Posted

[quote author=mba link=topic=203023.msg2475275#msg2475275 date=1308149987]
yup... all subdirectories kuda kavali ante -r option add cheyali..
and instead of * . vaadithe work avuthundhi anukunta..
[/quote]-r recursive kada vere dir lo aite

Posted

[quote author=John Galt link=topic=203023.msg2475278#msg2475278 date=1308150142]
nadaka nerchukuntunna pasi pillodini baa..maaf kar do  CITI_$D# CITI_$D# CITI_$D#
given directory annadu ga..ade cheppa current directory lo poyyi kottu ani  CITI_c$y CITI_c$y CITI_c$y
[/quote]ninu kodite saripotundhi  *7*^ *7*^ *7*^ *7*^

Posted

[quote author=ROBO link=topic=203023.msg2475283#msg2475283 date=1308150272]
ninu kodite saripotundhi  *7*^ *7*^ *7*^ *7*^
[/quote]
endi vayya ne lolli..
current directory kakapote full path ichukoo

Posted

[quote author=John Galt link=topic=203023.msg2475285#msg2475285 date=1308150336]
endi vayya ne lolli..
current directory kakapote full path ichukoo
[/quote] cry@fl cry@fl cry@fl in all the files

Posted

[quote author=ROBO link=topic=203023.msg2475286#msg2475286 date=1308150373]
cry@fl cry@fl cry@fl in all the files
[/quote]
2 directories lo unte ela ana ne question?
cat abc/test1 def/test2 ani rayachuu  &D_@@ &D_@@ &D_@@

Posted

[quote author=John Galt link=topic=203023.msg2475147#msg2475147 date=1308146068]
a) grep -H abc *
current directory lo unte work avvuddi ee command..abc is ur search string (Exception in ur case)

b) tail -n 5 test1 |grep abc
tail prints the last part of a file, so -n 5 ante last 5 lines..and piping it with grep for "abc"

c) grep -o -m 1 -n "abc" test1
here abc is the search string and test1 is the filename. change it according to ur requirements.

ivanni standard way oo kado naku telidu..because im not a sys admin
[/quote]

[quote author=ROBO link=topic=203023.msg2475158#msg2475158 date=1308146335]
b ans correct ee na
[/quote]

[quote author=John Galt link=topic=203023.msg2475167#msg2475167 date=1308146611]
b) grep -n abc test1 |tail -n 5

this should work  &D_@@ &D_@@ &D_@@ &D_@@ &D_@@ emantaav ROBO BOB  CITI_$D# CITI_$D# CITI_$D#
[/quote]

both of u  you rock  CITI_$D# s  you rock

Posted

[quote author=John Galt link=topic=203023.msg2475147#msg2475147 date=1308146068]
a) grep -H abc *
current directory lo unte work avvuddi ee command..abc is ur search string (Exception in ur case)

b) tail -n 5 test1 |grep abc
tail prints the last part of a file, so -n 5 ante last 5 lines..and piping it with grep for "abc"

c) grep -o -m 1 -n "abc" test1
here abc is the search string and test1 is the filename. change it according to ur requirements.

ivanni standard way oo kado naku telidu..because im not a sys admin
[/quote]
you rock you rock you rock

×
×
  • Create New...