|
| |
| | TB Unix Cheat Sheet |
 | | Unix permissions concern who can read a file or directory, write to it, and execute it. |  | | Unix contains a powerful programming language with loops and variables that I don't really understand. |  | | Unix can't rename a bunch of files at once the way DOS can. |
|
http://www.rain.org/~mkummel/unix.html
(1107 words)
|
|
| |
| | Patch (Unix) - definition of Patch (Unix) in Encyclopedia |
 | | Patch is a Unix computer program that applies textual difference between two programs and, more often, computer file or files containing such a difference, or diff files. |  | | Patch makes it possible for developers that do not have write access to develop the code on their own, make a patch out of it and send it to the main developers. |  | | Patches are often made so that the basedirectory of the source code tree is included in the diff-file, but you patch them from within the basedirectory of the source code tree and therefore has to use '-p1'. |
|
http://encyclopedia.laborlawtalk.com/Patch_(Unix)
(333 words)
|
|
| |
| | INDENT |
 | | This will indent the program `test/metabolism.c´ using the `-br´ and `-l85´ options, write the output back to `test/metabolism.c´, and write the original contents of `test/metabolism.c´ to a backup file in the directory `test´. |  | | The result is that running a file through indent is irreversible, even if the used input file was the result of running indent with a given profile (`.indent.pro´). |  | | The indent program can be used to make code easier to read. |
|
http://www.devdaily.com/unix/man/man1/indent.1.shtml
(333 words)
|
|
| |
| | Dd (Unix) - Wikipedia, the free encyclopedia |
 | | The command line syntax of dd is unlike that of any other Unix program, resulting in widespread fear and loathing; it is rumored to have been based on IBM's JCL, and though the syntax may have been a joke there seems to have never been any effort to write a more Unix-like replacement. |  | | Because dd can copy entire partitions or disks (this is more due to Unix providing access to these devices than the functionality of dd per se), it is used in computer forensics when the contents of a partition need to be preserved in a byte-exact copy. |  | | The loathing is triggered by the blatant violation of the Unix philosophy of using a common syntax for all command line tools. |
|
http://en.wikipedia.org/wiki/Dd_(Unix)
(906 words)
|
|
| |
| | Using Groups Within Unix |
 | | The concept of groups in Unix is related to the permissions placed upon files and directories-- that is, who gets to read, write, or execute your files, or search through or write to your directories. |  | | See the online help on UNIX file permissions, or check the chmod manpage for details. |  | | The Unix group facility allows a set of accounts to be identified as a group. |
|
http://www-acs.ucsd.edu/info/groups.php
(906 words)
|
|
| |
| | Berkeley Software Distribution - Wikipedia, the free encyclopedia |
 | | By integrating sockets with the UNIX operating system file descriptors, users of their library found it almost as easy to read and write data across the network, as it was to put data on a disk. |  | | Berkeley Software Distribution ( BSD) is the UNIX derivative distributed by the University of California, Berkeley starting in the 1970s. |  | | BSD pioneered many of the advances of modern computing. |
|
http://en.wikipedia.org/wiki/Berkeley_Software_Distribution
(906 words)
|
|
| |
| | Bristle Software Unix Tips |
 | | Redirects the output of command to write to filename, creating filename if it doesn't exist, and appending to the end of its current contents if it does exist. |  | | Unix defines another output stream called "standard error". |  | | Redirects the output of command to write to filename, creating filename if it doesn't exist, and overwriting its current contents if it does exist. |
|
http://www.bristle.com/Tips/Unix.htm
(906 words)
|
|
| |
| | Dd (Unix) - Wikipedia, the free encyclopedia |
 | | The command line syntax of dd is unlike that of any other Unix program, resulting in widespread fear and loathing; it is rumored to have been based on IBM's JCL, and though the syntax may have been a joke there seems to have never been any effort to write a more Unix-like replacement. |  | | Because dd can copy entire partitions or disks (this is more due to Unix providing access to these devices than the functionality of dd per se), it is used in computer forensics when the contents of a partition need to be preserved in a byte-exact copy. |  | | The loathing is triggered by the blatant violation of the Unix philosophy of using a common syntax for all command line tools. |
|
http://en.wikipedia.org/wiki/Dd_(Unix)
(906 words)
|
|
| |
| | Unix dd command and image creation |
 | | The dd command line says, "Reading from the input file /dev/fd0, write all of the data to the file dosboot.img." dd doesn't try to find lines of data or individual files on the disk; it does a binary copy of the bytes from first to last. |  | | Since dd is the tool used to write disk headers, boot records, and similar system data areas, misuse of dd has probably trashed many hard disks and file systems. |  | | A typical use of dd is to skip executable headers and begin writing in the middle of a device, skipping volume and partition data. |
|
http://www.softpanorama.org/Tools/dd.shtml
(11313 words)
|
|
| |
| | dBforums - dd blocksize |
 | | Unix I/O is semantically synchronous at the level of |  | | my DDS drives appear to be doing: start a physical write whenever the |  | | > my DDS drives appear to be doing: start a physical write whenever the |
|
http://www.dbforums.com/t718220.html
(1624 words)
|
|
| |
| | Write protect |
 | | For example, to protect a file in software users utilizing Microsoft MS-DOS could write protect a file utilizing the attrib command, users using a Linux variant or UNIX variant could write protect a file utilizing the chmod command. |  | | To protect a file with a hardware device such as a floppy diskette, users using a 5.25-inch floppy diskette can write protect a diskette by covering a notch with tape at the upper corner of the diskette. |  | | By using write protection users have the ability to help ensure data is not accidentally overwritten or erased. |
|
http://www.computerhope.com/jargon/w/writprot.htm
(150 words)
|
|
| |
| | Cal Poly Central UNIX man pages : tr (1) |
 | | tr "[:lower:]" "[:upper:]" write the result to file2: tr "[=e=]" "[e*]" file2 Translate each digit in file1 to a # (number sign), and write the result to file2. |  | | RETURN VALUE tr exits with one of the following values: 0 All input was processed successfully. |  | | EXAMPLES For the ASCII character set and default collation sequence, create a list of all the words in file1, one per line in file2, where a word is taken to be a maximal string of alphabetics. |
|
http://www.calpoly.edu/cgi-bin/man-cgi?tr+1
(150 words)
|
|
| |
| | Unix security - Wikipedia, the free encyclopedia |
 | | Unix security, maintaining a secure environment on Unix and Unix-like operating systems is dependent on design concepts of these operating systems, but vigilance through user and administrative techniques is important to maintain security also. |  | | Most Unix style systems have an account or group which enables a user to exact complete control over the system, often known as a root account. |  | | In this example, which is from the chacl command on the Linux operating system, the user sue is granted write permission to the /pvr directory. |
|
http://en.wikipedia.org/wiki/Unix_security
(597 words)
|
|
| |
| | Unix Encyclopedia Article, History, Biography - Local Color Art |
 | | In 1973, the decision was made to re-write UNIX in the C programming language. |  | | Most common is the conventional "Unixes", but the culture that created Unix has a penchant for playful use of language, and "Unices" (treating Unix as Latin word) is also popular. |  | | By 1993 most of the commercial vendors of UNIX had changed their commercial variants of UNIX to be based upon SVR4, and many BSD features were added on top. |
|
http://www.localcolorart.com/encyclopedia/Unix
(597 words)
|
|
| |
| | Virtual Turing Machine 2.02 |
 | | The write value overwrites the cell the head is positioned at. |  | | The head can read and write to the cells and move the tape one cell to the left and one cell to the right. |  | | The read value is the value of the cell the head is currently positioned at. |
|
http://infohost.nmt.edu/~prcm/turing
(754 words)
|
|
| |
| | Unix Man |
 | | If moving the file would overwrite an existing file that does not have write-permission set and if standard input is a workstation, the mv command displays the file-permission code and reads a line from standard input. |  | | To move several files into another directory, enter: mv chap4 jim/chap5 /home/manual This command moves the chap4 file to the /home/manual/chap4 file directory and the jim/chap5 file to the /home/manual/chap5 file. |  | | Whether you are working in one file system or across file systems, the mv command copies the file to the target and deletes the original file. |
|
http://web.uvic.ca/helpdesk/cgi-bin/cgi?Script=script/unixman.csh&command=mv
(754 words)
|
|
| |
| | UNIX man pages : paste () |
 | | The paste utility will concatenate the corresponding lines of the given input files, and write the resulting lines to standard output. |  | | If an EOF (end-of-file) condition is detected on one or more input files, but not all input files, paste will behave as though empty lines were read from the files on which EOF was detected, unless the -s option is specified. |  | | See largefile(5) for the description of the behavior of paste when encountering files greater than or equal to 2 Gbyte (2**31 bytes). |
|
http://www.csee.usf.edu/cgi-bin/man-cgi?paste
(754 words)
|
|
| |
| | Bristle Software Unix Tips |
 | | It doesn't exist on all Unix systems, in which case the -s is interpreted as the first argument to hostname, causing it to try to change the name of the computer. |  | | The name Unix is a reaction to the Multics system of the time that was considered too complex. |  | | The tee filter is standard in all flavors of Unix, but not in DOS or Windows. |
|
http://www.bristle.com/Tips/Unix.htm
(754 words)
|
|
| |
| | Illustrated UNIX System V/BSD: Module 134 tee |
 | | The external tee command is used to write to the standard output and to a file simultaneously. |  | | One or more files where tee writes copies of the input. |  | | In this activity you use the tee command to receive input from the sort command, send the output to the printer, and store a copy in a file. |
|
http://duplex.hypermart.net/books/bsd/539-540.html
(754 words)
|
|
| |
| | dd for windows |
 | | You can write to any file or block device which windows will allow you to write to. |  | | This is a list of other dd tools for windows from other projects: |  | | If you get errors, please try another floppy disk or reformatting the disk. |
|
http://uranus.it.swin.edu.au/~jn/linux/rawwrite/dd.htm
(427 words)
|
|
| |
| | Write Access |
 | | The easiest method of allowing a script to write to a file in your directory is to alter the permissions of the file to allow anyone to write to it. |  | | The Unix mode of the file should be "666" in the numeric represtation or "a+rw" in the symbolic representation. |  | | Explaining all the basic concepts is impossible, but there are a few things to keep in mind, and with some suggestions you'll be well on your way to understanding how you can allow write access to files safely, with a minimum of effort. |
|
http://support.addy.com/content/cgi/write
(427 words)
|
|
| |
| | Write for PC Update |
 | | You don't need to be registered to write for PC Update - the advantage is that it makes it easy for us to pass on a piece of software to someone who specialises in a given field. |  | | Just about anything that you consider relevant to a PC user, be it for a beginner or an expert Don't forget that we also cover OS/2 and Unix but we haven't seen much on those topics for a while. |  | | Write to me at the club address or via the PC Update BBS and provide your address, day and night phone numbers and the areas you are interested in. |
|
http://www.melbpc.org.au/pcupdate/9100/9112article2.htm
(919 words)
|
|
| |
| | MacDevCenter.com -- Why Unix Matters to Mac OS X |
 | | Throughout Unix's history it was difficult to get software vendors to write affordable and timely Unix versions of their software. |  | | As a long time Mac power user (but not a hacker), Unix makes Mac relevant in a way it hasn't been since the Mac 128. |  | | The result was that Unix commercial software was too expensive and too late. |
|
http://www.macdevcenter.com/pub/a/mac/2002/10/03/keynotes.html
(2747 words)
|
|
| |
| | cp.html |
 | | Options -i (interactive copy) Cause cp to write a prompt to standard error and wait for a response before copying a file that would overwrite an existing file. |  | | When copying files to a directory or to a new file that does not already exist, cp creates a new file with the same file permission bits as file1, modified by the file creation mask of the user if the -p option was not specified, and then bitwise inclusively ORed with S_IRWXU. |  | | The owner and group of the new file or files are those of the user. |
|
http://www.tu-harburg.de/~rzthcw/unix/info/cp.html
(1285 words)
|
|
| |
| | UNIX man pages : touch () |
 | | If changing both the access and modification times to the current time, touch can change the timestamps for files that the user running it does not own but has write permission for. |  | | touch changes the access and modification times of each given file to the current time. |  | | touch [-acfm] [-r file] [-t MMDDhhmm[[CC]YY][.ss]] [-d time] [--time={atime,access,use,mtime,modify}] [--date=time] [--reference=file] [--no-create] [--help] [--version] file... |
|
http://www.crml.uab.edu/cgi-bin/man-cgi?touch
(1285 words)
|
|
| |
| | Introduction to Unix Pipes and redirection |
 | | Unix programs read instructions from standard input (stdin) and write output to standard output (stdout). |  | | A feature of Unix is that you can redirect the input to come from a file by appending the '<' character, and redirect output by appending the '>' character. |  | | SCANPS and associated programs make use of Unix standard input and output to simplify data processing. |
|
http://www.compbio.dundee.ac.uk/manuals/scanps/subsubsection3_7_1_1.html
(238 words)
|
|
| |
| | ISS X-Force Database: du-kdebugd-write-access(5262): Tru64 kdebugd allows remote attackers write access |
 | | Compaq Tru64 UNIX (formerly DIGITAL UNIX) versions 4.0 and 5.0 could allow a remote attacker to gain write access and compromise the server, due to a vulnerability in the kdebugd daemon. |  | | When accepting an initiation packet, kdebugd allows the user to specify the file name where the session is logged, and then kdebugd writes to this file with root privileges. |  | | A remote attacker could exploit this vulnerability to overwrite important files or read any file on the server, and possibly gain to gain root privileges on the system. |
|
http://xforce.iss.net/xforce/xfdb/5262
(238 words)
|
|
| |
| | Learning Unix and Choosing a Text Editor |
 | | Unix is an operating system written by programmers for programmers, so there are many tools available to help you write programs. |  | | Emacs should be available on (almost) all Unix machines; hence if you use VirtualU's vuser machine you can use emacs, or if you happen to be running Linux on your home PC, you can use emacs there, also. |  | | The indent Unix command will indent your program so that the open and closing braces line up, etc. Use this before you hand your program in and it will help your program's style points. |
|
http://tardis.union.edu/~hannayd/esc014/unix-te.htm
(238 words)
|
|
| |
| | COMP 320 Assignment 3 |
 | | You will write a RPN calculator in C. It should perform a subset of the operations of the UNIX program |  | | Thus, the program can be tested easily with standard UNIX I/O redirection. |  | | Write a fairly straightforward program in C, as a quick introduction to C basics. |
|
http://www.owlnet.rice.edu/~comp320/2004/assignments/3-rpn-array
(1155 words)
|
|
| |
| | The Answer Gang 93: hard links |
 | | Some versions of Unix have historically allowed root (superuser) to create hard links to directories --- but the GNU utilities under Linux won't allow it --- so you'd have to write your own code or you'd have to directly modify the fs with a hex editor |  | | Traditionally, in Unix systems a file or directory is physically deleted from the disk when there are no hard links to it. |  | | UNIX has chosen reference counting for disk space management. |
|
http://www.linuxgazette.com/issue93/tag/2.html
(1407 words)
|
|
|