GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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.
First you have a command (such as ls, cd, du, cat). These work in certain default ways. You can modify their default behaviour by adding in various switches. These are most often represented by a dash, followed by a letter, such that a modified du command would be du -sh, a modified ls command is ls -lh, a modified cat command is cat -s, etc.
So, back to your problem. You typed in the cat command cat -sh. This prompted the shell to return an error message to you, saying it didn't understand what -h does. If you look at raska's post with the cat command in it, his cat command does not include the -sh switches, those you appear to have added youself. It seems you have confused the du -sh and the cat commands.
What the cat command is doing is just sticking all the files you have from the zip files together into one file (an iso). cat is short for concatenate, which means join together. Therefore, raska's cat command was taking the 5 individual files (sol-10-u2-ga-x86-dvd-iso-a, sol-10-u2-ga-x86-dvd-iso-b, sol-10-u2-ga-x86-dvd-iso-c, sol-10-u2-ga-x86-dvd-iso-d, sol-10-u2-ga-x86-dvd-iso-e) and making one single file from them (sol-10-u2-ga-x86-dvd-iso-full.iso). I'll repeat raska's command here for reference:
It seems this has worked correctly however, since you have a file called sol-10-u2-ga-x86-dvd-iso-full.iso in your directory, which you can confirm by running ls -lh to show all the files, with long listing (the -l in the ls command) in human readable format (the -h in the ls command).
I'm guessing what happened: they splitted one big image file into several files (5 ones this case) with the split command (check the man).
So far we've assumed that the original dvd iso had been split, and so we've stitched it back together; this may not be what happened. Either way, give it a go, if it works, then brilliant. If not, we'll go from there fingers crossed!
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662
Original Poster
Rep:
Thanks pwc101 for the reply.
It works fine. I could burn it without any hassle.
I need some more help or rather advice on the installation of the Solaris.
This computer I am writing has a 64 bit processor. I am using Mandriva Linux 2006 version. It is a 64 bit program. This has a dual boot system. LILO decides whether I want to go to Windows XP or Linux.
My default is Linux. If I don't touch the computer at the start, it starts Linux. I have 30 second to change to Windows XP. I rarely use Windows XP.
The symbol of the harddrive where I have Linux is ' hda6'. How do I make a partition on that part to install the Solaris? This Solaris is a 64 bit program. I have some other computers too. They are 32 bit ones.
When I bought this computer, almost 6 months ago, it has a SATA harddrive. I asked them to put a SATA harddrive of 180GB.
I struggled to install Linux on that harddrive. I couldn't install. The problem was with some drivers. Mandriva Linux 2006 didn't have some drivers to install. I looked for drivers on the Internet and as well as Mandriva's repositories.
Afterwards, I bought another Samsung harddrive. It is an IDE hardrive. It is 200GB. I could install Mandriva Linux 2006 on that harddrive.
So the disconnected SATA harddrive is inside the computer.
As a matter of fact I would like to install the Solaris on that free 180GB harddrive.
Is this feasible?
Your thoughts are welcome.
It may be that Mandriva Linux 2007 version or some latest version has all the drivers. I didn't find any Mandriva Linux 2007 version or any upgrade version.
[The hda6 is 75GB. I have used 20GB and 52GB are free. This /mnt/win_c is
the Windows XP. It may be possible to install Solaris on 'hda5' drive too. it has 75GB and I have used only 288KB.
Where is the swap file? I am sure I created 1GB or 2GB large swap file. This was 6-8 months ago.]
...It works fine. I could burn it without any hassle.
I need some more help or rather advice on the installation of the Solaris....
Well I'm really glad you could sort that out. Albeit I can't be of help with Solaris. I tried to install it once, failed, threw away the disc, didn't have the time nor the patience for it, and I just learnt that I'm a linux guy. There is a Solaris forum here in LQ, post there or search for specific answers, I'm sure there should be someone able to help ya
Godspeed.
I'm also glad you could burn the cd, but I haven't any experience of installing Solaris. Although, since I've joined this thread, I've downloaded the solaris installation, and plan on having a go at installing it myself.
In fact, (not that this is of any interest to anyone) I plan on installing a number of distros since I've only ever tried Fedora, Puppy and Slackware. Debian and Ubuntu are on my list, as is Solaris now
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789
Rep:
Quote:
Originally Posted by Gins
[nissanka@c83-250-100-230 Solaris]$ file 'sol-10-u2-ga-x86-dvd-iso-full.iso' sol-10-u2-ga-x86-dvd-iso-full.iso: ISO 9660 CD-ROM filesystem data 'SOL_10_606_X86 ' (bootable)
[nissanka@c83-250-100-230 Solaris]$
I am a bit perplexed by this type of usage of the command 'cat'.
We don't use the 'cat' command to create files or collect together parts of files. The 'cat' command is to read a file.
The cat command was originally created to combine several files to its standard output, although it's true the main usage is to display a file content.
Its name shows this, being an abbreviation of "catenate" (or concatenate).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.