簡體   English   中英

android中的Init.goldfish用什么編程語言編寫?

[英]What programming language is Init.goldfish in android written in?

這是Ubuntu(顯然是相同語言)的.bashrc的一部分:

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace

# append to the history file, don't overwrite it
shopt -s histappend

# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000
HISTFILESIZE=2000

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

那是什么語言? 它有一個fi關鍵字。 我該如何學習該語言? 與書籍相比,我更喜歡在線教程或源代碼存儲庫。

它是UNIX shell腳本,由bash等shell實現的標准化腳本語言。 它對於在基於UNIX的系統(例如Linux或Android)上自動化小型任務具有強大的功能。

谷歌搜索諸如unix shell script tutorial將為您提供大量教程。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM