Thursday, January 31, 2013

How to use linux centos terminal basicly?

Q. i have free vps by Host1Free and centos installed. Ok i want to niow how to upload, delete, rename, move, copy, list files using putty when o connect remotelt. To say this simply: i want terminal commands to manage files.

A. Try these links:

http://www.tuxfiles.org/linuxhelp/cli.html

http://linuxcommand.org/learning_the_shell.php

How to print linux man command into web browser using perl?
Q. I am actually being able to print the command to the webbrowser, BUT the problem is the format !!!! it displays the text with no format ( no space, no new lines etc..)

how can i display the text with its original format into the web browser? It means i want to display the man command in the browser with the same format it looks like in the linux terminal

A. Try putting

<pre>

</pre>

around the man page text

Is there a simple way to add disk space to Linux?
Q. I am a noob at Linux, and I installed Linux without adding enough disk space. Now, 4 days later, I am extremely low on space. I need a simple Terminal command or something to allocate more disk space.
And if it helps, I am running Linux 11.04
Going off of an answer, I am more specifically running Ubuntu 11.04.

A. I imagine (given the lack of detail I can only imagine since you don't explain) that you created a single linux partition, and now you are running out of space. If that is the case, I would recommend that you consider reinstalling Linux, and creating a "/" (root) directory or partition which can be fairly small) and a "/home" directory which is where you store data and the various things that make Linux useable. You won't know how to do this without a lot of google reading - it isn't difficult, but you need to understand it to pull it off. Someone else referred to LVM, a much more flexible way of setting up your system with the option for later configuraiton changes, but much more difficult than setting up / and /home partitions.

I just looked at my partitions and / is using slightly under 7 GB. /home is using 33 GB. I still have lots of free space available in both partitions.

Now, if you have lots of room available on your hard disk, you can try using GParted to expand your linux partition (if you don't want to mess with re-partitioning and re-installing - but since you have only recently installed Linux, I recommend repartitioning!). You will need a live CD - Ubuntu, Mint, xyz, it doesn't matter which distro you use. You backup any data that you want to keep, reboot the system using a live CD and fire up GParted. Use it to make the linux partition larger, when it is done hopefully you can restart the system and have Linux boot and run. If you have a dual boot configuration (Windoze and linux) hopefully they will both run. No guarantees, which is why you back up important data, but it should work. Depending on how you did the initial linux install, it may be a piece of cake, or it may be a pain. Don't blame me if you muck things up! Back up anything you can't bear to lose before trying anything!

Good luck!



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment