08-20-2002
In terms of rapid upskilling the best advice I would give to someone whose anything like me (like to play)... is to try and get your head around scripting. Scripting is the next level from the command line (in that you use command line sytax in your shell scripts anyway) - so if you can get clever with scripts you'll get clever with command line syntax.
Make something.
Decide on something that sounds reasonalbly challengin - but not too over the top to start - then try and build a script. What you'll learn from trial and error, and using these forums will help you to upskill in a major hurry.
Might not be everyones cup of tea for learning - but it's the best way for me and its the way I learnt a lot in a small space of time.
Good Luck,.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need help in the form of the complete procedures necessary in setting up an Apache web server on a Sun Sparc running Solaris 8
David Johnston
P.S New to the Unix arena (1 Reply)
Discussion started by: David Johnston
1 Replies
2. Solaris
Hi,
I need some help, since I am new to cluster.
I want to develop application which will discover the information about the cluster and how many nodes are connected to that respective box.
Also would like to find out other information about cluster environments.
Also please send me... (0 Replies)
Discussion started by: p_walunjkar
0 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
can any1 plz upload me the SA288-sun solaris for system admin8,part II pdf. I need to do the certification.................plz help me at the earliest
Thanks to all (4 Replies)
Discussion started by: iliyas
4 Replies
4. UNIX for Dummies Questions & Answers
Hey there,
I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies
5. UNIX for Dummies Questions & Answers
Transferring files from one unix server to another one was easy for me. I used a relative path which worked for me. thanks to porter.
My question now is that:-
1)Say for instance i have one unix server with name(ABC). PATH: /home/web/props . I have bunch of different users folders in that... (3 Replies)
Discussion started by: chris1234
3 Replies
6. UNIX for Dummies Questions & Answers
As part of a school project I'm supposed to make a webpage on operating systems (Other than windows) and the three I was told to do were Linux, Unix, and Mac. I got Linux and Mac done pretty easily because I use them a lot but Unix is showing some problems. Could anyone give me some information on... (2 Replies)
Discussion started by: Shinjin
2 Replies
7. Solaris
I am new to Sun.
I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor?
Thanks. (3 Replies)
Discussion started by: bramptonmt
3 Replies
8. Solaris
Hello to everyone,
i am new to Sun Solaris. i have Solaris 5.10 installed on the X86 platform.
i am writing a script which gathers some system information. but i can not find some of the parameter from the system
can any one please suggest to way to find these params.
shell command will be... (1 Reply)
Discussion started by: nikhil.sigpro
1 Replies
9. Solaris
hi ,
i installed sun cluster on 2 nodes , and i have one shared disk , problem is i couldnt able to deport and import shared disk group properly.
thanks for ur help
ravi sankar (2 Replies)
Discussion started by: shankr3
2 Replies
LEARN ABOUT DEBIAN
alien::package::rpm
Alien::Package::Rpm(3pm) User Contributed Perl Documentation Alien::Package::Rpm(3pm)
NAME
Alien::Package::Rpm - an object that represents a rpm package
DESCRIPTION
This is an object class that represents a rpm package. It is derived from Alien::Package.
FIELDS
prefixes
Relocatable rpm packages have a prefixes field.
METHODS
checkfile
Detect rpm files by their extention.
install
Install a rpm. If RPMINSTALLOPT is set in the environement, the options in it are passed to rpm on its command line.
scan
Implement the scan method to read a rpm file.
unpack
Implement the unpack method to unpack a rpm file. This is a little nasty because it has to handle relocatable rpms and has to do a bit
of permissions fixing as well.
prep
Prepare for package building by generating the spec file.
cleantree
Delete the spec file.
build
Build a rpm. If RPMBUILDOPT is set in the environement, the options in it are passed to rpm on its command line.
An optional parameter, if passed, can be used to specify the program to use to build the rpm. It defaults to rpmbuild.
version
Set/get version.
When retreiving the version, remove any dashes in it.
postinst
postrm
preinst
prerm
Set/get script fields.
When retrieving a value, we have to do some truely sick mangling. Since debian/slackware scripts can be anything -- perl programs or
binary files -- and rpm is limited to only shell scripts, we need to encode the files and add a scrap of shell script to make it
unextract and run on the fly.
When setting a value, we do some mangling too. Rpm maintainer scripts are typically shell scripts, but often lack the leading shebang
line. This can confuse dpkg, so add the shebang if it looks like there is no shebang magic already in place.
Additionally, it's not uncommon for rpm maintainer scripts to contain bashisms, which can be triggered when they are ran on systems
where /bin/sh is not bash. To work around this, the shebang line of the scripts is changed to use bash.
Also, if the rpm is relocatable, the script could refer to RPM_INSTALL_PREFIX, which is set by rpm at run time. Deal with this by
adding code to the script to set RPM_INSTALL_PREFIX.
arch
Set/get arch field. When the arch field is set, some sanitizing is done first to convert it to the debian format used internally. When
it's retreived it's converted back to rpm form from the internal form.
AUTHOR
Joey Hess <joey@kitenet.net>
perl v5.14.2 2011-08-05 Alien::Package::Rpm(3pm)