Leave the double quotes in. The find command will begin looking in the starting directory you specify and proceed to search through all accessible subdirectories. You may specify more than one starting directory for searching. By default, multiple options are joined by "and". You may specify "or" with the -o flag and the use of grouped parentheses.
To match all files modified more than 7 days ago and accessed more than 30 days ago, use:. Last edited by ccc; at PM.. Join Date: Apr Go poke around in SCO's knowledge base. You'll find that the default filesystem type is HTFS. I did a search for crosstor. Find all posts by jgt. Shell Programming and Scripting. Hi I am trying to build a web form where it can take the input from the user and write it to a file.
And when I will open that form again that for should read the file that was created at the 1st step and all the fields should auto populate from that file. I have 20 text fields in my form. Read and write in the file. Hello Guys, How all are doing? I have an issue in Unix and want help from all of you I have a file in UNIX which it read by line by line , If at the end of line '0' is written the it should fetch that line into another file and change '0' to '1' and If at the end of line '1' is written then it Through these files, you can configure your keyboard to accommodate one of several different languages.
You can even configure them for dialects of the same language, such as the German keyboard as used in Switzerland or Germany. You can also change these files to create some totally new keyboard layout, such as the Dvorak.
For more details see the keyboard F man-page. Here we have the file used to determine language specific things such as the collation sequence, decimal and thousand's separator, or the names of the months and days of the week. For more details on this, look at the locale C man-page. The name "mkdev" comes from "make device" and the scripts in this directory are used to add devices to your system.
The argument passed to it is the name of the device that you want to add, which turns out to be the name of one of the scripts in this directory. The scripts then ask the necessary questions to install that device and may relink the kernel. We'll talk a lot more about adding devices in chapter 5. Instead, the files here are used every time you run the system administration shell sysadmsh in ODT or scoadmin in OpenServer. The files in here are accessed when you add or "make" a user.
Hence, the name. We'll talk more about these files in chapter Here the data files are located that are used to create all the menus as well as other programs that the sysadmsh calls to actually get the work done. Terminfo is the mechanism by which the system can work with so many different types of terminals and know which key is being pressed.
For more information, see the terminfo M man-page. Not only are the configuration files here, but this is also home for most of the uucp programs. UUCP Unix-to-Unix Copy is a package that allows you to transfer files and communicate with remote systems using serial lines. We'll talk in more details about this directory in the section on Networking.
It contains a single file and that file is a gold mine. Well, it's a gold mine if you are a shell programmer. It contains a dozen shell functions that can be used in many different circumstances. If you are a shell programmer, take a look at this file and you will learn a load of new tricks. I'll talk more about this file and those tricks in the section on shells and shell programming. This may or may not contain anything. In fact, there are no rules governing its contents.
It is designed to contain programs, data files, and other information that is specific to your local system, hence the name. This is where the man-pages and their respective indices are kept. This directory contains the index files, which you could search through to find a command you are looking for. You can also create and store your own manual pages here. By default the sub-directories in here are readable by everyone, so you can poke around a little and see what it's all about. The word "spool" is an acronym for s imultaneous p eripheral o peration o ff- l ine.
This is the process whereby jobs destined for some peripheral printer, modem, etc are queued to be processed later. There are several sub-directories that are used as holding areas for the applicable programs. We'll talk about them later in chapters 10 and Although these directories did exist in ODT 3.
However, these two directories are one of the key components of OpenServer. Okay, so that's about it. There were many directories that I skipped As I said I would at the beginning of this section.
Think about the comparison that I made to a tourist map. We visited all the museums, year-old churches and fancy restaurants, but I didn't show you where the post office sub-stations were. Granted that such offices are necessary for a large city, but you really don't care about them when touring the city.
Just as there are certain directories and files that are not necessary for an appreciation and understanding of the SCO UNIX directory structure. We can refer to individual programs as either utilities or commands, depending on the extent of their functions.
However it is difficult to label collections of files. Often the labels we do try to place on these collections do not accurately describe the relationship of the files. However, I am going to try. If you have been working with an SCO system for a while, there are certain aspects of the operating system that you may have heard of, but not fully understand what they do.
In this section we're going to talk about functions that the system performs some of the programs and files that are associated with these functions. We're also going to talk about how many of the system files are grouped together into what are referred to as "packages" and discuss some of the more important packages.
I will go into more detail about the contents of these files in the section on installing your system. However, I need to talk about some of these packages in order to set the stage for many of the topics I will be covering later.
Why is it important to know the names of the different packages? Well, for the average user, it really isn't. However, the average user logs on, starts an application and has very little or no understanding of what lies under the application. The mere fact that you are reading this book says to me that you want to know more about the operating system and how things work together. Since these packages are the building blocks of the operating system at least in terms of how it exists on the hard disk , knowing about them is an important part of understanding the whole system.
First, let's talk about how the packages are broken down in ODT. You can get the names of all the packages by running this command:. Most people think of installing software as adding a word processing program or database application, but any program on the operating system needs to be installed at one time or another.
Even the operating system itself was installed. For the moment, I want to restrict the definition of "operating system" to just those files that are necessary for "normal" operation.
Although there are many files in the RTS that can be left out to have a running system, this is the base set that SCO installs. If you examine these files, you see a major separation in functionality. Note that these files do not change if you have a different machine or architecture, but rather the files are, for the most part, directly related to the hardware.
Perhaps the next most significant package is the extended utilities, or EXT package. These cover a wide range of areas such a printing, mail, backups and adding users. We will talk about the link kit in much more detail later. SCO has defined a set of files that it considers the base set of extended utilities. This package is called BASE and contains such things as an unlimited precision calculator bc , a calendar cal and a disk copying program diskcp.
Figure 0 28 5 SCO product units. One would be hard pressed to find an SCO system where users don't print. Printing is one of the more common operations on a system.
If one is talking about the act of printing, the files and programs that allow users to print are collectively called the "print spooler. Contained within the LPR package are the programs that the system uses to manage the printing process. These include the program that schedules specific print jobs for specific printers: the print scheduler; as well as the programs that actually send the files to the printers.
There are, of course, other programs that check the status of the print process, stop and start the print schedule, etc. We'll be talking in more detail about all of this in the section on printing. Another commonly used package is MAIL, which contains the files used to communicate between users via electronic mail what else. This includes the mail program itself and its related programs, but it also contains the MMDF files.
Saying that the MAIL package contains just the files for communication between users via electronic mail is not entirely true. The MAIL package also contains a few other programs write, hello , and mesg that are used to communicate directly between users. This shows how files are sometimes just lumped together in somewhat arbitrary packages. For more information see the respective man-pages. Similar terminology applies to the UUCP package. It contains more than just UUCP. This package also contains the modem configuration and access files referred to as "dialers" as they dial the phone.
However, the UUCP package contains more than just programs to copy file between systems. There is also the ability to start programs on the remote system uux , as well as a simple terminal program cu.
This, however, does not contain the system administration shell, which is considered part of the RTS package. This includes programs like last which reports on the last time a user was logged in, or ncheck , which can be used to find out what file is associated with a particular inode. The package also contains the tunesh or Tune-Shell program.
The "real" backup programs, such as tar and cpio are part of the RTS. Is that all? Many are rarely used. Many contain just a few files and are related to a single entity such as the VI package that contains only vi and it's related files. Administering over a hundred packages is a big task.
To make things a little simpler, the packages themselves are grouped into larger units called Service Components.
These components are then grouped into Services. Except for the entire Operating System or the RTS, each of these services, service components and packages can be removed from or installed on the system. The officially supported way to remove these files is by using the custom utility. It is important to use custom to remove the files in a package, service components or service.
If they are removed or installed by hand, inconsistencies can develop making it impossible to add or remove anything without completely corrupting your system. Some of the changes help in cutting down software piracy, while others were implemented to help in remote distribution of software.
In this new organization, there is still the basic concept of a "product. Each product is broken down into components. This is the largest unit of functionality. However, it could be sold as a stand-alone product, as it was before. Like products, components have their own version number. Smaller than the component is the package.
This is the smallest unit of software that can be installed or removed not counting single files. SCO designed the SSO structure based on its concept of software management, which covers installing, updating, removing and administering already installed software packages. Thanks Ashok 12 Replies. Hi, My SCO server freezes suddenly. Any help on this would be greatly appreciated. Regards, Ravikumar R 4 Replies. SCO system V documentation. I'm about to throw away a shelf meter or so of SCO system V official documentation.
The original beige binders. I'm not sure if there is a shortage of these old books, but if anyone near Gothenburg, Sweden has use for them.
Drop me a line at : martin dot rudolfson at mac dot com Martin 4 Replies. Full System Backup Sco 5. I would like to know if I can do a full system back up on my Unix Sco openserver 5. If so, What is the syntax to do this or where can I find this information at? Also, is it possible to make this tape bootable so that I can easily do a full system restore? Any information on
0コメント