Submit UNIX Questions to Computer Education Techniques CETi

Submit UNIX Questions to Computer Education Techniques - CETi

Submit UNIX Questions

Home

Submit UNIX Questions

Knowledge Base


Submit UNIX Questions to Computer Education Techniques CETi Advanced search

UNIX Variants

UNIX Training Aids

UNIX Administration - Technology Update

UNIX Programming Technology Update

   

Interrelated Information Technology

MS Operating Systems and Networks Questions Web Design Questions
Web Server Questions Programming Language Questions

The Computer Education Techniques knowledge base is a service for answering questions, inclusive of the research and validation of the accuracy of information in the public domain. Citation of source documentation and examples are used to provide answers to the questions. Utilization of the information and reliance on the answers received through this web site is done at your own risk.

Q We are evaluating whether to utilize an open source UNIX or Linux operating system for our WebLogic Server and Oracle database? Are there any limitations in the installation and boot partition?
A In 2009, Oracle Corporation acquired Sun Microsystems hardware and open source software: Solaris operating system, MySQL database, and Java programming language.

Our recommendation would be to use Solaris. Starting with the Solaris 10 release, it is now possible to install and boot the Solaris OS from a disk that is up to 2 Tbytes in size. The VTOC label can be used on a disk of any size; however, the addressable space by the VTOC is limited to 2 terabytes. This feature enables disks that are larger than 2 terabytes to be used as boot drive. It removes the limitations of earlier releases of Solaris where it was not possible to install and boot the drive from a disk that was greater than 1 terabyte in size.

Q What is new with ZFS and why is it considered an important component of UNIX-variant operating systems?
A ZFS is a significant enhancement to file system design and is already in use on Linux, Mac OS X, and FreeBSD systems.

ZFS file systems are built on top of the concept of pools or "zpools". Instead of utilizing a volume manager on top of multiple drives, ZFS joins devices into storage pools - large data stores from which file systems can be built. This serves to greatly reduce the complexity and administrative overhead. ZFS file systems are not constrained by initial partitioning decisions. File systems can be added to as needed and new devices can be added at any time. This serves to facilitate the enlargement of the space available to all file systems. As a 128 bit file system, it can store 18 billion times more data than current 64-bit file systems. The maximum size of a single file has been increased by a factor of 16 times 2 as compared to the maximum size of a file in a 64 bit file system. ZFS addresses many of the issues associated with file system corruption and the problems associated with freeing free blocks crashes.

The zpool and zfs commands are used to work with ZFS.

Example 1:
This command creates a storage pool on a single disk drive and a file system named "zpool". The file system is automatically mounted as /sysed.

zpool create sysed c1t0d0

Additional file systems can then be created within this file system.

Example 2:
This command creates a pool using two disks and stripes data across the drives. The file system and mount point are /sysed.

zpool create sysed c1t0d0 c1t1d0

Example 3:
This command creates a mirror instead of striping.

zpool create sysed mirror c1t0d0 c1t1d0


Q What is the difference between the various ZIP formats: ZIP, GZIP, and PKZIP?
A ZIP is an archive file format, popularized on PCs, that contains multiple compressed files.

GZIP comes from a GNU project. It is a one file subset of the ZIP format. It is not possible to place a whole directory into a GZIP archive, just a single file. It's intended for compressing a tarball of many files.

PKZIP is a commercially available program that creates zip files.

All three use the deflate compression format, which is based on the LZ77 algorithm. This compression is also used by the ZLIB library and the PNG graphics file format PNG - (which uses ZLIB).


Q Our company uses multiple variants of UNIX and accordingly I will be required to write scripts that will work in different Shells. Will SYS-ED UNIX courses be able to accommodate my needs?
A There are two main class of shells:
  1. The first class are the shells derived from the Bourne shell which includes sh, ksh, bash, and zsh.
  2. The second class are those shells derived from C shell and include csh and tcsh.

There is also a rc which most people consider to be in a class by itself.

We demonstrate and teach how to write scripts that will work for the shells both from the Bourne shell category and the C shell category.


Q

I am a mainframe programmer and need to get a sound foundation in the UNIX operating system. What skillset do I need and what UNIX training course sequence do you recommend?

A For users, new administrators, and programmers, we would suggest the following UNIX courses:
  • UNIX: Fundamentals
  • UNIX: Fundamentals - Advanced
  • UNIX and Linux Tools and Utilities
  • UNIX and Linux Security
  • Bourne Shell Programming: UNIX
  • C Programming: UNIX Environment
  • Korn Shell Programming: Shell Scripting (UNIX and Linux)
  • UNIX and Linux Programming

