ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
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.
This is totally not the way things are done on this help forum.
Members are encouraged to help each other in the forum environment, so that others too can learn from the solution to your problem.
This means showing us what you've got to work with (show us the code), and explaining what you're trying to accomplish, and what is not working or where you are having difficulty. Show us any error messages that your code produces. Tell us what operating system you're working on too, if it has any bearing on the problem.
Please bear in mind this is a public forum, not a private help service, so assistance comes on a volunteer basis, and whenever someone feels like trying to help, and has a few minutes to do so.
Hi there
I really need help. I have assignment to write bash script and I have to submit it after tommorow . I do not have experience to finish it by myself.
I am really need help if any one can contact me. on my email I will be thanks him/ her.
I can alo pay for that help.
Regard
As GrapefruiTgirl said, we're not going to provide you with one-on-one, personalized support. To clarify, this is a HELP forum...that means, YOU do the work, and come here if you get stuck. When you do, post what you've written, and where you're having a problem. We will be glad to ASSIST you, but we're not going to do your homework for you.
If you can pay someone to write a script for you, you can probably pay for books and/or a tutor, to actually LEARN how to do it yourself.
I relaised that the gcc followed by the the programm name will compile the program and create excutable program from it. Then we $ ./example to run the executable filse.
My question if the programmer need to edit his program is there is any command open it to edit under the lunix or he just need to use any text editor ?
Now as administrator I would solve the out of memory errors.
some guiding
step 1 NEVER NEVER log into the gui ( gnome,KDE,xfce) as root
-- research that and you will find out why --
if you are infront of the computer ( and NOT using ssh )
depending IF you have "sudo" set up ( some like it , i do not )
use , as a normal user, it the terminal
1) su -
2) su
3) sudo
all 3 can start a root session , BUT do different things
Linux dose not use the Microsoft "Administrator " account
It uses " root "
as to the "out of memory " ???? with out the full error and full code and command that are causing it , we can not help
-- our "Chrystal Balls" do not show anything --
I want to write a bash script to automate the user creation. This script will prompts u to enter the following:
- Username
- Real name
- Office number
- Telephone
- Password
Then this information will be used to create the user.
So now,
How to begin the script?
In which format it will be?
How to run it for testing purpose?
How to let the script ask the user for the information?
you say you do not have your own Linux to test this code? If so, then why not?
To better be able to learn and practice, you *really* should download a Linux OS, or install a VM on your Windows machine (or something!) and install Linux inside there, so you have a machine to practice on. And, if you do not want to do any actual installations to your machine, download a LiveCD to use instead; at least you'll have an environment where you can write your code and test it!
What if we tell you your code looks fine, but we overlook a bug? You won't really know if the code works or not, and if it doesn't, then it won't be working when you hand in your assignment!
EDIT - There may be a bash-like shell (or even bash itself) available for Windows too - I don't know for sure - but it'd be worth it to you to investigate.
Last edited by GrapefruiTgirl; 10-03-2010 at 07:33 AM.
you say you do not have your own Linux to test this code? If so, then why not?
To better be able to learn and practice, you *really* should download a Linux OS, or install a VM on your Windows machine (or something!) and install Linux inside there, so you have a machine to practice on. And, if you do not want to do any actual installations to your machine, download a LiveCD to use instead; at least you'll have an environment where you can write your code and test it!
What if we tell you your code looks fine, but we overlook a bug? You won't really know if the code works or not, and if it doesn't, then it won't be working when you hand in your assignment!
EDIT - There may be a bash-like shell (or even bash itself) available for Windows too - I don't know for sure - but it'd be worth it to you to investigate.
Thanks dear for your advice actually I am not going to complete studying linux. I just want to finih this course and stop learning more about linux if you could help check the codes I will be thanks that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.