| /NextBSD/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 …]
|
| /NextBSD/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 …]
|
| /NextBSD/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 …]
|
| /NextBSD/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()
|
| /NextBSD/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.
|
| /NextBSD/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()
|
| /NextBSD/contrib/compiler-rt/lib/asan/scripts/ |
| HD | asan_device_setup | 42 $ADB shell su -c "rm \\\"$2/$FILENAME\\\"" >&/dev/null 43 $ADB shell su -c "cat \\\"/data/local/tmp/$FILENAME\\\" > \\\"$2/$FILENAME\\\"" 44 $ADB shell su -c "rm \\\"/data/local/tmp/$FILENAME\\\"" 52 local STORAGE=`$ADB shell mount | grep /system | cut -d ' ' -f1` 55 $ADB shell su -c "mount -o remount,rw $STORAGE /system" 64 $ADB shell $@ 66 $ADB shell su -c "$*" 85 $ADB shell rm "/data/local/tmp/$FILENAME" >&/dev/null 86 …$ADB shell su -c "[ -f \\\"$1\\\" ] && cat \\\"$1\\\" > \\\"/data/local/tmp/$FILENAME\\\" && chown… 87 …$ADB pull "/data/local/tmp/$FILENAME" "$2" >&/dev/null && $ADB shell "rm \"/data/local/tmp/$FILENA… [all …]
|
| /NextBSD/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
|
| /NextBSD/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()
|
| /NextBSD/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()
|
| /NextBSD/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.
|
| /NextBSD/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 …]
|
| /NextBSD/usr.sbin/jexec/ |
| HD | jexec.c | 64 const char *username, *shell, *term; in main() local 142 if (!(shell = getenv("SHELL"))) in main() 143 shell = _PATH_BSHELL; in main() 144 if (execlp(shell, shell, "-i", NULL) < 0) in main() 145 err(1, "execlp: %s", shell); in main()
|
| /NextBSD/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 = (int) (strlen(shell) + strlen(esccmd) + 5); 142 SNPRINTF3(p, len, "%s %s %s", shell, shell_coption(), esccmd);
|
| /NextBSD/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()
|
| /NextBSD/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 …]
|
| /NextBSD/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)
|
| /NextBSD/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.
|
| /NextBSD/contrib/sqlite3/ |
| HD | Makefile.in | 110 am_sqlite3_OBJECTS = sqlite3-shell.$(OBJEXT) sqlite3-sqlite3.$(OBJEXT) 279 sqlite3_SOURCES = shell.c sqlite3.c sqlite3.h 417 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sqlite3-shell.Po@am__quote@ 442 sqlite3-shell.o: shell.c 443 …FLAGS) -MT sqlite3-shell.o -MD -MP -MF $(DEPDIR)/sqlite3-shell.Tpo -c -o sqlite3-shell.o `test -f … 444 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sqlite3-shell.Tpo $(DEPDIR)/sqlite3-shell.Po 447 …PFLAGS) $(sqlite3_CFLAGS) $(CFLAGS) -c -o sqlite3-shell.o `test -f 'shell.c' || echo '$(srcdir)/'`… 449 sqlite3-shell.obj: shell.c 450 …) $(sqlite3_CFLAGS) $(CFLAGS) -MT sqlite3-shell.obj -MD -MP -MF $(DEPDIR)/sqlite3-shell.Tpo -c -o … 451 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/sqlite3-shell.Tpo $(DEPDIR)/sqlite3-shell.Po [all …]
|
| /NextBSD/sbin/init/ |
| HD | init.c | 876 const char *shell; in single_user() local 896 shell = get_shell(); in single_user() 938 write_stderr(shell); in single_user() 945 shell = altshell; in single_user() 966 execv(shell, argv); in single_user() 967 emergency("can't exec %s for single user: %m", shell); in single_user() 1050 const char *shell; in run_script() local 1053 shell = get_shell(); in run_script() 1077 execv(shell, argv); in run_script() 1078 stall("can't exec %s for %s: %m", shell, script); in run_script() [all …]
|
| /NextBSD/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 …]
|
| /NextBSD/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:
|