12-17-2010
Quote:
Originally Posted by
Jakob
Although it is not recommended to dualboot with linux and windows
Why is it not ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Ok I had a windows and RH dual boot system and have now converted over completly to the linux system.
How do I regain the other half of my drive? I cannot see it in the disk manager. what do I do to format so that i can mount it? (1 Reply)
Discussion started by: macdonto
1 Replies
2. UNIX for Dummies Questions & Answers
Hi there!
I have a laptop which I plan on installing a dual boot on with Windows and Linux. I have Windows 98 installed at the moment, and I also have a copy of Slackware 8.
I talked to friend, and he said he had some problems installing a dual boot with linux on his laptop... So I just came... (2 Replies)
Discussion started by: satan404
2 Replies
3. UNIX for Dummies Questions & Answers
Greetings,
I have learned much since joining the message board, but I was unable to locate any information concerning dual booting Solaris with Windows on a machine with standardized equipment. I have read on the sun.com page that it is possible and can even be pushed to the rear partition, but... (3 Replies)
Discussion started by: TStoddard
3 Replies
4. UNIX for Dummies Questions & Answers
Does anyone have any idea how I can manage an XP/Linux dual boot (I want to use debian), I can't find anything about it on the internet! (2 Replies)
Discussion started by: XDC_Wolf
2 Replies
5. UNIX for Advanced & Expert Users
Hy all
Does anyone have Info on how to make a dual boot
HP UX 10-20
HP UX 11
on a server ?
Thanks in advance
Olivier (3 Replies)
Discussion started by: Olivier
3 Replies
6. BSD
I have recently installed free bsd on my windows xp laptop so that now it is a dual boot system. It worked fine for the first couple of days, but now whenever I try to boot into windows it hangs, giving the message WINDOWS\System32\DRIVERS\agp440.sys, bsd however, loads fine. I was wondering either... (3 Replies)
Discussion started by: elfhat
3 Replies
7. Solaris
hi ;)
So I have 2 HDD (SATA and ATA). On the SATA I've installed WindwosXP and now I want to install solaris 10 on the ATA disk. Is it possible if the ATA disk is primary to make dual boot ?
thank you very much (0 Replies)
Discussion started by: nocture
0 Replies
8. Solaris
Does here know how to configure the Windows XP Boot loader to dual boot XP and Solaris 10?
I installed Solaris after XP but it did not detect the XP installation, and I really can't reformat right now. (3 Replies)
Discussion started by: Super User
3 Replies
9. Linux
Does anyone know if it is possible to have a dual-boot machine with Linux (RH FC 5) and Unix (Solaris 10)?
I currently have one OS (Linux RH FC 5) on one drive (master) and another OS (Unix - Solaris 10) on the other drive (slave).
I am a little unsure of what to modify the grub.config file with,... (1 Reply)
Discussion started by: trmn8r
1 Replies
10. Ubuntu
When I first started using Linux (Ubuntu) I decided to just do a full install. The PC I installed it on, was full of viruses and to be honest, I was never good handling them. So, I decided to just go for it and install.
Anyways I got another computer recently, a much newer one and I decided to... (3 Replies)
Discussion started by: billcrosby
3 Replies
LEARN ABOUT CENTOS
shell-quote
SHELL-QUOTE(1) User Contributed Perl Documentation SHELL-QUOTE(1)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.16.3 2010-06-11 SHELL-QUOTE(1)