8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
sorry wrong section. (0 Replies)
Discussion started by: Scripter12345
0 Replies
2. What is on Your Mind?
Hello, all
I found you folks by doing searches on
linux bash scripting
From time-to-time I'm hoping to get help from the experts here.
I'm technically competent enough with Windows to run my own Tech-Support business, but I am fairly lightwieght in Linux. Over the last 3-4 years I've... (3 Replies)
Discussion started by: Tovian
3 Replies
3. UNIX for Dummies Questions & Answers
Write a command to display lines ending with the letters "well" in the text file myfile1
Write a command to view all the files in the /root directory that have exactly four letters in their filenames and the last letter must be the letter d.
Write a command to find all files in the /home... (2 Replies)
Discussion started by: elh009
2 Replies
4. Cybersecurity
Dear all,
I am instructed to use a licensed software on network. There are several ways of doing it, one of which includes using AFS, getting modules, etc.
I am not so sure about the security. I would not like the situation where people actually can see my data. Being an apprentice, I need... (2 Replies)
Discussion started by: apprentice
2 Replies
5. UNIX for Dummies Questions & Answers
I was given a computer that was wiped clean that has a unix system installed.I want to know how do I format the hardrive so I can install windows XP Professional (1 Reply)
Discussion started by: gemini61
1 Replies
6. Shell Programming and Scripting
Hi, folks.
Sorry for bothering, but maybe someone could help me please.
The problem is the following:
there is some script that copies files from local file system to AFS. The copying is performed with dd command.
The script copies data into some AFS volumes.
The problem appeared with one... (0 Replies)
Discussion started by: Anta
0 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I've posted this in an X group, but I thought one of you might be able to help.
I'm a novice programmer and I'm trying to write an X program in which pressing a button will launch another program. I know the syntax is something like "(Widget) -command {exec /usr/X11R6/bin/xcalc &}"... (5 Replies)
Discussion started by: af6
5 Replies
8. Filesystems, Disks and Memory
I have an old amiga IDE drive that I wish to read. Its formated in FFS and I understand I can mount this under linux as an AFS filesystem.
The drive is already installed in the PC. Can anyone explain in newbie terms the steps t mounting and reading this drive?
Thanks (1 Reply)
Discussion started by: SocketSlave
1 Replies
ATF-SH(1) BSD General Commands Manual ATF-SH(1)
NAME
atf-sh [-s shell] -- interpreter for shell-based test programs
SYNOPSIS
atf-sh script
DESCRIPTION
atf-sh is an interpreter that runs the test program given in script after loading the atf-sh(3) library.
atf-sh is not a real interpreter though: it is just a wrapper around the system-wide shell defined by ATF_SHELL. atf-sh executes the inter-
preter, loads the atf-sh(3) library and then runs the script. You must consider atf-sh to be a POSIX shell by default and thus should not
use any non-standard extensions.
The following options are available:
-s shell Specifies the shell to use instead of the value provided by ATF_SHELL.
ENVIRONMENT
ATF_LIBEXECDIR Overrides the builtin directory where atf-sh is located. Should not be overridden other than for testing purposes.
ATF_PKGDATADIR Overrides the builtin directory where libatf-sh.subr is located. Should not be overridden other than for testing purposes.
ATF_SHELL Path to the system shell to be used in the generated scripts. Scripts must not rely on this variable being set to select a
specific interpreter.
EXAMPLES
Scripts using atf-sh(3) should start with:
#! /usr/bin/env atf-sh
Alternatively, if you want to explicitly choose a shell interpreter, you cannot rely on env(1) to find atf-sh. Instead, you have to hardcode
the path to atf-sh in the script and then use the -s option afterwards as a single parameter:
#! /path/to/bin/atf-sh -s/bin/bash
ENVIRONMENT
ATF_SHELL Path to the system shell to be used in the generated scripts.
SEE ALSO
atf-sh(3)
BSD
September 27, 2014 BSD