How can I download files (that are listed in a text file) using wget
or some other automatic way?
Sample file list:
www.example.com/1.pdf
www.example.com/2.pdf
www.example.com/3.pdf
How can I download files (that are listed in a text file) using wget
or some other automatic way?
Sample file list:
www.example.com/1.pdf
www.example.com/2.pdf
www.example.com/3.pdf
I want to enable the nice splash screen on GRUB boot menu. I have Ubuntu 11.04, running on a nVidia graphics card. Please help. I'm new to Linux.
I want to set a background image when GRUB shows a list of available OS. I have Ubuntu 11.04. I've changed colour through grub.cfg in /boot/grub but can't set an image as background in the list.
I've 2 hard disks. I've installed Ubuntu on the HDA(0), but there are plenty of spaces. But On the HDA(0) there is only one partition.
My question
How can I edit / create another partition on HDA(0) to install Windows XP on the 2nd partition ?
How can I install Windows XP on HDA(1) and still be able to boot in Windows XP or Ubuntu ?
I want to open password protected [not read only] doc file [saved in LibreOffice] to write, but i cant type. How to solve this problem ?
Is there anyway to install XAMPP for all the user on Ubuntu 11.04 ? It would be great and I hope there are some ways. Because it's disgusting to log off every time to run XAMPP.
I'm new to Linux.
Please help me writing a shell programming using if
else
, all possibile code using [[ ]]
, [ ]
, (( ))
.
I tried but it does not work (you can check my previous question Arithmetic binary operators -gt, -lt give error but work in a shell script).
Here is the C version:
int i = 10, n = 20;
if (i < n)
printf("i smaller");
else if (i > n)
printf("n smaller");
else
printf("same");
I wrote this simple script it works too but shows an error
clear
echo Enter 1st number
read n1
echo Enter 2nd number
read n2
echo MUlti is `expr $n1 \* $n2`;
if [$n1 -lt $n2]
then
echo $n1 'is bigger than' $n2
else
echo $n2 'is bigger than' $n1
fi
Enter 1st number
5
Enter 2nd number
10
MUlti is 50
./script.sh: line 7: [5: command not found
10 is bigger than 5
I installed XAMPP. Now the problems are
I can not start mysql
root@ubuntu:/# sudo /opt/lampp/lampp startmysql
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
I can not put my projects so i can test it
/opt/lampp/htdocs/
root@ubuntu:~# cp -r /home/sou/socialnetwork/* /opt/lampp/htdocs/SocialNetwork
cp: cannot stat `/home/sou/socialnetwork/*': No such file or directory
root@ubuntu:~# cp -r /home/sou/socialnetwork/*
/opt/lampp/htdocs/SocialNetwork
-bash: /home/sou/socialnetwork/*: No such file or directory
-bash: /opt/lampp/htdocs/SocialNetwork: No such file or directory
cp: missing file operand
Try `cp --help' for more information.
MySQL said: Documentation
2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
Connection for controluser as defined in your configuration failed.
I just startted with Ubuntu 1day ago, so i dont know the staffs required to start XAMPP properly. please guide me !
Possible Duplicate:
How to disable viewing Window's hidden files in Ubuntu ?
How can I hide files and folder in Ubuntu so files and folders which are hidden in Windows are also hidden in Ubuntu?
As .NET is OS independent how can I run programs built/compiled on .NET 4.0 ?
Can I develop software in Ubuntu for .NET 4.0 [if yes, what i need to download, link] ?
Is there any way to download LAMP and save it to the HDD so next time if i install a newer Ubuntu i dont have to download it again ?
I just switched to Ubuntu today, is there anyway to save the EXE like we do it in Windows ?
The error:
Reading package lists... Done
Building dependency tree... 50%
Building dependency tree
Reading state information... Done
Package gstreamer0.10-plugins-ugly is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gstreamer0.10-plugins-ugly' has no installation candidate
sou@ubuntu:~$
sou@ubuntu:~$ sudo apt-get install apache2 mysql-server php5
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package apache2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package mysql-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'apache2' has no installation candidate
E: Package 'mysql-server' has no installation candidate
E: Package 'php5' has no installation candidate
How to monitor bytes received/sent in a network session in Ubuntu ?
I'm very new to ubuntu, so dont give links which requires to compile files or so...
I installed Ubuntu 11.04, now when ever i try to play mp3 or any such files it searchs for codecs.
Is there any pack which bundles all the required codec for famous formats [mp3, mpg, wmv, flv, ...] ?
I want to know is there any theme available make it Ubuntu look like Windows 7 ?
my system runs on Windows XP, i need to run a PHP project in Ubuntu, but dont want to install Ubuntu on the HDD.
So need to run it in Live mode, now please guide me to install PHP on Ubuntu so i can test my PHP project.
I have Ubuntu 9.04 Desktop edition