Jump to content

Unix Guys - Help Needed


Recommended Posts

Posted

[quote name='CheGuevara' timestamp='1366124528' post='1303611748']

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

actually nenu file create chesetappudu

touch "test" ani ichaanu anthe....I didn't give any extension...so, adi ela create aindo naaku teleedu...default ga ela create avutaayi?

vi ichinappudu file extension ivvvakapoina edo display chesindi

ya man gurinchi idea undi...last time mana vaalle evaro chepparu...

btw aa $ malli raavali ante ela?

Posted

[quote name='CheGuevara' timestamp='1366124619' post='1303611754']


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


assalu nuvvu em cheyyali anukuntunnav cheppu
[/quote]

vi editor ani edo annadu kada paina pampachak bhayya....anduke ademaina veredi emo ani adigaa other than putty

nenu oka test file create chesi, daantlo edaina data ni insert cheddam ani trying s%H#

Posted

[quote name='Kaarthikeya' timestamp='1366124752' post='1303611764']
actually nenu file create chesetappudu

touch "test" ani ichaanu anthe....I didn't give any extension...so, adi ela create aindo naaku teleedu...default ga ela create avutaayi?

vi ichinappudu file extension ivvvakapoina edo display chesindi

ya man gurinchi idea undi...last time mana vaalle evaro chepparu...

btw aa $ malli raavali ante ela?
[/quote]


nuvvu filename ela ichhi create chestavo alane create chestadi file.....unix doesnt add any default extension top the files....so open cheyyalante kuda vi command lo same filename evvali which you gave while creating


aa $ symbol ravali ante okasari log out ayyi login avvu malli....lekuinte bash ani command evvu

Posted

[quote name='CheGuevara' timestamp='1366124914' post='1303611784']


nuvvu filename ela ichhi create chestavo alane create chestadi file.....unix doesnt add any default extension top the files....so open cheyyalante kuda vi command lo same filename evvali which you gave while creating


aa $ symbol ravali ante okasari log out ayyi login avvu malli....lekuinte bash ani command evvu
[/quote]ok...nenem extension ivvale...mari adi em name tho ayyindo?

only bash anaa? ala isthe em raavatle.....

Posted

[quote name='Kaarthikeya' timestamp='1366125279' post='1303611810']
ok...nenem extension ivvale...mari adi em name tho ayyindo?

only bash anaa? ala isthe em raavatle.....
[/quote]


log out ayyi malli login avvu...

inthaki nuvvu em tool vadutunnav to access the server...putty na?

Posted

[quote name='CheGuevara' timestamp='1366125824' post='1303611861']


log out ayyi malli login avvu...

inthaki nuvvu em tool vadutunnav to access the server...putty na?
[/quote]ya putty use chestunna..

logout ayyi login ayyaka ee msg vachindi :o

[YOU HAVE NEW MAIL]

what does this mean?

Posted

[quote name='Kaarthikeya' timestamp='1366124837' post='1303611772']
vi editor ani edo annadu kada paina pampachak bhayya....anduke ademaina veredi emo ani adigaa other than putty

nenu oka test file create chesi, daantlo edaina data ni insert cheddam ani trying s%H#
[/quote]

vi editor anedi unix lo inbuilt untundi ..

vi filename ani command ivvu neeke telustundi

Posted

[quote name='Kaarthikeya' timestamp='1366126239' post='1303611903']
ya putty use chestunna..

logout ayyi login ayyaka ee msg vachindi :o

[YOU HAVE NEW MAIL]

what does this mean?
[/quote]


system dobbinchava enti.....neeku warning mail vachindemo :o :o

Posted

[quote name='Ukkumanishi' timestamp='1366126263' post='1303611908']

vi editor anedi unix lo inbuilt untundi ..

vi filename ani command ivvu neeke telustundi
[/quote]oh adena?

adi ichaanu bhayya...adi isthene ila vachindi

[CODE]
$ vi test
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"test"
[/CODE]

Posted

[quote name='Kaarthikeya' timestamp='1366126239' post='1303611903']
ya putty use chestunna..

logout ayyi login ayyaka ee msg vachindi :o

[YOU HAVE NEW MAIL]

what does this mean?
[/quote]


ignore it ...not much important...adina cronjob complete aite aa mesasage pampistadi to that user mailbox

Posted

[quote name='CheGuevara' timestamp='1366126355' post='1303611918']


system dobbinchava enti.....neeku warning mail vachindemo :o :o
[/quote]vaammoo....sachipotha ippudu ala aithe :o :(

naakem email aithe raaledu...Unix lo emaina email untunda enti seperate ga? :o

Posted

[quote name='CheGuevara' timestamp='1366126412' post='1303611923']


ignore it ...not much important...adina cronjob complete aite aa mesasage pampistadi to that user mailbox
[/quote]vaarini okka nimisham pack ayindi kada :3D_Smiles_38:

Posted

[quote name='Kaarthikeya' timestamp='1366126370' post='1303611919']
oh adena?

adi ichaanu bhayya...adi isthene ila vachindi

[CODE]
$ vi test
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"test"
[/CODE]
[/quote]


ala vaste file open aindi...andulo emledu....so dinni chusi $ symbol poindi ani kottukuntunnava ...lol....cheppa kada vi filename ani iste file open avtundi ani....in this case the file is empty ante....



ippudu amina type cheyyali ante efile loki...insert button press chesi ...file lo rayi

rasaka adi save cheyyataniki, escape key press chesi then do [b]:wq[/b]

appudu nuvvu type aa file lo save avtundi

  • Upvote 1
Posted

anni vedilesi idi try cheyyu

1. give command - vi **filename.extension**

2. appudu oka file open autundi with cursor

3. nuv type cheyyalsindi type chey

4. ippudu typing ayyaka " :wq " ani ivvu .. file save ayipoyi nee folder ki vastundi

5. malla file open cheste ( vi filename.extension ) , it wont open in edit mode i.e. insert mode .. adi cheyyalante " *i " type cheyyu.. appudu edit cheyyacchu

6. chesaka malli " :wq " ivvu

×
×
  • Create New...