08-09-2009
Quote:
Originally Posted by
sparcguy
Take a piece of paper and write down 5 reasons why you want a career in Unix.
...snip...
Quote:
if you like it for the money then better forget it, choose another career because you will not last.
Money doesn't even make it in the first 10 reasons for me - it's a benefit to all of the Other Stuff(tm).
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am going on 16 and im wondering if a Unix career would be suitable for me when im 18, or if it will even be possible for me to get a job working as some sort of a junior sys admin at that age. I am just starting to get into all this Unix stuff and I see the vision.
So, is it really possible... (3 Replies)
Discussion started by: Gavan
3 Replies
2. UNIX for Advanced & Expert Users
Hello all,
Im about to graduate with a degree in computer science. I think i've found my 'niche' in unix and would like to take it up as a career. I hope you dont mind answering a few questions.
How hard is it to get the foot in the door?
Whats the best way to get the foot in the door?
... (5 Replies)
Discussion started by: stride6
5 Replies
3. What is on Your Mind?
Hi,
I've been in the IT field for a few years now, less than 10. I've done a little of everything from database administration, development, systems administration, and unix administration. Although, I wouldnt say I'm a senior level in any of those. Unix definitely stands out in my preferences... (5 Replies)
Discussion started by: NycUnxer
5 Replies
4. Programming
Hi,
I am having experience on Perl and C# and worked as Windows Sytem Admin and now iam planning to become a UNIX developer.
I am having knowledge on basic UNIX..
can any one suggest me any good material for c/c++ UNIX programming.
on what all things a UNIX Programmer needs to... (0 Replies)
Discussion started by: chandrareddy1
0 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am having experience on Perl and C# and worked as Windows Sytem Admin and now iam planning to become a UNIX developer.
I am having knowledge on basic UNIX..
can any one suggest me any good material for c/c++ UNIX programming.
on what all things a UNIX Programmer needs to... (1 Reply)
Discussion started by: chandrareddy1
1 Replies
6. UNIX for Dummies Questions & Answers
What are the career options in unix apart from unix system administration? (2 Replies)
Discussion started by: thulasidharan2k
2 Replies
7. What is on Your Mind?
I need some advice regarding my career. I have been working for a major it company in a unix based support project. I have not learnt much in the 2 years except for basics in unix. I am really worried about my career thinking about what would happen next.
I always wanted to be a developer but i... (10 Replies)
Discussion started by: nani2say
10 Replies
8. What is on Your Mind?
Hi All,
This question is regarding career path. I was not sure about which forum I should drop it, so putting it here.
I have 12 years of experience on UNIX i.e. majority of Solaris and some of Linux (Suse & Red Hat). Since starting I have been working on 100% administration side and I am not... (0 Replies)
Discussion started by: solaris_1977
0 Replies
9. What is on Your Mind?
Hello,
Just wanted to have a suggestion on UNIX carrier path and I couldn't found any proper forum/blog where I can put this question better than this one.
I have been working on Solaris from past 13 years and some years on Linux. It was completely on Admin side and never on development or... (12 Replies)
Discussion started by: solaris_1977
12 Replies
10. What is on Your Mind?
I have been working in application support at last 2 years. But I want to become unix administrator and I have basic knowledge in unix command, VI Editors, Unix file system. But I don't know proper procedure to become unix administrator, so could you please give suggestion and advise where I start... (4 Replies)
Discussion started by: gopal88
4 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)