11-03-2018
Grandpa returning to UNIX
On the late 1960s I got short hands on experience with a russian "small" computer. It vas a copy of DEC's VAX ... and running some version of BSD-Unix. After that I worked in a university following the development of computing. After retire I started collecting old pc's and installing Linux-distributions to them. I like using terminal to do simple tasks as for ex. uppdating programs.
Now in the LINUX MAGAZINE March 2018 I found a dvd containing NetBSD 7.1.1. wich I installed or tried to do that. Everything seemed to go well except that while trying to get connected to Internet using 4G-wireles the installer did not find the DNS-server. Anycase I was able to login to the terminal. And I know that advice can be foundd, for ex.NetBSD Documentation.
But some questions are still open in my mind. There are still some strategic questions. What about some other variants of BSD as Free- Open- PC-
What would you recommend for a grandpa age 84
These 2 Users Gave Thanks to fossiili For This Post:
10 More Discussions You Might Find Interesting
1. Programming
Hi,
Iam calling a C program from a Unix shell script. The (C) program reads encrypted username/password from a text file , decrypts and returns the decrypted string.
Is there any way i can return the decrypted string to Unix shell program.
My shell script uses the output of the program to... (11 Replies)
Discussion started by: satguyz
11 Replies
2. UNIX for Advanced & Expert Users
Hi all,
In my application i am trying to select some text & then give it to print. for this i am opening a stream using popen & then later closing using pclose.
Now this is working fine in my environment (solaris) but the pclose function is failing at my clients m/c. Even though print is... (3 Replies)
Discussion started by: nimishm123
3 Replies
3. Programming
Hi,
I'm having a requirement where I need to call a C program from a shell script and return the value from the C program to shell script.
I refered a thread in this forum. But using that command in the code, it is throwing an error
clear_text_password=$(get_password)
Error: bash:... (24 Replies)
Discussion started by: venkatesh_sasi
24 Replies
4. Shell Programming and Scripting
Hi all,
I am very new to BASH shell programming. I need to return an integer from a function to the caller function. I did this:
but it keeps giving me wrong return:
Can someone help me out here, please?
Thanks (2 Replies)
Discussion started by: alirezan
2 Replies
5. Red Hat
Hi
Need some help, bit of a noobie here.
This command work perfectly with unix. returns a value of 1 which is what i want.
ps -eo user,comm |grep -v grep |grep -c /path to file
When i run the same command on a linux server it returns a value of 0.,
something maybe wrong with the command.... (4 Replies)
Discussion started by: wneutt
4 Replies
6. Shell Programming and Scripting
i have an oracle function which returns two values, one is the error message if the function encounters anything and another one which returns a number
i need to capture both
and pass it on to unix shell script
how to do it (2 Replies)
Discussion started by: trichyselva
2 Replies
7. Shell Programming and Scripting
Dear Friends,
I need your help once more.
I want to write a simple select as follows
select amount from books
where sr=1234
However, if value of "Amount" is negative then it should print it as follows.
"3000-" and not as "-3000"
Can you help me in this?
Waiting for reply
Anu. (2 Replies)
Discussion started by: anushree.a
2 Replies
8. Shell Programming and Scripting
Hi All,
My program flow is as below
Windows batch -- > Cygwin batch --> zsh script
There are multiple Cygwin batch scripts that are called from Windows batch file . But when i am executing the first cygwin batch script the control goes to the zsh file and executes and stoping from... (1 Reply)
Discussion started by: Hypesslearner
1 Replies
9. Shell Programming and Scripting
Hello All,
I have a UNIX script which will prepare anonymous oracle pl/sql block in a temporary file in run time and passes this file to sqlplus as given below.
cat > $v_Input_File 2>>$v_Log << EOF
BEGIN
EXECUTE IMMEDIATE 'ALTER SESSION FORCE PARALLEL DML PARALLEL 16';
EXECUTE... (1 Reply)
Discussion started by: vikas_trl
1 Replies
10. Shell Programming and Scripting
Hello All,
I have exactly same issue @vikas_trl had in following link:
https://www.unix.com/shell-programming-and-scripting/259854-control-not-returning-sqlplus-calling-unix-shell-script.html
I wonder if he or somebody else could find the issue's cause or the solution.
Any help would... (4 Replies)
Discussion started by: RicardoQ
4 Replies
LEARN ABOUT NETBSD
compat_osf1
COMPAT_OSF1(8) BSD System Manager's Manual COMPAT_OSF1(8)
NAME
compat_osf1 -- setup procedure for running OSF/1 binaries
DESCRIPTION
NetBSD supports running OSF/1 (a.k.a Digital Unix, a.k.a. Tru64) binaries on NetBSD/alpha systems. Most programs should work, including the
ones that use the shared object libraries. Programs that make direct MACH system calls will not work. The OSF/1 compatibility feature is
active for kernels compiled with the COMPAT_OSF1 option enabled (see options(4)).
To run dynamically linked programs, you will need the OSF/1 shared libraries, runtime linker, and certain configuration files found in /etc.
These are installed in a ``shadow root'' directory called /emul/osf1. Any file operations done by OSF/1 programs run under NetBSD will look
in this directory first, and fall back to the file system proper. So, if an OSF/1 program opens /etc/svc.conf, NetBSD will first try to open
/emul/osf1/etc/svc.conf, and if that file does not exist it will then try /etc/svc.conf. Shared libraries and configuration specific to
OSF/1 should be installed in the shadow tree.
Setting up /emul/osf1
The simple technique is to install pkgsrc/emulators/osf1_lib. (You may also want to install pkgsrc/www/navigator and/or pkgsrc/www/communi-
cator.)
Alternatively, if you have access to an OSF/1 machine and if the licensing details permit, you can copy the contents of:
/shlib
/usr/shlib
/etc/sia
/usr/lib/X11/locale
(The latter is required to run Netscape Navigator or Communicator.)
Also copy
/etc/svc.conf
/usr/ccs/lib/cmplrs/otabase/libots.so
/sbin/loader
Or, simply NFS mount the appropriate directories under /emul/osf1.
SEE ALSO
config(1), options(4)
BUGS
Your hostname(1) must contain a dot or your resolv.conf(5) must contain a search line. Without one of those, the OSF/1 resolver will die and
no hostname resolution will be possible.
Certain values in /emul/osf1/etc/svc.conf can cause programs to fail with ``Bad system call''.
Pathnames pointed to by symbolic links are not looked up in the shadow root when running an OSF/1 executable. This is not consistent.
BSD
November 4, 1999 BSD