Table of Contents
Meaning " >Meaning
Example" >Example
ReferenceWhat does rc mean in bashr, zshrc, vimrc etc?" >ReferenceWhat does rc mean in bashr, zshrc, vimrc etc?

What does linux rc mean?

Mar 16, 2023 am 09:33 AM
linux rc

linux rc is the abbreviation of runcom, and is also the rc that appears in ".cshrc" or "/etc/rc"; rc comes from runcom, which first appeared in the MIT CTSS system in 1965; in some scenarios , will execute multiple commands stored in the file, which we call runcom, which is the abbreviation of run commands.

What does linux rc mean?

## The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.

What does linux rc mean?

The full meaning of Linux rc

This comes from the prehistoric era of the Unix system (1961 -1969), at the beginning, MIT developed a Compatible Time-Sharing System (CTSS).

(Although the functions of this CTSS are not as good as those of later Unix systems, they are older and older.)
There is a feature about command scripts in the CTSS system called
runcom. In order to pay tribute to the runcom feature of CTSS, an early version of Unix system,
rc was used as the startup file name of the operating system in later Unix systems.

Tips

Date in programming language starts from 1970-01-01,

What does linux rc mean?

and the prehistoric era of Unix mentioned earlier (1961-1969 ) before 1970.

You can also feel the "seniority" of the CTSS system from the side.

Meaning

rc = RunCom

"rc" is taken from "runcom", From the CTSS system developed by MIT in 1965. Relevant literature once recorded this paragraph: "It has the function of taking out a series of commands from the file to execute; this is called

run commands, also called "runcom", and this kind of file is also called a runcom ( a runcom)."

Example

  • .bashrc bash running command
  • .vimrc Vim’s running command
  • .npmrc npm’s running command
In Linux, the file name starting with

. is expressed as Hidden files.

What does linux rc mean?

leung@wuyujin ~ % ls -al | grep rc$
-rw-------   1 leung  staff      33  5 13 20:34 .npmrc
-rw-r--r--   1 leung  staff     116  5 13 21:20 .yarnrc
-rw-r--r--   1 leung  staff      55  6  2 20:00 .zshrc
Copy after login

ReferenceWhat does rc mean in bashr, zshrc, vimrc etc?

What does rc mean in bashr, zshrc, vimrc etc?


What does linux rc mean?

is translated as follows:

For the meaning of
rc, you may see the following:

    run commands
  • resource control
  • run control
  • runtime configuration
After reading this document, I prefer to think that

rc is the abbreviation of runcom.

rc = RunCom is the rc# that appears in .cshrc or /etc/rc ##rc
comes from runcom, which first appeared in the MIT CTSS system in 1965. In some scenarios, (we) will execute multiple commands

commands

stored in the file, which we call runcomthat is, running commands## Abbreviation for #run commands. In addition, the file used to store commands is called: a runcom.
The rc in Unix file naming comes from this old allusion.
— Brian Kernighan & Dennis Ritchie, as told to Vicki BrownAlso ESR states that in Run-Control Files:
Evidence is found in:

rc
The suffix is ​​traced back all the way, and you will find that it actually exists in CTSS, the granddaddy of Unix systems. In the ancient system of CTSS, there is a command script feature called: runcom
. So in the early days of Unix, rc
was used as the file name of the operating system startup script to recall/pay tribute to CTSS runcom. So I think:
rc is the abbreviation of runcom

.

