| /trueos/contrib/file/magic/Magdir/ |
| HD | commands | 6 #0 string/w : shell archive or script for antique kernel text 7 0 string/wt #!\ /bin/sh POSIX shell script text executable 9 0 string/wb #!\ /bin/sh POSIX shell script executable (binary data) 12 0 string/wt #!\ /bin/csh C shell script text executable 15 # korn shell magic, sent by George Wu, gwu@clyde.att.com 16 0 string/wt #!\ /bin/ksh Korn shell script text executable 18 0 string/wb #!\ /bin/ksh Korn shell script executable (binary data) 21 0 string/wt #!\ /bin/tcsh Tenex C shell script text executable 23 0 string/wt #!\ /usr/bin/tcsh Tenex C shell script text executable 25 0 string/wt #!\ /usr/local/tcsh Tenex C shell script text executable [all …]
|
| /trueos/contrib/netbsd-tests/ipf/input/ |
| HD | ni19 | 1 # 192.168.113.3.1009 > 10.1.1.4.shell: SYN win 32768 <mss 1460,nop,wscale 0,sackOK,nop,nop,nop,nop,… 8 # 10.1.1.4.shell > 10.1.1.1.1009: SYN win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2> 15 # 192.168.113.3.1009 > 10.1.1.4.shell 21 # 192.168.113.3.1009 > 10.1.1.4.shell 27 # 10.1.1.4.shell > 10.1.1.1.1009 54 # 192.168.113.3.1009 > 10.1.1.4.shell 60 # 10.1.1.4.shell > 10.1.1.1.1009 66 # 192.168.113.3.1009 > 10.1.1.4.shell 75 # 10.1.1.4.shell > 10.1.1.1.1009 81 # 10.1.1.4.shell > 10.1.1.1.1009 [all …]
|
| HD | ni20 | 1 # 192.168.113.3.1009 > 10.1.1.4.shell: SYN win 32768 <mss 1460,nop,wscale 0,sackOK,nop,nop,nop,nop,… 8 # 192.168.113.4.shell > 192.168.113.3.1009: SYN win 5840 <mss 1460,nop,nop,sackOK,nop,wscale 2> 15 # 192.168.113.3.1009 > 10.1.1.4.shell 21 # 192.168.113.3.1009 > 10.1.1.4.shell 27 # 192.168.113.4.shell > 192.168.113.3.1009 54 # 192.168.113.3.1009 > 10.1.1.4.shell PUSH+ACK 60 # 192.168.113.4.shell > 192.168.113.3.1009 ACK 66 # 192.168.113.3.1009 > 10.1.1.4.shell PUSH+ACK 75 # 192.168.113.4.shell > 192.168.113.3.1009 ACK 81 # 192.168.113.4.shell > 192.168.113.3.1009 PUSH+ACK [all …]
|
| /trueos/usr.bin/newgrp/ |
| HD | newgrp.c | 262 const char *shell; in loginshell() local 265 shell = pwd->pw_shell; in loginshell() 266 if (*shell == '\0') in loginshell() 267 shell = _PATH_BSHELL; in loginshell() 286 setenv("SHELL", shell, 1); in loginshell() 293 if (asprintf(args, "-%s", basename(shell)) < 0) in loginshell() 297 execv(shell, args); in loginshell() 298 err(1, "%s", shell); in loginshell() 304 const char *shell; in doshell() local 306 shell = pwd->pw_shell; in doshell() [all …]
|
| /trueos/contrib/atf/atf-sh/ |
| HD | integration_test.sh | 88 This is the custom shell 92 cat >custom-shell <<EOF 97 chmod +x custom-shell 100 atf_check -s eq:0 -o file:expout -e empty "${ATF_SH}" -s ./custom-shell tp 107 This is the custom shell 111 cat >custom-shell <<EOF 116 chmod +x custom-shell 131 cat >custom-shell <<EOF 135 chmod +x custom-shell 147 "${ATF_SH}" -s ./custom-shell tp helper
|
| HD | atf-sh.cpp | 65 const std::string shell = atf::env::get("ATF_SHELL", ATF_SHELL); in construct_script() local 70 "Atf_Shell='" + shell + "' ; " + in construct_script() 79 construct_argv(const std::string& shell, const int interpreter_argc, in construct_argv() argument 89 argv[0] = shell.c_str(); in construct_argv()
|
| /trueos/usr.bin/bmake/tests/shell/path_select/ |
| HD | Makefile.test | 15 .SHELL: name=sh path=${.CURDIR}/shell 17 @: This is the shell. 21 .SHELL: name=csh path=${.CURDIR}/shell 23 @: This is the C-shell. 27 .SHELL: name=ksh path=${.CURDIR}/shell 29 @: This is the Korn-shell.
|
| /trueos/usr.sbin/setpmac/ |
| HD | setpmac.c | 60 const char *shell; in main() local 86 if (!(shell = getenv("SHELL"))) in main() 87 shell = _PATH_BSHELL; in main() 88 execlp(shell, shell, "-i", (char *)NULL); in main() 89 err(1, "%s", shell); in main()
|
| /trueos/bin/sh/tests/builtins/ |
| HD | command6.0.stdout | 1 true is a shell builtin 3 fun is a shell function 4 break is a special shell builtin 5 if is a shell keyword 6 { is a shell keyword
|
| HD | command5.0.stdout | 2 true is a shell builtin 4 fun is a shell function 5 break is a special shell builtin 6 if is a shell keyword 7 { is a shell keyword
|
| /trueos/usr.bin/apply/ |
| HD | apply.c | 68 char *cmd, *name, *p, *shell, *slashp, *tmpshell; in main() local 120 shell = name = NULL; in main() 122 shell = (tmpshell != NULL) ? strdup(tmpshell) : strdup(_PATH_BSHELL); in main() 123 if (shell == NULL) in main() 125 slashp = strrchr(shell, '/'); in main() 126 name = (slashp != NULL) ? slashp + 1 : shell; in main() 206 if (exec_shell(sbuf_data(cmdbuf), shell, name)) in main() 215 free(shell); in main()
|
| /trueos/usr.sbin/chroot/ |
| HD | chroot.c | 65 const char *shell; in main() local 169 if (!(shell = getenv("SHELL"))) in main() 170 shell = _PATH_BSHELL; in main() 171 execlp(shell, shell, "-i", (char *)NULL); in main() 172 err(1, "%s", shell); in main()
|
| /trueos/cddl/contrib/dtracetoolkit/Examples/ |
| HD | sh_wasted_example.txt | 1 Many shell programmers are in the habit of using calls to external commands 2 instead of using shell built-in commands (an example of this is a call to 3 usr/bin/echo instead of using the echo command built into the shell. 5 This script shows sh_wasted.d tracing a shell script that calls /usr/bin/echo 24 microseconds; time wasted by the shell having to access an external command. 27 Here we trace the same script, except it uses the shell built-in echo command.
|
| /trueos/release/picobsd/tinyware/oinit/ |
| HD | README | 4 version of init(8) combined with a shell. 11 * provides minimalistic user interface, called "shell()", 14 (*very* primitive, but doesn't require any real shell to run it!), 15 * doesn't require the whole chain of init->getty->login->shell to be run, 27 providing shell() interface. Currently it doesn't require (and is unable to 61 exit exit from shell (oinit will start a new one after some delay) 68 as daemon. This is NOT the same as in normal shell, where the '&' puts a 77 WARNING: this pseudo-shell doesn't do any expansion whatsoever. 94 - shell(): 104 - implement as a routine (like shell()) a small remote login daemon telnet(), [all …]
|
| /trueos/contrib/less/ |
| HD | lsystem.c | 47 register char *shell; local 131 if ((shell = lgetenv("SHELL")) != NULL && *shell != '\0') 134 p = save(shell); 140 int len = strlen(shell) + strlen(esccmd) + 5; 142 SNPRINTF3(p, len, "%s %s %s", shell, shell_coption(), esccmd);
|
| /trueos/crypto/heimdal/appl/su/ |
| HD | su.c | 337 char *shell; in main() local 384 shell = login_info->pw_shell; in main() 386 shell = su_info->pw_shell; in main() 387 if(shell == NULL || *shell == '\0') in main() 388 shell = _PATH_BSHELL; in main() 472 esetenv("SHELL", shell, 1); in main() 480 p = strrchr(shell, '/'); in main() 484 p = shell; in main() 522 execve(shell, args, environ); in main()
|
| /trueos/contrib/wpa/wpa_supplicant/dbus/ |
| HD | Makefile | 42 DBUS_LIBS := $(shell $(PKG_CONFIG) --libs dbus-1) 45 DBUS_INCLUDE := $(shell $(PKG_CONFIG) --cflags dbus-1) 49 DBUS_INCLUDE += $(shell xml2-config --cflags) 50 DBUS_LIBS += $(shell xml2-config --libs)
|
| /trueos/usr.bin/su/ |
| HD | su.c | 166 const char *p, *user, *shell, *mytty, **nargv; in main() local 175 shell = class = cleanenv = NULL; in main() 278 shell = strncpy(shellbuf, pwd->pw_shell, in main() 283 shell = _PATH_BSHELL; in main() 387 shell = pwd->pw_shell; in main() 391 shell = _PATH_BSHELL; in main() 397 p = strrchr(shell, '/'); in main() 401 p = shell; in main() 518 setenv("SHELL", shell, 1); in main() 556 execv(shell, np.b); in main() [all …]
|
| /trueos/sbin/init/ |
| HD | init.c | 633 const char *shell; in single_user() local 653 shell = get_shell(); in single_user() 695 write_stderr(shell); in single_user() 702 shell = altshell; in single_user() 723 execv(shell, argv); in single_user() 724 emergency("can't exec %s for single user: %m", shell); in single_user() 807 const char *shell; in run_script() local 810 shell = get_shell(); in run_script() 834 execv(shell, argv); in run_script() 835 stall("can't exec %s for %s: %m", shell, script); in run_script() [all …]
|
| /trueos/contrib/sendmail/contrib/ |
| HD | passwd-to-alias.pl | 13 ($name,$passwd,$uid,$gid,$quota,$comment,$gcos,$dir,$shell) = @a; 17 if (!-d $dir || !-x $shell || $shell =~ m!/bin/(false|true)$!) {
|
| /trueos/usr.bin/bmake/tests/shell/path/ |
| HD | Makefile.test | 17 @: This is the shell. 23 @: This is the C-shell. 29 @: This is the Korn-shell.
|
| /trueos/contrib/groff/contrib/groffer/ |
| HD | README_SH | 1 Additional description for the shell version of `groffer' 6 The shell version of `groffer' contains two files, `groffer.sh' and 10 can be run with a very poor Bourne shell. It just contains some basic 12 determination of the shell for `groffer2.sh'. This script is 20 different shell, using the `groffer' option `--shell'. 42 `exit' can only escape from the current shell; trouble occurs in 118 The `groffer' shell scripts are compatible to both the GNU and the 119 POSIX shell and utilities. Care was taken to restrict the programming 133 without problems in Linux Debian. A shell can be tested by the 134 `groffer' option `--shell', but that will run only with groffer2.sh. [all …]
|
| HD | ChangeLog | 94 ### automatic shell determination 97 - If no option --shell is given perform a test of several shells 98 to automatically start some shell for groffer2.sh. `ksh' is used 100 - This can be cancelled by providing --shell=''. 103 * groffer.man: Revise information on --shell. 124 test (especially for shell `ksh'). 146 - This makes a `set' in the shell determination unnecessary. 157 - --debug-all, --debug-lm, --debug-params, --debug-shell, 170 - Move the test of rudimentary shell functionality at the 279 ### Rewrite the shell determination [all …]
|
| /trueos/contrib/binutils/binutils/ |
| HD | configure.tgt | 2 # autoconf generated configure script. Putting it in a separate shell 6 # This file switches on the shell variable ${targ}, and sets the 7 # following shell variables:
|
| /trueos/crypto/openssh/ |
| HD | sshconnect.c | 110 char *shell; in ssh_proxy_fdpass_connect() local 112 if ((shell = getenv("SHELL")) == NULL) in ssh_proxy_fdpass_connect() 113 shell = _PATH_BSHELL; in ssh_proxy_fdpass_connect() 147 argv[0] = shell; in ssh_proxy_fdpass_connect() 188 char *shell; in ssh_proxy_connect() local 190 if ((shell = getenv("SHELL")) == NULL || *shell == '\0') in ssh_proxy_connect() 191 shell = _PATH_BSHELL; in ssh_proxy_connect() 224 argv[0] = shell; in ssh_proxy_connect() 1400 char *shell; in ssh_local_cmd() local 1409 if ((shell = getenv("SHELL")) == NULL || *shell == '\0') in ssh_local_cmd() [all …]
|