A tailored UNIX training program for administrators and power developers can be selected from the following courses:

  • UNIX Administration
  • UNIX Server Administration - Enterprise
  • UNIX and Linux Optimization and Troubleshooting
  • UNIX: Performance and Tuning
  • UNIX and Linux Security

Our Director of Education will be available to explain and demonstrate how our UNIX training programs can incorporate your project specifications.


Q

I work for a government municipality in a PC Windows environment. Will it be difficult to learn UNIX?

A Your previous experience with non-UNIX operating systems will serve as a good foundation for learning UNIX. Administering a UNIX system is not for novices. The UNIX operating system is more "detail oriented" than Microsoft DOS/Windows. However there is a commonality between DOS and UNIX commands.
DOS Command UNIX Equivalent
help man
cls clear
dir ls –l
dir/w ls
more < filename more filename
cd directory cd directory
del filename rm filename
deltree directory rm -r directory
copy file1 file2 cp file1 file2
xcopy dir1 dir2 cp -r dir1 dir2
attrib +-attribute file chmod mode file
mkdir directory mkdir directory
find "string" file grep "string" file

Q I want to make sure that the version of UNIX used in class matches the version that I use at work.
A The version can be ascertained by using the uname command. It is standard policy for SYS-ED to use the newest version of an operating system, and in the case of UNIX, the newest version of that variant. Upon request we will set up operating systems specific to what you utilize back on the job.

Q I have an immediate need to learn how to set access privileges for my files. Which UNIX course should I taken in order to master the UNIX file system and become a network administrator?
A The UNIX file access attributes are different from their DOS counterparts. In UNIX, the read, write, and execute privileges can be set according to who the user is.

The privileges are set using the chmod command:

chmod mode file

Our recommendation would be to take the UNIX: Fundamentals - Level 1 course.


Q What is Linux and does SYS-ED offer Linux courses?
A Linux is a variant of the UNIX operating system. Every Linux system is based on the Linux kernel. The kernel manages computer hardware, performs multi-tasking and other essential things. These low-level functions are used by other programs. More commonly, "Linux" refers to the Linux Operating System.

Yes, we offer both Linux courses and integrated training programs.

  • Linux Desktop
  • UNIX and Linux Tools and Utilities
  • Linux Client Administration
  • Linux for Support Personnel
  • Linux Installation, Configuration and Support
  • Linux Server Management
  • Linux: Introduction
  • UNIX and Linux Optimization and Troubleshooting
  • Linux TCP/IP Networking and Services
  • UNIX and Linux Security
  • KornShell Programming: Shell Scripting (UNIX and Linux)
  • Perl Programming: Perl Scripts (UNIX, Linux, Win32 and Networks)
  • UNIX and Linux Programming
  • Z/VM Linux - TCP/IP

Q I will be coding and maintaining AIX on a z/OS system. Does SYS-ED offer AIX courses?
A Yes, we offer AIX courses, but only on a private basis.

Q We are interested in learning Solaris. Our company is using Solaris 2.x, 9, and Solaris 10. Which version would be best for me to learn?
A There are differences between the different versions of the Solaris Operating System. However, there would be minimal impact on a Solaris fundamentals course.

The core content of a Solaris Fundamentals course would remain:

  • navigating the environment.
  • accessing directories and files.
  • file manipulation
  • editing
  • shell
  • CDE
  • configuration (basic).

However, it is universally accepted that, all things being equal, the newest version of an operating system is the best one to learn.


Q In the early 1980’s I worked for an organization which used UNIX as its primary operating system. In my current position (with a different organization), I am now involved in evaluating Solaris as one of our mainstay operating systems. Does SYS-ED train on Solaris and how do you address the differences among the versions?
A You are not alone, for many IT professionals, the future is indeed to a large degree going back to the past! Yes, we do train on Solaris and all our courses address and demonstrate the changes in commands and the discontinued and new features.

Here is a concise summary:

Changes in Commands

The following commands have changed:
reboot, pfiles, coreadm, psrinfo, mount, ioctl, modinfo, and gethostbyname.

Removal of Features

A number of features have been removed including Netscape, admintool , /var/adm/passwd, PC fileviewer and others.

Enhancements to New Features

Several changes were made to sendmail and NFS; mostly for administrators.

New Features

The new features of Solaris will be listed/discussed and available for demonstration on the instructor’s machine.

  • Solaris Dynamic Tracing (DTrace)
  • Solaris Containers
  • Predictive Self Healing
  • Solaris Secure Execution

Schedule