Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
One slightly flip answer is that "Programming is Programming"---i.e. you have to set up an environment with libraries, header files, etc. + a compiler.
The standard Linux compiler is GCC, and may already be installed. Beyond that, what kinds of programs do you want to build? For example, if you want graphical apps, you will need something like the Qt or Gtk toolkits.
I recommended buying (and reading) Beginning Linux Programming, Matthew and Stones, published by Wrox
I am going to implement my protocol. Now if I have GCC compiler already installed, I don't know how to use GCC for compilation, and after that I would also use some debugger. But I know nothing. Please be generous enough and explain me in sufficient details.
Regards.
I am going to implement my protocol. Now if I have GCC compiler already installed, I don't know how to use GCC for compilation, and after that I would also use some debugger. But I know nothing. Please be generous enough and explain me in sufficient details.
Regards.
I don't know what you mean by "implement my protocol".
Do some Google searches on GCC---there are lots of manuals and tutorials out there. (And get the book I suggested.)
schneidz posted a code sample (cut and paste from a terminal). This included the prompt that appears in any terminal---in his case, simply the HOSTNAME of his computer. Mine looks like this:
Code:
root@Ath:~#
This says I am running as root on a computer named "Ath", and I am in my home directory. This prompt can be customized by editing the PS1 environment variable.
Then the OP misread the code and thought that "hyper" was a command.
To answer Maddy---the prompt appears in a terminal and is simply the "marker" inviting you to "enter commands here". You can find a terminal in your menus, or with ctrl-alt-F1.
If OP does not come back soon, we'll close this.......
schneidz posted a code sample (cut and paste from a terminal). This included the prompt that appears in any terminal---in his case, simply the HOSTNAME of his computer. Mine looks like this:
Code:
root@Ath:~#
This says I am running as root on a computer named "Ath", and I am in my home directory. This prompt can be customized by editing the PS1 environment variable.
Then the OP misread the code and thought that "hyper" was a command.
To answer Maddy---the prompt appears in a terminal and is simply the "marker" inviting you to "enter commands here". You can find a terminal in your menus, or with ctrl-alt-F1.
If OP does not come back soon, we'll close this.......
Hey thanks for the response i was confused by the previous thread when it is mentioned it can be programmed for the prompt. This answered my question and i agree
i should explain, in college, one of the labs was to create your own 'ls' program and your own 'shell'. mine happened to have a non-standard prompt so that's why my screen grab looked the way it did.
I would also like to learn editing the prompt but first I want to about one dedicated environment for compiling and debigging my .c/.cpp files in fedora. From discussion here, I have learnt compiling with gcc command but what I want is a seperate, specialized environment like Turboc++ and Borland I used in Windows Systems by Microsoft.
Editing the prompt is also interesting but first I would like to know about a dedicated environment for compiling and debugging my .c/.cpp files in fedora like the one I used in Windows e.g TurbooC++ and the Borland.
I have learnt compiling using gcc command at terminal but I want some separate and specialized program.
Regards
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.