| home about us free pdf software downloads links privacy site map copyright policy |
|
|
UNIX
http://www.nada.kth.se/kurser/kth/2D1522/2003/utdelat/UNIX.pdf CCUG-1, Revised, November 1997 This manual is for new users of the ACITS UNIX Timesharing System (UTS), CCWF UNIX system (CCWF), and the Academic Data Server (ADS). Even before your first login, you should know the ones below. NOTE: The set ignoreeof command works only if the C shell (or some variant of it, such as tcsh) is your command interpreter. The shell examines each command line it receives from your terminal or workstation, expands the command by substituting actual values for special characters, and then either executes the command itself or calls another program to do so. The shell also interprets other special characters it finds on a command line before it passes this line to the program that will execute it. unixc-30 1994,1995,1996 Budi Rahardjo <rahardjo@iscom.com> Summary of UNIX Commands- version 3.2 This is a summary of UNIX commands available on most UNIX systems. This reference card, obviously, cannot describe all UNIX commands in details, but instead I picked commands that are useful and interesting from a user's point of view. cat filename display the content of file filename cd [dirname] change directory to dirname. env print or alter environment variables hostname display host name man topic screen uname users w display on-line manual on topic. asWedit axe ee elvis HTML editor a simple X window text editor easy edit: emacs with a help menu a vi clone emacs jed start emacs. IS1301 The aim of this guide is to help people to start using the facilities available on the Unix service managed by Information Services (IS) at the University of Nottingham --- in particular, the general purpose server, granby. The guide covers access via SSH (a text-based interface), and the X window system interface. With the Pico screen showing, and having typed some text, key ^X This is the command to exit from Pico, so you are asked first if you wish to save the text. Do not try to finish a session simply by switching the workstation off or simply by closing the SSH window. documentUnix is a simple but powerful system where everything is either a process or a file. Most Unix security issues are reflected directly within the file-system. Certainly, the very root directory is owned by the super user (who has user id 0). In our model of Unix we give a fixed datatype of system-calls, together with an inductive definition of file-system state transitions of the form root -x root for the operational semantics. root -x root (see § 3.1) Subsequently, we explore our transition system in an experimental style, mainly using the introduction rules with basic algebraic properties of the underlying structures. unxsas KEYS command on the command line of the any window to display the key assignments. where [filename] is the file containing the SAS program. At the end of each SAS session, temporary libraries and files are deleted. If you wish to export only a single SAS dataset via FTP, see the section below on Exporting a Single SAS Dataset on UNIX Disk Via FTP. Block commands affect a block of lines. MM and CC require a target marked as a destination point. 1. Position cursor at beginning of text and press the MARK key. To copy a section of text, use STORE instead of CUT. C5-2002-047-1312-slides UNIX Web Service Consolidation -- Why? Service with less exceptions More control over their sites (e.g. manage permissions) Web5 was perceived by users as a Web-services machine! AFS Gateway (static HTML + CGI) -- no local sites! Apache RPM comes naturally as Apache/SSL/PHP PHP CGI interface for IIS no PHP programming support! The Web1 Migration was an important step to consolidate the Web services for the users and service providers. Phase-out of SUN cluster was an "unique" opportunity to clean up a big structure of legacy Web-space. Quite some "unautomizable" work was involved but it needed to be done some day. basicunix If you entered your username and password correctly, you should see a numbered %, the UNIX command prompt. Contact the accounts person in Room 107 Computing Center (phone: 346-1738; e-mail: account@oregon.uoregon.edu) to have it reset. To log out of your account when you're finished, type % logout If you get the message, "There are stopped jobs," you've accidentally (or intentionally) stopped execution of a command by hitting a Ctrl/Z sometime during your session. Many so-called "UNIX" commands are actually provided by the C Shell. For information about the C Shell, see Gail Anderson's The UNIX C Shell Field Guide (Prentice-Hall, Englewood Cliffs, NJ, 1986, ISBN 0-13-937468-X), or take a look at the manual pages for csh (i.e., man csh). Module1 The shell is the program that you interact with. where you is your login name, faraday is the name of the computer, and pwd is name of your present working directory: we will discuss directory names further in Module 2. When you first log in, your present working directory is called your home directory, and typically has the same name as your login. Pressing the Tab ley twice in succession will give you a list of all the completions of the filename or command name. Get hold of a reference on the editor vi. Display the file again, but use the cursor keys to execute the same command again without having to retype it. installUnix You can find answers to frequently asked questions, supported platforms, known bugs, and bug fixes on the Objectivity Technical Support web site. Your workstation must have a CD-ROM drive that is either local or accessible on the network. Objectivity/DB uses a system process called a lock server to manage concurrent access to persistent objects in one or more federated databases. For information about lock servers, see Chapter 7, "Using a Lock Server," of the Objectivity/DB administration book. You must perform this upgrade before you create or access persistent collections from an application written in Objectivity/C++, Objectivity for Java, or Objectivity/Smalltalk for VisualWorks. unixtips $ history print previous commands (history list) $!23 execute command 23 in history list $!! $!java execute last command starting 'java' $ java!* execute command with all arguments of previous command $ vi!^ (!$) with first (last) argument of previous command $ <up> enter previous command $ jobs Show all (background) jobs and status Possible usage: With one window open, edit and save file, suspend it, compile it, resume edit job in foreground, and repeat. w/b Move forward/backward to next/previous word W/B Move forward/backward to next space-separated word e/E Move forward to end of next (space-separated) word fcharFind next occurrence of char in current line Fchar Find previous occurrence of char in current line /str Search for next occurrence of str (which can be a regexp) ?str Search for previous occurrence of str nG Go to line n (G goes to end of file) H Go to head (top) of current screen L Go to foot (bottom) of current screen With these commands, you should rarely need to move one character or one line at a time. vi When you yank text, vi copies it into the undo buffer, leaving the original file buffer text unchanged. Position the cursor on the first character of the text block you want to copy. Then press y, followed by a vi text string definition code. You can use the paste command to insert the contents of the undo buffer into your text at the cursor location. The object codes and their meanings include: w word (from cursor to start of sentence) from cursor to end of sentence {from cursor to start of paragraph} from cursor to end of paragraph ^ from cursor to first non-space character of line $ from cursor to end of line In addition: dd yy cc deletes the entire text line yanks the entire text line changes the entire text line Here are some examples to help you learn vi editing command syntax: dw Delete word. Vi searches the file for the first occurrence of "halyard," placing the cursor on the first character when it finds it. 89Fortran This document describes facilities for compiling and running Fortran programs on the UNIX systems at the University of Durham. The command f77 -help or f90 -help will give a rather terse listing of options, good for reminding you of keywords you may have forgotten. The brackets in the prototype indicate that both compiler options and library specifications are optional. Nag Fortran 77 and Fortran 90 subroutine libraries are available on the University ITS Unix servers. A UNIX command nagexample for Fortran77 and nagexamplefl90 for Fortran90 are provided to make a copy of the example program for any selected routine into your current directory. It is required for programs using the NAG routines because they have been compiled with it. unix 1. From the Items for students folder on the desktop, double click on the fetch icon. 2. Next enter your Hostname, Username and password in the appropriate fields (see picture below). You will be automatically logged into your home directory. 4. Select the file you want to transfer from the menu (highlight them with the mouse). Your disk) iii) Click on the save button. 1. Click on the Network folder or click All. 4. Files for local and remote drives are listed in the window. To transfer, click the file, then the direction arrow between the two lists. To change the drive click on ChgDir. computing In this course, we will perform our analyses using the statistical package Splus on a computer with the UNIX operating system. Splus is a widely available commercial product with commands that are very similar to R commands. alias aliases a command, e.g., alias lss "ls --l" ps processor status, tells you what jobs are running head outputs the first few lines of a file, e.g., head assign5.Splus tail outputs the last few lines of a file, e.g., tail assign5.Splus whoami tells you who you are env environment logout logs off the user clear clears the screen kill kills a process, e.g., kill 3907. unixclientsms http://www.altiris.com/docs/products/unixclientsms.pdf And because UNIX Client for SMS supports native SMS integration for inventory and software distribution, with its intuitive Web interface you can perform common SMS console functions from the convenience of your Web browser. Inventory Support for UNIX UNIX Client for SMS captures hardware information, installed software packages, and operating system settings for supported UNIX systems in your environment. Software Delivery Support for UNIX UNIX Client for SMS also offers the flexibility, scalability, and performance needed to handle the most demanding software delivery needs. The drill-down feature offers multiple levels of detail, while run-time replaceable filters and parameters allow for extensive customization. And to ensure that data remains secure, you can use Custom Views to control access to all reports. | |