Home
last modified time | relevance | path

Searched refs:shell (Results 1 – 25 of 712) sorted by relevance

12345678910>>...29

/openbsd-src/usr.bin/file/magdir/
H A Dcommands6 #0 string : shell archive or script for antique kernel text
7 0 string/b #!\ /bin/sh Bourne shell script text executable
9 0 string/b #!\ /bin/csh C shell script text executable
11 # korn shell magic, sent by George Wu, gwu@clyde.att.com
12 0 string/b #!\ /bin/ksh Korn shell script text executable
14 0 string/b #!\ /bin/tcsh Tenex C shell script text executable
16 0 string/b #!\ /usr/local/tcsh Tenex C shell script text executable
18 0 string/b #!\ /usr/local/bin/tcsh Tenex C shell script text executable
54 # AT&T Bell Labs' Plan 9 shell
55 0 string/b #!\ /bin/rc Plan 9 rc shell script text executable
[all …]
/openbsd-src/regress/bin/ksh/
H A DREADME6 sh generic any v7 bourne shell like thing
7 sh-v generic any system V bourne shell like thing
9 posix generic basic posix shell
11 sh-v7 specific the real v7 bourne shell
12 sh-sysv specific the real sysv bourne shell
16 bash specific GNU bourne-again shell
20 Generally, at most one specific shell will be given.
/openbsd-src/usr.sbin/chroot/
H A Dchroot.c55 const char *shell; in main() local
133 if ((shell = getenv("SHELL")) == NULL || *shell == '\0') in main()
134 shell = _PATH_BSHELL; in main()
135 execlp(shell, shell, "-i", (char *)NULL); in main()
136 err(1, "%s", shell); in main()
/openbsd-src/usr.bin/apply/
H A Dapply.c200 static const char *name, *shell; in mysystem() local
206 if (shell == NULL) { in mysystem()
207 if ((shell = getenv("SHELL")) == NULL) in mysystem()
208 shell = _PATH_BSHELL; in mysystem()
209 if ((name = strrchr(shell, '/')) == NULL) in mysystem()
210 name = shell; in mysystem()
225 execl(shell, name, "-c", command, (char *)NULL); in mysystem()
226 err(1, "%s", shell); in mysystem()
/openbsd-src/usr.bin/tmux/
H A Dtmux.c60 "usage: %s [-2CDlNuVv] [-c shell-command] [-f file] [-L socket-name]\n" in usage()
70 const char *shell; in getshell() local
72 shell = getenv("SHELL"); in getshell()
73 if (checkshell(shell)) in getshell()
74 return (shell); in getshell()
84 checkshell(const char *shell) in checkshell() argument
86 if (shell == NULL || *shell != '/') in checkshell()
88 if (areshell(shell)) in checkshell()
90 if (access(shell, X_O in checkshell()
96 areshell(const char * shell) areshell() argument
243 shell_argv0(const char * shell,int is_login) shell_argv0() argument
[all...]
H A Djob.c83 const char *home, *shell; in job_run()
91 * to be able to use if-shell to decide on default-terminal based on in job_run()
99 shell = _PATH_BSHELL; in job_run()
105 shell = options_get_string(oo, "default-shell"); in job_run()
106 if (!checkshell(shell)) in job_run()
107 shell = _PATH_BSHELL; in job_run()
109 argv0 = shell_argv0(shell, 0); in job_run()
126 log_debug("%s: cwd=%s, shell=%s", __func__, in job_run()
127 cwd == NULL ? "" : cwd, shell); in job_run()
82 const char *home, *shell; job_run() local
[all...]
H A Dspawn.c335 free(new_wp->shell); in spawn_pane()
336 new_wp->shell = xstrdup(tmp); in spawn_pane()
338 environ_set(child, "SHELL", 0, "%s", new_wp->shell); in spawn_pane()
341 log_debug("%s: shell=%s", __func__, new_wp->shell); in spawn_pane()
439 cp = strrchr(new_wp->shell, '/'); in spawn_pane()
445 xasprintf(&argv0, "%s", new_wp->shell); in spawn_pane()
446 execl(new_wp->shell, argv0, "-c", tmp, (char *)NULL); in spawn_pane()
452 xasprintf(&argv0, "-%s", new_wp->shell); in spawn_pane()
453 execl(new_wp->shell, argv0, (char *)NULL); in spawn_pane()
/openbsd-src/usr.bin/su/
H A Dsu.c65 char *user, *shell = NULL, *avshell, *username, **np; in main() local
113 shell = optarg; in main()
155 if ((shell = strdup(pwd->pw_shell)) == NULL) in main()
158 shell = _PATH_BSHELL; in main()
246 if ((shell = strdup(pwd->pw_shell)) == NULL) in main()
250 shell = _PATH_BSHELL; in main()
255 if (unveil(shell, "x") == -1) in main()
256 err(1, "unveil %s", shell); in main()
260 if ((p = strrchr(shell, '/'))) in main()
263 avshell = shell; in main()
[all …]
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/scripts/
H A Dasan_device_setup41 $ADB shell su -c "rm \\\"$2/$FILENAME\\\"" >&/dev/null
42 $ADB shell su -c "cat \\\"/data/local/tmp/$FILENAME\\\" > \\\"$2/$FILENAME\\\""
43 $ADB shell su -c "rm \\\"/data/local/tmp/$FILENAME\\\""
51 local STORAGE=`$ADB shell mount | grep /system | cut -d ' ' -f1`
54 $ADB shell su -c "mount -o rw,remount $STORAGE /system"
63 $ADB shell $@
65 $ADB shell su -c "$*"
84 $ADB shell rm "/data/local/tmp/$FILENAME" >&/dev/null
85 …$ADB shell su -c "[ -f \\\"$1\\\" ] && cat \\\"$1\\\" > \\\"/data/local/tmp/$FILENAME\\\" && chown…
86 …$ADB pull "/data/local/tmp/$FILENAME" "$2" >&/dev/null && $ADB shell "rm \"/data/local/tmp/$FILENA…
[all …]
/openbsd-src/usr.bin/less/
H A Dlsystem.c35 char *shell; in lsystem() local
87 if ((shell = lgetenv("SHELL")) != NULL && *shell != '\0') { in lsystem()
89 p = estrdup(shell); in lsystem()
93 p = easprintf("%s -c %s", shell, esccmd); in lsystem()
/openbsd-src/gnu/gcc/libgomp/testsuite/
H A DMakefile.am6 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
8 EXPECT = $(shell if test -f $(top_builddir)/../expect/expect; then \
11 _RUNTEST = $(shell if test -f $(top_srcdir)/../dejagnu/runtest; then \
/openbsd-src/usr.sbin/unbound/testcode/
H A Dmini_tdir.sh133 shell="bash"
135 shell="sh"
165 $shell $name.pre $args >> $result
180 $shell $name.test $args >>$result 2>&1
199 $shell $name.post $args >> $result
/openbsd-src/usr.bin/script/
H A Dscript.c310 char *shell; in doshell() local
313 shell = getenv("SHELL"); in doshell()
314 if (shell == NULL) in doshell()
315 shell = _PATH_BSHELL; in doshell()
326 execl(shell, shell, "-i", (char *)NULL); in doshell()
327 warn("%s", shell); in doshell()
/openbsd-src/gnu/llvm/llvm/utils/
H A Dbisect-skip-count61 result = subprocess.call(cmd, shell=args.shell, timeout=args.timeout)
84 result = subprocess.call(cmd, shell=args.shell, timeout=args.timeout)
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Dtestargs.t53 my $shell = '/bin/sh';
54 return unless -x $shell;
60 print $sh "#!$shell\n\n";
65 return [ shell => $script ];
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A Dconfigure.tgt2 # 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:
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A Dconfigure.tgt2 # 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:
/openbsd-src/gnu/llvm/lldb/docs/use/
H A Dsymbols.rst18 - Running one or more shell scripts
24 or modified using the **defaults** shell command:
53 strings. Specifies a shell script that will get run in order to find the
54 dSYM. The shell script will be run given a single UUID value as the
55 shell command arguments and the shell command is expected to return a
84 The shell script will be invoked with a single UUID string value like
85 "23516BE4-29BE-350C-91C9-F36E7999F0F1". The shell script must respond with a
135 Below is a sample shell script output for a binary that contains two
173 There is no timeout imposed on a shell script when is it asked to locate a dSYM
174 file, so be careful to not make a shell script that has high latency or takes a
[all …]
/openbsd-src/usr.bin/login/
H A Dlogin.c141 char *domain, *p, *ttyn, *shell, *fullname, *instance; in main() local
341 shell = strrchr(script, '/') + 1; in main()
344 auth_call(as, script, shell, "-f", "--", username, in main()
347 auth_call(as, script, shell, "--", username, in main()
556 shell = login_getcapstr(lc, "shell", pwd->pw_shell, pwd->pw_shell); in main()
557 if (*shell == '\0') in main()
558 shell = _PATH_BSHELL; in main()
559 else if (strlen(shell) >= PATH_MAX) { in main()
560 syslog(LOG_ERR, "shell path too long: %s", shell); in main()
702 (void)strlcpy(tbuf + 1, (p = strrchr(shell, '/')) ? in main()
[all …]
/openbsd-src/usr.sbin/adduser/
H A Dadduser.perl123 %shell = (); # $shell{`basename sh`} = sh
161 $shell{&basename($sh)} = $sh;
172 $shell{"nologin"} = "/sbin/nologin";
185 if (!$shell{$sh}) {
193 $shell{&basename("$dir/$sh")} = "$dir/$sh";
206 local($shell);
208 foreach $shell (@shellpref) {
209 return if ($shell eq $new_shell);
223 $sh, sort(keys %shell));
224 print "Your default shell is: $new_shell -> $shell{$new_shell}\n";
[all …]
/openbsd-src/gnu/llvm/clang/utils/analyzer/
H A Dentrypoint.py62 shell=True)
66 check_call("ninja install", shell=True)
71 return call("/scripts/SATest.py " + " ".join(args), shell=True)
/openbsd-src/gnu/usr.bin/perl/cpan/ExtUtils-MakeMaker/t/
H A Decho.t37 my $shell = $^O eq 'MSWin32' && $mm->is_make_type('gmake') ? $ENV{COMSPEC} : undef;
59 print $makefh "SHELL=$shell\n" if defined $shell;
/openbsd-src/gnu/usr.bin/perl/
H A DREADME.amiga57 =item B<abc-shell>
59 If you do not have the SDK installed you must at least have abc-shell
67 Perl may be run from the AmigaOS shell but for best results should be
68 run under abc-shell. (abc-shell handles file globbing, pattern
78 Abc-shell can also launch programs via the #! syntax at the start of
80 the AmigaOS shell may also find perl in the same way. AmigaOS requires
92 abc-shell version 53.2 has a bug that can cause crashes in the
121 Execute the provided install script from shell or via its icon.
157 run under abc-shell so the recommend build process is as follows.
/openbsd-src/gnu/llvm/llvm/utils/TableGen/jupyter/
H A DREADME.md9 ```shell
15 ```shell
34 ```shell
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dfork-child.c138 int shell = 0; in fork_inferior() local
158 shell = 1; in fork_inferior()
175 if (!shell) in fork_inferior()
334 if (shell) in fork_inferior()

12345678910>>...29