How do I install Ubuntu from floppy?
location: linuxquestions.com - date: December 28, 2004
Very simple problem, difficult solution for a novice...
I have ubuntu on CDROM.
I have a PC with a working CDROM drive.
The BIOS has no option to boot from the CDROM drive.
Ubuntu has no floppy install disks.
How Do I Remove Files from opt?
location: ubuntuforums.com - date: August 2, 2010
I ran "install.sh" for a program and it put two new subfolders in my /opt folder. Now I've decided I don't want that program on my computer. How do I remove the subfolders it created?
How to export environment variable from a bash script
location: linuxquestions.com - date: July 17, 2005
I am new to bash scripting. I am trying to write a simple bash script to automate some command typping. Let's say that i can type on command prompt: "export LFS=/mnt/lfs". Then when i type on that same prompt "echo $LFS", i have the output "/mnt/lfs". Now what i dont know how to do (and i tried to read up on this and tried by trial and error, but without success.) is how to export that same variable $LFS but from a bash script. In other words, when my bash script finishes and when i type "echo $LFS" i want to have the same result: "/mnt/lfs". Can anyone enlighten me on this?
Thanks. Appriciate in advance.
How do i remove software from linux mint?/
location: linuxquestions.com - date: May 4, 2012
I installed some software which inluded tomcat and mysql. Now the software wont run. I need to completly uninstall all previous versions before i can re install the problem is i dont know how to completly remove software from linux? Can anyone help please?
How do you learn networking from an Ubuntu/Linux perspective?
location: ubuntuforums.com - date: February 25, 2012
I don't know a lot about linux or networking, though I do know the basics.
I've looked at a lot of free networking materials on the net but they all seem to teach things from a windows perspective (eg, they use windows commands).
Are there any kinds of free material (ebooks, courses, podcasts etc) on the web to learn networking from a linux perspective, using linux commands and linux programs?
How do I log output from cp command?
location: ubuntuforums.com - date: August 30, 2008
I have a dead SATA drive that Windows won't recognize. Acronis True Image sees the drive's label, so that's a good sign, but it won't copy anything from it. I put the drive in my Ubuntu box, and it came right up. However, some of the folders that I KNOW have things in them don't show anything. But when I go to the terminal and type "ls" in that folder, it shows the contents. That leads me to believe that the terminal is a little more forgiving of bad hard drives. So rather than using the GUI to copy the files, I just want to use the terminal. However, I would like a list of files that don't copy correctly. I know that cp will tell you when things don't copy correctly, but if it happens too much, eventually the list will be so long that you can no longer scroll to the top of the list. Is there a way to log the output? In DOS, you just put " > file.txt" after the command and it logs it to that file. I'm basically looking for the equivalent of that in Ubuntu.
How to create ISO images from your HD CD DVD
location: ubuntuforums.com - date: November 29, 2004
This is very helpfull to backup you cd and dvd into iso images:
To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it. (ubuntu automount so you need to unmount, that's quite easy, just choose the option unmount from the shell).
dd if=/dev/dvd of=dvd.iso # for dvd
dd if=/dev/cdrom of=cd.iso # for cdrom
dd if=/dev/scd0 of=cd.iso # if cdrom is scsi
To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.
mkisofs -o /tmp/cd.iso /tmp/directory/
This results in a file called cd.iso in folder /tmp which contains all the files and directories in /tmp/directory/.
For more info, see the man pages for mkisofs, losetup, and dd, or see the CD-Writing-HOWTO at http://www.tldp.org.
Hope it helps
How to create log file from script
location: linuxquestions.com - date: August 9, 2005
I'm currently making a bash script to untar and configure apache, mysql php4 and a few other programs, but i'm having trouble with the script and need to be able to find where the errors are.
But the problem is so much output information comes up on the screen and i can only move up a few screens lengths, is there some code i can put into the script that create a log file from the screen output.
How to create mysql database from command line
location: linuxquestions.com - date: February 13, 2010
I want to create database from script directly by taking inputs USER, PASSWORD and DBNAME.
Iam able to create DB using below command:
# mysqladmin -u USER -pPASSWORD create DBNAME
!!! But my Requirement is to create DB with option 'collate lantin1_general_cs' for case sensitive as follows:
# mysqladmin -u USER -pPASSWORD create DBNAME collate lantin1_general_cs
mysqladmin: Unknown command: 'collate'
How to resolve this or any alternate method (other than entering into mysql prompt like mysql -u USER -pPASSWORD). ??????
How do you start Xwindow from command line?
location: linuxquestions.com - date: November 18, 2005
Baiscally, when I start up SUSE linux on my computer at the GRUB screen (as opposed to Windows: I dual boot), about 3 times out of 7 it won't boot up the graphical login screen. I've no idea why. The screen just stays black, even when I leave it for ages.
(Fedora used to do that to me a bit as well: perhaps it's because my hardware is quite old now. Pentium III 650Mhz and 388MB RAM. I don't know.)
But I can still log in in text mode, by pressing Ctrl-Alt-F6, etc. So what I'd like to know is how can I start X-window, and then start Gnome / KDE, etc from command line? What commands to use?
And secondly, if I do decide to work on command line, what is the command to log out?
Page: 1 2 3 4 5 6 7 8 9 10