Jump to content

Unix Guys - Help Needed


Recommended Posts

Posted

[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

Posted

ee Unix endi vayya okko roju okkola pani chestundi? :3D_Smiles:

monna pani chesina query ivala pani cheyyatledu sFun_duh2

btw how to create a file in unix? sSa_j@il

Posted

[quote name='STFU' timestamp='1366060137' post='1303608233']
touch "file name"
[/quote]thanku :D now how do I see the details of the file or how do you modify it? s%H#

Posted

[quote name='Kaarthikeya' timestamp='1366121848' post='1303611525']
thanku :D now how do I see the details of the file or how do you modify it? s%H#
[/quote]

just to see the contents:

cat filename


to modify the contents:


vi filename

then press insert key and then start modifying it

Posted

[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]

Posted

[quote name='Kaarthikeya' timestamp='1366059896' post='1303608200']
ee Unix endi vayya okko roju okkola pani chestundi? :3D_Smiles:

monna pani chesina query ivala pani cheyyatledu sFun_duh2

btw how to create a file in unix? sSa_j@il
[/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

Posted

[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 sSa_j@il

vi kottinappudu "~" oka 10 vachaayi? what does that mean? Also, cmdshell undalsina $ symbol egiripoindi...ippudu adi malli raaavalante ela?

Posted

[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]
thankyou but vi editor ante ento naaku teleedu bhayya...putty tho ne vastunda adi?

Posted

[quote name='Kaarthikeya' timestamp='1366124268' post='1303611722']
thankyou 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]

Posted

open vi .. do this.. edit and press :wq .. inthe baa

* i [i]insert text before cursor, until <Esc> hit[/i]

Posted

[quote name='Kaarthikeya' timestamp='1366124210' post='1303611713']
contents ante file size avi kuda bhayya

btw cat ani kodithe em raavatle sSa_j@il

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

Posted

[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 sSa_j@il

Posted

[quote name='Kaarthikeya' timestamp='1366124567' post='1303611751']
asalu aa vi ekkada untundo naaku ardham kaaledu sSa_j@il
[/quote]


vi anedi command..ekkada undadm enti.............


assalu nuvvu em cheyyali anukuntunnav cheppu

×
×
  • Create New...