About: Shell builtin

An Entity of Type: military unit, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

In computing, a shell builtin is a command or a function, called from a shell, that is executed directly in the shell itself, instead of an external executable program which the shell would load and execute.

Property Value
dbo:abstract
  • In computing, a shell builtin is a command or a function, called from a shell, that is executed directly in the shell itself, instead of an external executable program which the shell would load and execute. Shell builtins work significantly faster than external programs, because there is no program loading overhead. However, their code is inherently present in the shell, and thus modifying or updating them requires modifications to the shell. Therefore, shell builtins are usually used for simple, almost trivial, functions, such as text output.Because of the nature of some operating systems, some functions of the systems must necessarily be implemented as shell builtins. The most notable example is the <a href="/wiki/Cd_(command)" title="Cd (command)">cd</a> command, which changes the working directory of the shell. Since each executable program runs in a separate process, and working directories are specific to each process, loading cd as an external program would not affect the working directory of the shell that loaded it. (en)
  • Na computação, um comando (ou uma função) interno do shell, também chamado de shell builtin, é aquele chamado de um shell e executado diretamente no shell propriamente dito, em vez de um programa executável externo que o shell carrega e executa. Comandos internos do shell trabalham significativamente mais rápidos que programas externos, pois não há sobrecarga do carregamento de programas. No entanto, seu código está inerentemente presente no shell e, portanto, a modificação ou atualização deles requer modificações no shell. Contudo, os comandos internos do shell geralmente são usados para funções simples, quase triviais, como a saída de texto. Devido à natureza de alguns sistemas operacionais, algumas funções dos sistemas devem necessariamente ser implementadas como funções ou comandos internos do shell. O exemplo mais notável é o comando <a href="/wiki/Cd" class="mw-redirect mw-disambig" title="Cd">cd</a>, que altera o do shell. Como cada programa executável é executado em um processo separado, e os diretórios de trabalho são específicos para cada processo, o carregamento de cd como um programa externo não afetaria o diretório de trabalho do shell que o carregou. (pt)
  • 殼層內建指令(英語:Shell Builtin Command)是指包含在殼層程式碼中一同編譯,屬於殼層程式本身的功能或命令,所有的指令呼叫功能都直接在Shell程式中執行,而非由Shell程式去呼叫外部程式。 殼層內建指令的執行速度通常較外部程式快速,因為這些指令與殼層程式本身同屬一個程式,所以無需額外的程式載入,但是也因為這些功能的程式碼與殼層在同一個檔案中(或是在殼層的原始碼中被包含),所以當需要對這些功能進行修改或更新時,也必須一併修改到殼層,因此殼層內建指令通常為簡易或是不重要的功能,例如,文字輸出。 基於某些作業系統的本質特性,在該系統中會實作必要的一些Shell內建命令,最常見的內建命令就是「cd」(在殼層中移動到指定的工作目錄),由於每個程式在執行時都是一個行程,則每個工作目錄都會被各個行程給參照,所以將 cd 以外部程式的方式呼叫並載入就不會改變殼層目前的工作目錄(因為即使殼層所執行的其他程式的工作目錄改變了,殼層參照的工作目錄仍沒有改變)。 (zh)
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 3060999 (xsd:integer)
dbo:wikiPageLength
  • 1950 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1046814373 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • 殼層內建指令(英語:Shell Builtin Command)是指包含在殼層程式碼中一同編譯,屬於殼層程式本身的功能或命令,所有的指令呼叫功能都直接在Shell程式中執行,而非由Shell程式去呼叫外部程式。 殼層內建指令的執行速度通常較外部程式快速,因為這些指令與殼層程式本身同屬一個程式,所以無需額外的程式載入,但是也因為這些功能的程式碼與殼層在同一個檔案中(或是在殼層的原始碼中被包含),所以當需要對這些功能進行修改或更新時,也必須一併修改到殼層,因此殼層內建指令通常為簡易或是不重要的功能,例如,文字輸出。 基於某些作業系統的本質特性,在該系統中會實作必要的一些Shell內建命令,最常見的內建命令就是「cd」(在殼層中移動到指定的工作目錄),由於每個程式在執行時都是一個行程,則每個工作目錄都會被各個行程給參照,所以將 cd 以外部程式的方式呼叫並載入就不會改變殼層目前的工作目錄(因為即使殼層所執行的其他程式的工作目錄改變了,殼層參照的工作目錄仍沒有改變)。 (zh)
  • In computing, a shell builtin is a command or a function, called from a shell, that is executed directly in the shell itself, instead of an external executable program which the shell would load and execute. (en)
  • Na computação, um comando (ou uma função) interno do shell, também chamado de shell builtin, é aquele chamado de um shell e executado diretamente no shell propriamente dito, em vez de um programa executável externo que o shell carrega e executa. (pt)
rdfs:label
  • Shell builtin (en)
  • Comando interno do shell (pt)
  • 殼層內建指令 (zh)
  • Список вбудованих команд bash (uk)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License