<h2> <a id="CTSSCompatible_TimeSharing_System_70"></a>CTSS(Compatible Time-Sharing System)兼容分时系统</h2> <p>Unix系统的背景<br> 1961-1969:史前时代<br> CTSS(Compatible Time-Sharing System,兼容分时系统),以MIT为首的开发小组,小而简单的实验室原型。<br> Multics(Multiplexed Information and Computing System,多路信息与计算系统),庞大而负责,不堪重负。<br> Unics(Uniplexed information and Computing System,单路信息与计算系统),返璞归真,走上正道。<br> 1969-1971:创世纪<br> ……</p> <h2> <a id="_Unix__Frequently_Asked_Questions_17_Frequent_postingSection__What_does_some_strange_unix_command_name_stand_for_82"></a>参考 Unix - Frequently Asked Questions (1/7) [Frequent posting]Section - What does {some strange unix command name} stand for</h2> <div class="code" style="position:relative; padding:0px; margin:0px;"><pre class="brush:php;toolbar:false">1.3)  What does {some strange unix command name} stand for?       awk = &quot;Aho Weinberger and Kernighan&quot;         This language was named by its authors, Al Aho, Peter         Weinberger and Brian Kernighan.       grep = &quot;Global Regular Expression Print&quot;         grep comes from the ed command to print all lines matching a         certain pattern                     g/re/p         where &quot;re&quot; is a &quot;regular expression&quot;.       fgrep = &quot;Fixed GREP&quot;.         fgrep searches for fixed strings only.  The &quot;f&quot; does not stand         for &quot;fast&quot; - in fact, &quot;fgrep foobar *.c&quot; is usually slower than         &quot;egrep foobar *.c&quot;  (Yes, this is kind of surprising. Try it.)         Fgrep still has its uses though, and may be useful when searching         a file for a larger number of strings than egrep can handle.       egrep = &quot;Extended GREP&quot;         egrep uses fancier regular expressions than grep.  Many people         use egrep all the time, since it has some more sophisticated         internal algorithms than grep or fgrep, and is usually the         fastest of the three programs.       cat = &quot;CATenate&quot;         catenate is an obscure word meaning &quot;to connect in a series&quot;,         which is what the &quot;cat&quot; command does to one or more files.  Not         to be confused with C/A/T, the Computer Aided Typesetter.       gecos = &quot;General Electric Comprehensive Operating Supervisor&quot;                  When GE's large systems division was sold to Honeywell,         Honeywell dropped the &quot;E&quot; from &quot;GECOS&quot;.         Unix's password file has a &quot;pw_gecos&quot; field.  The name is a         real holdover from the early days.  Dennis Ritchie has reported:             &quot;Sometimes we sent printer output or batch jobs              to the GCOS machine.  The gcos field in the password file              was a place to stash the information for the $IDENT card.              Not elegant.&quot;       nroff = &quot;New ROFF&quot;       troff = &quot;Typesetter new ROFF&quot;                  These are descendants of &quot;roff&quot;, which was a re-implementation         of the Multics &quot;runoff&quot; program (a program that you'd use to         &quot;run off&quot; a good copy of a document).       tee       = T         From plumbing terminology for a T-shaped pipe splitter.       bss = &quot;Block Started by Symbol&quot;                  Dennis Ritchie says:             Actually the acronym (in the sense we took it up; it may             have other credible etymologies) is &quot;Block Started by             Symbol.&quot; It was a pseudo-op in FAP (Fortran Assembly [-er?]             Program), an assembler for the IBM 704-709-7090-7094             machines.  It defined its label and set aside space for a             given number of words.  There was another pseudo-op, BES,             &quot;Block Ended by Symbol&quot; that did the same except that the             label was defined by the last assigned word + 1.  (On these             machines Fortran arrays were stored backwards in storage             and were 1-origin.)             The usage is reasonably appropriate, because just as with             standard Unix loaders, the space assigned didn't have to be             punched literally into the object deck but was represented             by a count somewhere.       biff = &quot;BIFF&quot;         This command, which turns on asynchronous mail notification,         was actually named after a dog at Berkeley.             I can confirm the origin of biff, if you're interested.             Biff was Heidi Stettner's dog, back when Heidi (and I, and             Bill Joy) were all grad students at U.C. Berkeley and the             early versions of BSD were being developed.   Biff was             popular among the residents of Evans Hall, and was known             for barking at the mailman, hence the name of the command.         Confirmation courtesy of Eric Cooper, Carnegie Mellon University       rc (as in &quot;.cshrc&quot; or &quot;/etc/rc&quot;) = &quot;RunCom&quot;         &quot;rc&quot; derives from &quot;runcom&quot;, from the MIT CTSS system, ca. 1965.             'There was a facility that would execute a bunch of             commands stored in a file; it was called &quot;runcom&quot; for &quot;run             commands&quot;, and the file began to be called &quot;a runcom.&quot;             &quot;rc&quot; in Unix is a fossil from that usage.'                  Brian Kernighan &amp; Dennis Ritchie, as told to Vicki Brown         &quot;rc&quot; is also the name of the shell from the new Plan 9         operating system.       Perl = &quot;Practical Extraction and Report Language&quot;       Perl = &quot;Pathologically Eclectic Rubbish Lister&quot;         The Perl language is Larry Wall's highly popular         freely-available completely portable text, process, and file         manipulation tool that bridges the gap between shell and C         programming (or between doing it on the command line and         pulling your hair out).  For further information, see the         Usenet newsgroup comp.lang.perl.misc.       Don Libes' book &quot;Life with Unix&quot; contains lots more of these       tidbits.</pre><div class="contentsignin">Copy after login</div></div>

相关推荐:《Linux视频教程

The above is the detailed content of What does linux rc mean?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1667
14
PHP Tutorial
1273
29
C# Tutorial
1255
24
Where to view the logs of Tigervnc on Debian Where to view the logs of Tigervnc on Debian Apr 13, 2025 am 07:24 AM

In Debian systems, the log files of the Tigervnc server are usually stored in the .vnc folder in the user's home directory. If you run Tigervnc as a specific user, the log file name is usually similar to xf:1.log, where xf:1 represents the username. To view these logs, you can use the following command: cat~/.vnc/xf:1.log Or, you can open the log file using a text editor: nano~/.vnc/xf:1.log Please note that accessing and viewing log files may require root permissions, depending on the security settings of the system.

How debian readdir integrates with other tools How debian readdir integrates with other tools Apr 13, 2025 am 09:42 AM

The readdir function in the Debian system is a system call used to read directory contents and is often used in C programming. This article will explain how to integrate readdir with other tools to enhance its functionality. Method 1: Combining C language program and pipeline First, write a C program to call the readdir function and output the result: #include#include#include#includeintmain(intargc,char*argv[]){DIR*dir;structdirent*entry;if(argc!=2){

Linux Architecture: Unveiling the 5 Basic Components Linux Architecture: Unveiling the 5 Basic Components Apr 20, 2025 am 12:04 AM

The five basic components of the Linux system are: 1. Kernel, 2. System library, 3. System utilities, 4. Graphical user interface, 5. Applications. The kernel manages hardware resources, the system library provides precompiled functions, system utilities are used for system management, the GUI provides visual interaction, and applications use these components to implement functions.

How to install PHPStorm in Debian system How to install PHPStorm in Debian system Apr 13, 2025 am 06:03 AM

Install PHPStorm on the Debian system to easily solve your PHP development environment! The following steps will guide you through the entire installation process. Installation steps: Download PHPStorm: Visit the official website of JetBrains and download the latest version of PHPStorm. Unzip the installation package: After downloading using wget or curl, unzip it to the specified directory (for example /opt). Command example: wgethttps://download.jetbrains.com/phpstorm/phpstorm-2024.3.5.tar.gztar-xzfphpstorm-2024.3.5.tar.gz

How to recycle packages that are no longer used How to recycle packages that are no longer used Apr 13, 2025 am 08:51 AM

This article describes how to clean useless software packages and free up disk space in the Debian system. Step 1: Update the package list Make sure your package list is up to date: sudoaptupdate Step 2: View installed packages Use the following command to view all installed packages: dpkg--get-selections|grep-vdeinstall Step 3: Identify redundant packages Use the aptitude tool to find packages that are no longer needed. aptitude will provide suggestions to help you safely delete packages: sudoaptitudesearch '~pimportant' This command lists the tags

How to locate memory leaks in Tomcat logs How to locate memory leaks in Tomcat logs Apr 13, 2025 am 08:18 AM

This article introduces how to troubleshoot memory leaks through Tomcat logs and related tools. 1. Memory monitoring and heap dump First, use tools such as JVisualVM or jstat to monitor Tomcat's memory usage in real time, observe the changes in the heap memory, and determine whether there is a memory leak. Once a leak is suspected, use the jmap command to generate a heap dump file (heap.bin): jmap-dump:format=b,file=heap.bin, which is the Tomcat process ID. 2. Heap dump file analysis Use EclipseMemoryAnalyzerTool (MAT) or other tools to open the heap.bin file and analyze the memory.

Debian system OpenSSL vulnerability fix Debian system OpenSSL vulnerability fix Apr 13, 2025 am 06:12 AM

To ensure the security of OpenSSL on the Debian system, please follow the following steps: 1. System update: First, update your Debian system to the latest version. Use the following command to update the package list and upgrade all installed software: sudoaptupdatesudoaptupgrade 2. Version confirmation: Check the current OpenSSL version: opensslversion 3. OpenSSL upgrade: If the version is too old, please upgrade. Method 1: Direct upgrade (recommended): Use the following command to directly upgrade to the latest stable version of OpenSSL: sudoaptinstall--only-upgrade

How Debian improves Hadoop data processing speed How Debian improves Hadoop data processing speed Apr 13, 2025 am 11:54 AM

This article discusses how to improve Hadoop data processing efficiency on Debian systems. Optimization strategies cover hardware upgrades, operating system parameter adjustments, Hadoop configuration modifications, and the use of efficient algorithms and tools. 1. Hardware resource strengthening ensures that all nodes have consistent hardware configurations, especially paying attention to CPU, memory and network equipment performance. Choosing high-performance hardware components is essential to improve overall processing speed. 2. Operating system tunes file descriptors and network connections: Modify the /etc/security/limits.conf file to increase the upper limit of file descriptors and network connections allowed to be opened at the same time by the system. JVM parameter adjustment: Adjust in hadoop-env.sh file

See all articles