This blog is for techies... here are a few tips n tricks,,,had been very handy to me, guess would be of some help to u as well,,,keep reading...keep blogging... have a nice day !!
Tuesday, October 6, 2009
c program from a linux terminal
well here it is....how to run a C program from a linux terminal...
Distribution differences wont matter as these are the general steps::
Creating a program...
U can choose any of the various editors...i chose vim.
And do not forget to save...
( U can alternatively create the file on any directory u want)
Step 3:
In olden days,,the output of the assemblers was stored in the file
a.out
so the trend continued...
and we execute this file
BINGO!!
enjoy..
Distribution differences wont matter as these are the general steps::
Step 1 :
Creating a program...
U can choose any of the various editors...i chose vim.
And do not forget to save...
( U can alternatively create the file on any directory u want)
#vim hello.c
Step 2 :
#gcc hello.c
Step 3:
In olden days,,the output of the assemblers was stored in the file
a.out
so the trend continued...
and we execute this file
#./a.out
BINGO!!
enjoy..
Thursday, October 1, 2009
ubuntu tips n tricks
1. press Alt+F2 and write, "free the fish"
2.
Open the terminal and type:
1. apt-get moo
2. aptitude help
3. aptitude moo
4. aptitude -v moo
5. aptitude -vv moo
6. aptitude -vvv moo
7. aptitude -vvvv moo
8. aptitude -vvvvv moo
9. aptitude -vvvvvv moo
Enjoy the responses..
3.
Press ALT+F2 and then type in "gegls from outer space" and enjoy the game of space invaders but with an exception – the game is played with cows !!!!
2.
Open the terminal and type:
1. apt-get moo
2. aptitude help
3. aptitude moo
4. aptitude -v moo
5. aptitude -vv moo
6. aptitude -vvv moo
7. aptitude -vvvv moo
8. aptitude -vvvvv moo
9. aptitude -vvvvvv moo
Enjoy the responses..
3.
Press ALT+F2 and then type in "gegls from outer space" and enjoy the game of space invaders but with an exception – the game is played with cows !!!!
Subscribe to:
Posts (Atom)