09-11-2004
Quote:
Originally posted by Kimm
me neighter, thats why I uninstalled it and installed windows again, but I am thinking about installing some other distrobution, maby mandrake or slackware
Why not consider Fedora core 2? It's easy to use and good for starters and installing it is easy too. Fedora core 2 is also very advanced with alot of features.
I too wouldn't recommend Slackware for beginners.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
as part of my course i have to do a lot of programming using the universities unix server. i am able to access this from home using telnet but i cannot use axe or anything to edit my files. I was wondering if anyone knew of any software that could enable me yo do this as i like working at 2am when... (1 Reply)
Discussion started by: HALLY
1 Replies
2. UNIX Desktop Questions & Answers
What's the best Telnet and SSH for Win32 platforms, along with an xterm terminal emulator to use nowadays?
Thanks. (8 Replies)
Discussion started by: laila63
8 Replies
3. UNIX for Dummies Questions & Answers
Are there any freeware or shareware X-windows emulators out there? I only have the need for an emulator on rare occasions and would like to avoid having to purchase something like Exceed or x32.
Thanks (1 Reply)
Discussion started by: rhack
1 Replies
4. UNIX for Dummies Questions & Answers
Where can I download a unix Emulator for Training and education of the IT personal in my company. (9 Replies)
Discussion started by: st_matan
9 Replies
5. Linux
hello,
can any body tell how to use terminal emulator....
i want to check he serial port communication with the help of that terminal emmulator....
also tell me how to open terminal emmulator.....and how to configure it........and how to use it...
I am using fedora core 6..... (1 Reply)
Discussion started by: arunchaudhary19
1 Replies
6. Solaris
Hello together,
in our German company we have buyed one English Windows XP version. Every one of us should have access to this windows installation. So we have reconsidered that we want to install this Windows on our SUN SPARC Solaris machine. It is only used for checking out licenses of our own... (2 Replies)
Discussion started by: SPORTS
2 Replies
7. Windows & DOS: Issues & Discussions
Not quite sure if this is the right section, but you guys know lots of good stuff. Is there a good OS X emulator that I can put on my Windows XP system?
I have PC's and at work/lab they run everything on mac's. Due to program compatibility issues, it would be nice if I could run mac software on... (2 Replies)
Discussion started by: silkiechicken
2 Replies
8. UNIX for Dummies Questions & Answers
Hi, I was just wondering how to distinguish between the two terms:
1. Terminal emulator (vt100, vt220 and so on)
2. shell command line
Then i decided to conclude myself that these 2 are very equivalent. am I right? this actually came to my mind when I was using my HP-UX terminal.
I am... (1 Reply)
Discussion started by: messi777
1 Replies
9. Hardware
Hello,
Just wanted to let interested people know that we've recently released a Linux freeware version of SparcStation 20 emulator. It emulates SS20 with some basic peripherals: a single SPARC V8 32bit CPU, up to 512MB RAM, an NCR53C94 SCSI controller, 2 serial lines, disks, a network adapter,... (7 Replies)
Discussion started by: Thlan
7 Replies
LEARN ABOUT DEBIAN
shell-quote
SHELL-QUOTE(1p) User Contributed Perl Documentation SHELL-QUOTE(1p)
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.8.4 2005-05-03 SHELL-QUOTE(1p)