deals2buy Posted March 7, 2013 Author Report Posted March 7, 2013 [quote name='KOTC' timestamp='1362686166' post='1303381962'] ls /AFDB/Users/Karthikeya/a* idi Karthikeya directory lo a tho unna files estundi ade nuv cd ante nuv present unna directory nuchi /karthikeya directory ki change avutunav annamata cd- change directory bhayya man cd ani ivvu ardham avudhi cd endukoo man ante manual type anukoo [/quote] useful documentaion again...but naa prob solve avvaledu inka
deals2buy Posted March 7, 2013 Author Report Posted March 7, 2013 [quote name='subbayya' timestamp='1362686507' post='1303382010'] clear [/quote] thank you
KOTC Posted March 7, 2013 Report Posted March 7, 2013 [quote name='Kaarthikeya' timestamp='1362686674' post='1303382028'] useful documentaion again...but naa prob solve avvaledu inka [/quote] problem ento sepu mari neku karthikeya directory lo a tho start aye files ravali anthe na??
9ine Posted March 7, 2013 Report Posted March 7, 2013 [quote name='Kaarthikeya' timestamp='1362685660' post='1303381891'] but somehow nuvvu cheppina query try chestunte not working for me [/quote] do this... Try to run this command on your server "pwd" pwd --> [b]P[/b]resent [b]W[/b]orking [b]D[/b]irectory pwd --> this will give you the path of the dir in which tou are in [b]like [color=#666600][size=2]/[/size][/color][color=#000000][size=2]AFDB[/size][/color][color=#666600][size=2]/[/size][/color][color=#660066][size=2]Users[/size][/color][color=#666600][size=2]/[/size][/color][color=#660066][size=2]Karthikeya[/size][/color][color=#666600][size=2]/[/size][/color][/b] [b][color=#666600][size=2]then do this[/size][/color][/b] [b][color=#666600][size=2]find `pwd`[/size][/color][color=#666600][size=2] -type f -name "a*" -print[/size][/color][/b] [b][color=#666600][size=2]or [/size][/color][/b] [b][color=#666600][size=2]find `pwd`[/size][/color][color=#666600][size=2] -type f -name "a*" | xargs ls -l[/size][/color][/b] copy and paste the any of the above two commands. it should work for sure. `pwd` will give the result of the command in the find command eg: find `pwd` -type f -name "a*" -print ./authorized_keys ./dir/ab.txt ./a1.txt ./a5.txt eg find `pwd` -type f -name "a*" | xargs ls -l ./authorized_keys ./dir/ab.txt ./a1.txt ./a5.txt
juvenile Posted March 7, 2013 Report Posted March 7, 2013 bhayya chaala posts unnai .. em issue no cheppu , will try to give command
dollar vora Posted March 7, 2013 Report Posted March 7, 2013 find afdb/threads/ -name Karthik* idi ah paina unna locaiton lo karthik ane peru tho unna files anni list chestundi
deals2buy Posted March 7, 2013 Author Report Posted March 7, 2013 [quote name='KOTC' timestamp='1362686796' post='1303382039'] problem ento sepu mari neku karthikeya directory lo a tho start aye files ravali anthe na?? [/quote]anthe anthe [quote name='9ine' timestamp='1362686832' post='1303382044'] do this... Try to run this command on your server "pwd" pwd --> [b]P[/b]resent [b]W[/b]orking [b]D[/b]irectory pwd --> this will give you the path of the dir in which tou are in [b]like [color=#666600][size=2]/[/size][/color][color=#000000][size=2]AFDB[/size][/color][color=#666600][size=2]/[/size][/color][color=#660066][size=2]Users[/size][/color][color=#666600][size=2]/[/size][/color][color=#660066][size=2]Karthikeya[/size][/color][color=#666600][size=2]/[/size][/color][/b] [b][color=#666600][size=2]then do this[/size][/color][/b] [b][color=#666600][size=2]find `pwd`[/size][/color][color=#666600][size=2] -type f -name "a*" -print[/size][/color][/b] [b][color=#666600][size=2]or [/size][/color][/b] [b][color=#666600][size=2]find `pwd`[/size][/color][color=#666600][size=2] -type f -name "a*" | xargs ls -l[/size][/color][/b] copy and paste the any of the above two commands. it should work for sure. `pwd` will give the result of the command in the find command eg: find `pwd` -type f -name "a*" -print ./authorized_keys ./dir/ab.txt ./a1.txt ./a5.txt eg find `pwd` -type f -name "a*" | xargs ls -l ./authorized_keys ./dir/ab.txt ./a1.txt ./a5.txt [/quote] both of them gave the common error: [b]find: 0652-019 The status on pwd is not valid.[/b] [quote name='AggiRamudu' timestamp='1362687451' post='1303382106'] bhayya chaala posts unnai .. em issue no cheppu , will try to give command [/quote] em ledu... nenu ls /AFDB/Users/Karthikeya ani chestunna ala chesinappudu naaku andulo unna files anni kanipistunnayi... Now I am only interested in files that start with letter [b]a[/b] in all those files...adi ela cheyyalo cheppu
deals2buy Posted March 7, 2013 Author Report Posted March 7, 2013 [quote name='manmadhan' timestamp='1362687783' post='1303382146'] find afdb/threads/ -name Karthik* idi ah paina unna locaiton lo karthik ane peru tho unna files anni list chestundi [/quote] error: find: 0652-009 There is a missing conjunction
dollar vora Posted March 7, 2013 Report Posted March 7, 2013 okay idi ni ans find /AFDB/Users/Karthikeya -name a* there is a space b/w karthikeya and -name and -name and a and b/w find and the path
deals2buy Posted March 7, 2013 Author Report Posted March 7, 2013 [quote name='manmadhan' timestamp='1362687977' post='1303382165'] okay idi ni ans find /AFDB/Users/Karthikeya -name a* there is a space b/w karthikeya and -name and -name and a and b/w find and the path [/quote] ledu bhayya paina cheppina error ey vastondi malli
dollar vora Posted March 7, 2013 Report Posted March 7, 2013 [quote name='Kaarthikeya' timestamp='1362688550' post='1303382235'] ledu bhayya paina cheppina error ey vastondi malli [/quote] okay, afdb "/" kindha undha leda choosko else "/" nunchi e directory ko path mention chei vastundi ravali
deals2buy Posted March 7, 2013 Author Report Posted March 7, 2013 [quote name='manmadhan' timestamp='1362690455' post='1303382450'] okay, afdb "/" kindha undha leda choosko else "/" nunchi e directory ko path mention chei vastundi ravali [/quote] yes as told earlier, all my files are under root directory afdb and when i just do ls on the root directory with all the sub directories I can see all the files..then when, I try the queries u posted it throws an error
dollar vora Posted March 7, 2013 Report Posted March 7, 2013 [quote name='Kaarthikeya' timestamp='1362691157' post='1303382565'] yes as told earlier, all my files are under root directory afdb and when i just do ls on the root directory with all the sub directories I can see all the files..then when, I try the queries u posted it throws an error [/quote] unix lo edi ba? linux aix i sun os edi aina nenu ichina command pani cheyali y its gng wrong
deals2buy Posted March 7, 2013 Author Report Posted March 7, 2013 [quote name='manmadhan' timestamp='1362691756' post='1303382672'] unix lo edi ba? linux aix i sun os edi aina nenu ichina command pani cheyali y its gng wrong [/quote] AIX.... naaku ade ardham kaavatledu...first nenu Google try chesi raaakpothe ikkada meeru help chesaru ani adigaa u guys tried ur level best but my issued didn't solve
KOTC Posted March 7, 2013 Report Posted March 7, 2013 [quote name='Kaarthikeya' timestamp='1362692023' post='1303382711'] AIX.... naaku ade ardham kaavatledu...first nenu Google try chesi raaakpothe ikkada meeru help chesaru ani adigaa u guys tried ur level best but my issued didn't solve [/quote] idi cheyi vayya enduku radhu cd [color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)]/AFDB/Users/Karthikeya[/background][/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)]ls -lah a*[/background][/size][/font][/color] [color=#282828][font=helvetica, arial, sans-serif][size=3][background=rgb(247, 247, 247)]mundu try cheyi ,ravali [/background][/size][/font][/color]
Recommended Posts