/bin/bash (the Linux preset shell, the default shell in many Linux distributions today, combines many of the advantages of other shells.) )/bin/ksh (KornShell by the T-Bell Lab. Developed, in combination with bash)/BIN/TCSH (Consolidated C Shell, provides more features)/BIN/CSH (has been replaced by/BIN/TCSH)/bin/zsh (based on Ksh developed, more powerful shell) now the general shell is used by bash > with Command Auto-complement and other functions,
In the *unix system, the commonly used shell has sh,bash,csh/tcsh, ksh.
SH comes from SystemV Unix, is the traditional Unix shell, until now many system administrators still like to use SH.Bash comes from BSD Unix, the syntax is very similar to C, so developers who typically have a C + + programming background are most likely to use it.Ksh is an extension of SH and absorbs some useful features of CSH, but
Currently, the popular Shell types include bash, ksh, and csh-general Linux technology-Linux technology and application information. For more information, see the following. Bash is the default Shell used in Linux. It is jointly completed by Brian Fox and Chet Ramey. It is short for Bourne Again Shell and has a total of 40 internal commands. Linux uses it as the default Shell because it has the following features:
(1) You can use a function similar
Tcshell, CshellConfiguration fileGlobal configuration file/ETC/CSH.CSHRCPersonal Profile ~/.CSHRC or ~/.TCSHRCReference:1. Configure your csh/tcsh, https://wiki.freebsdchina.org/howto/c/config_your_csh2. My. CSHRC Common Settings http://biancheng.dnbcw.info/bsd/260256.htmlI use CSH and like to add the following in. CSHRC:#给ls增加眼色, add '/' after directory nameAlias LS LS-GF#可以像bash那样按tab键显示可以选择的命令Set Autolis
FreeBSD in order to determine whether a process exists, the implementation of the Chsh-s/bin/bash command, unfortunately, is just disconnected, and then again link can not be able to su root in the administrative authority. Sad thing, had to ask the room to help operate.
The code is as follows
Copy Code
Chsh-s/bin/bashView/etc/passwd content when foundRoot:*:0:0:charlie :/root:/bin/bashThis sentence has been changedTurns out to beRoot:*:0:0:charlie :/root:/bin/
There are some differences between csh, tcsh, bash, sh, and other shell, such as csh, tcsh, bash, and sh.
Section C: Differences from other Unix shellsC: Differences with other UNIX shells scripts C1) How does bash differ from sh, the Bourne shell? C1) bash, sh, and Bourne shell differences This is a non-comprehensive list of features that differentiate bashfrom the SVR4.2 shell. the bash manual page explai
Check whether the flag file is running or not.
Process detection that can be added with related keywords.
Code(Simple CSH instance) running_check
#
! /Bin/CSH-F
If ($
#
Argv
Usage:
Echo
"
Usage: $0
"
Echo
"
Action need be one value of-check or-Delete.
"
Echo
"
Default timeout is 0, it means no timeout limitation.
"
Exit
1
Endif
Set running_flag = $ 1 Set ac
CSH Example Reference:
Copy Code code as follows:
#!/bin/csh-vx
#csh-VX Show the command before running to help debug
#just to check syntax#csh-N $
#argvif ($ #argv echo "Sorry, but you entered too few parameters"echo "Usage: $ arg1 arg2ExitendifSet arg1 = $Set arg2 = #2
foreach I ($*)Echo $iEnd#e
Preach Wisdom Blog Video tutorial Download summary |java video tutorial |net video tutorial |php video tutorial | Web video Tutorial
Preach Wisdom Blog Video tutorial Download summary |java video
Link to the PHP object-oriented programming getting started tutorial, and the OOP Getting Started Tutorial. Link to the PHP object-oriented programming getting started tutorial, the OOP Getting Started Tutorial PHP official learning oop: php. netmanuzhoop5.intro. php the following link Source: blog.snsgou.compost-41.ht
Destoon Introductory Tutorial example, Destoon Getting Started tutorial
Release time: 2014-06-23 Editor: www.jbxue.comCollect some Destoon introductory tutorials, Destoon examples, suitable for beginners to learn destoon basic tutorials and tips for getting started. Destoon Introductory Tutorials and tips examples
are Destoon basic tutorials, DESTOON®B2B website Management system is a set of Php+mysql-bas
This course includes:"1" C language (1 months)"2" C + + syntax and data structure (1 months))"3" MFC project Development (1 months)"4" Linux project development (1 months)Previous sessions of the video have been uploaded to Baidu Network, please follow the video tutorial in advance to master the progress of the course.VS2015 Series Video tutorials include:"VS2015---0 basic C language Video tutorial""VS2015-
In php web development, the first thing to do is to set up the php environment so that php can access, read, and write data in the mysql database! How does php connect to mysql? This topic focuses on phpmysql connection, including the phpmysql connection video and graphic tutorials, as well as phpmysql connection related tools, classes, and Q A. welcome to learn! I. connect to the database using phpmysql: video tutorial php.cn (4)-php Video
Introduction to Public Platform development tutorial (graphic), Public introductory tutorial
Key word: Getting Started with public platform development
Author: C + + Lab
Background: The development of public platform requires a certain basic knowledge of PHP, PHP is an embedded HTML language, widely used in web development. There are two ways to transfer data between the server and the developer's server
The shell is a scripting language, so you have to have an interpreter to execute the scripts.The common shell scripting interpreters on Unix/linux include bash, sh, csh, Ksh, and so on, which are used to call them a shell. we often say that there are many kinds of shells, actually speaking of shell script interpreter. BashBash is the default shell for the Linux standard, and this tutorial is based on bash.
Laravel 4 Basic Tutorial installation and Getting Started, Laravel Beginner's tutorial
0. Default conditions
This article by default you already have the well-configured Php+mysql running environment, understand the PHP website operation basic Knowledge. Following this tutorial, you will get a basic simple blog system with login, and will learn how to use some p
DRUPAL7 installation Complete tutorial, DRUPAL7 tutorial
DRUPAL7 Prehistoric preparations (installation Appserv)Appserv is a PHP Web station tool combination package, the author will be some network free station resources repackaged into a single installation program to facilitate beginners to quickly complete the station, Appserv contains software: Apache,Apache Monitor, PHP, MySQL, PhpMyAdmin, and more.1
This course includes:"1" C language (1 months)"2" C + + syntax and data structure (1 months))"3" MFC project Development (1 months)"4" Linux project development (1 months)Previous sessions of the video have been uploaded to Baidu Network, please follow the video tutorial in advance to master the progress of the course.VS2015 Series Video tutorials include:"VS2015---0 basic C language Video tutorial""VS2015-
Getting started with public platform development (text) and getting started with the public. Getting started with public platform development (text), getting started with public tutorials Keywords: Getting started with public platform development author: C ++ research center background knowledge: public platform development requires the public platform development Getting Started Tutorial (text), public Getting Started
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.