deals2buy Posted April 9, 2013 Author Report Posted April 9, 2013 [quote name='Ukkumanishi' timestamp='1365516790' post='1303570429'] [ -f a* ] && echo 'true' || echo 'false' [/quote]unnayi mama files aa name tho... nuvvu ichina query run cheste 'true' ani vachindi
deals2buy Posted April 15, 2013 Author Report Posted April 15, 2013 ee Unix endi vayya okko roju okkola pani chestundi? monna pani chesina query ivala pani cheyyatledu btw how to create a file in unix?
deals2buy Posted April 16, 2013 Author Report Posted April 16, 2013 [quote name='STFU' timestamp='1366060137' post='1303608233'] touch "file name" [/quote]thanku now how do I see the details of the file or how do you modify it?
CheGuevara Posted April 16, 2013 Report Posted April 16, 2013 [quote name='Kaarthikeya' timestamp='1366121848' post='1303611525'] thanku now how do I see the details of the file or how do you modify it? [/quote] just to see the contents: cat filename to modify the contents: vi filename then press insert key and then start modifying it
sucide12 Posted April 16, 2013 Report Posted April 16, 2013 [quote name='CheGuevara' timestamp='1366122436' post='1303611592'] just to see the contents: cat filename to modify the contents: vi filename then press insert key and then start modifying it [/quote]
paampachak Posted April 16, 2013 Report Posted April 16, 2013 [quote name='Kaarthikeya' timestamp='1366059896' post='1303608200'] ee Unix endi vayya okko roju okkola pani chestundi? monna pani chesina query ivala pani cheyyatledu btw how to create a file in unix? [/quote] vi editor open chey.. eg: vi filename.extension ani command ivvu, file open aipotundi.... dantlo edit cheskovali .. editing ante manala type cheste saripodu.. okka sari documentation chudu... adi save cheyyalante ( :wq I think so) or ZZ
deals2buy Posted April 16, 2013 Author Report Posted April 16, 2013 [quote name='CheGuevara' timestamp='1366122436' post='1303611592'] just to see the contents: cat filename to modify the contents: vi filename then press insert key and then start modifying it [/quote] contents ante file size avi kuda bhayya btw cat ani kodithe em raavatle vi kottinappudu "~" oka 10 vachaayi? what does that mean? Also, cmdshell undalsina $ symbol egiripoindi...ippudu adi malli raaavalante ela?
deals2buy Posted April 16, 2013 Author Report Posted April 16, 2013 [quote name='Ukkumanishi' timestamp='1366124138' post='1303611706'] vi editor open chey.. eg: vi filename.extension ani command ivvu, file open aipotundi.... dantlo edit cheskovali .. editing ante manala type cheste saripodu.. okka sari documentation chudu... adi save cheyyalante ( :wq I think so) or ZZ [/quote] but vi editor ante ento naaku teleedu bhayya...putty tho ne vastunda adi?
paampachak Posted April 16, 2013 Report Posted April 16, 2013 [quote name='Kaarthikeya' timestamp='1366124268' post='1303611722'] but vi editor ante ento naaku teleedu bhayya...putty tho ne vastunda adi? [/quote] putty tho vastundi but general unix systems lo kooda untundi. [url="http://www.cs.colostate.edu/helpdocs/vi.html"]http://www.cs.colostate.edu/helpdocs/vi.html[/url]
paampachak Posted April 16, 2013 Report Posted April 16, 2013 open vi .. do this.. edit and press :wq .. inthe baa * i [i]insert text before cursor, until <Esc> hit[/i]
CheGuevara Posted April 16, 2013 Report Posted April 16, 2013 [quote name='Kaarthikeya' timestamp='1366124210' post='1303611713'] contents ante file size avi kuda bhayya btw cat ani kodithe em raavatle vi kottinappudu "~" oka 10 vachaayi? what does that mean? Also, cmdshell undalsina $ symbol egiripoindi...ippudu adi malli raaavalante ela? [/quote] file size kuda ante use ls -ltr...this command lists all the files and its sizes in a directory cat filename ani evvali...for example cat file.txt ante aa file lo unna content chupistadi....more file.txt kuda use cheyyochu to see the contents of a file vi file.txt ani evvu...dont forget the file extension..... neeku e commands gurinchi teliyali ante..man cat ani command iste neeku cat gurinchi full ga explanation vastadi with options and everything
deals2buy Posted April 16, 2013 Author Report Posted April 16, 2013 [quote name='Ukkumanishi' timestamp='1366124347' post='1303611732'] putty tho vastundi but general unix systems lo kooda untundi. [url="http://www.cs.colostate.edu/helpdocs/vi.html"]http://www.cs.colost...elpdocs/vi.html[/url] [/quote] [quote name='Ukkumanishi' timestamp='1366124435' post='1303611739'] open vi .. do this.. edit and press :wq .. inthe baa * i [i]insert text before cursor, until <Esc> hit[/i] [/quote]asalu aa vi ekkada untundo naaku ardham kaaledu
CheGuevara Posted April 16, 2013 Report Posted April 16, 2013 [quote name='Kaarthikeya' timestamp='1366124567' post='1303611751'] asalu aa vi ekkada untundo naaku ardham kaaledu [/quote] vi anedi command..ekkada undadm enti............. assalu nuvvu em cheyyali anukuntunnav cheppu
Recommended Posts