06-16-2010
Quote:
Originally Posted by
gwgreen1
and install it with someones help. After installing Fedora core you can use UNIX from the Fedora OS by terminal or console.
you can't use UNIX because UNIX is not a tool or program... all you can use from within a terminal session are the tools (programs) that are installed on the system. tools like "vi" or shell buildin commands for scripts like "while".
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm very new to Unix-- I want to locate and download it to my computer and start learning it. Could anybody plz help me start.
Thanks a lot.
Rachid (1 Reply)
Discussion started by: Rachid
1 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I was reading on the net and something caught my eyes it was something about learning how to become a hacker. This site said that the best thing you can do to start is to use a Unix. My first question is: What is an Unix?
Then I would like to ask you how can I download one on my... (3 Replies)
Discussion started by: chaoticlysmart
3 Replies
3. UNIX for Dummies Questions & Answers
Seriously. I Know Very Little About Unix, But Im Tired Of Windows. Id Like To Learn More About Other Os', But I Don't Know Where I Can Get A Download For Unix. I Know Some Body Can Hel[ Me. Thanks. (2 Replies)
Discussion started by: classicblue
2 Replies
4. UNIX for Dummies Questions & Answers
okay, where can i download the unix operating system? i cant find it anywhere on your site (1 Reply)
Discussion started by: dcotto21
1 Replies
5. UNIX for Dummies Questions & Answers
where can i download UNIX OS?
I am a new bie! :confused: (3 Replies)
Discussion started by: vuluan
3 Replies
6. UNIX for Dummies Questions & Answers
Hello All,
I need to train myself in UNIX. Where can I get UNIX OS download, so that I can multi boot it with my existing Windows OS?
Thanks
PHK (1 Reply)
Discussion started by: pkirangi
1 Replies
7. UNIX for Dummies Questions & Answers
I was wondering if anybody knows where I can download Digital UNIX 4.0E.
Thanks. (2 Replies)
Discussion started by: emybeavis
2 Replies
8. UNIX and Linux Applications
Dear All,
I am a newbie in this forum, I use to know the Linux box, now I want to try with UNIX, so how can I start from the beginning (setup, configuration.....)?
and where can I download UNIX?
Regards;
BL (2 Replies)
Discussion started by: chenboly
2 Replies
9. UNIX for Advanced & Expert Users
I checked unix.org but did not find any link where i can download basic unix flavour. any idea from where i can download unix.
thanks in advance.
- nilesh (14 Replies)
Discussion started by: ynilesh
14 Replies
10. UNIX for Dummies Questions & Answers
Hey Guys I work in a job where I am starting to use Unix. I want to practice on my own personal machine. I know I can download Linux in a lot of different flavors but does anyone know where I can download UNIX?
Thanks in advance. (3 Replies)
Discussion started by: Koopa_Troopa
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)