16

The Link Editor Command Language appears to be described in the AT&T UNIX™ PC Model 7300 Unix System V Programmers Guide, chapter 17: The Link Editor. I found a copy of the Programmer's Guide (pdf) at http://www.tenox.net/docs/. The relevant section is on page 524 of the linked .pdf.


7

I got the impression that others seem to have problems in getting this running, too. Seems like starting with Debian 8.0 (Jessie) systemd breaks compatibility to System V init. So here it was suggested to create a systemd service instead. The solution is used here and looks like this: [Unit] Description=The te1 script [Service] Type=oneshot ...


4

You need to task ps to show thread information; otherwise it only lists processes: ps -eL -o pid,tid,comm | awk '$1 != $2' will show all the threads, apart from each process’ main thread, i.e. entries in the process table where pid and tid are different. The significant option is -L: without that, ps will only list entries where pid and tid are identical. ...


3

/etc/systemd is for user defined services. The default location for system defined services is /lib/systemd/system/. You can overwrite system defined services in /etc/systemd. For more information about systemd either have a look at the fedora wiki page for systemd or have a look at the systemd documentation


2

I'm not sure which version of System V you're using, nor which version of ksh, but it's possible to change the completion key to Tab with ksh93 (not with ksh88, though, I believe). Depending on age, these in your ~/.profile may do it: set -o emacs bind bind "^I=complete" See this thread for more info.


1

The daemon() shell function from /etc/rc.d/init.d/functions on RHEL/CentOS 6 is not an exact equivalent of Debian's start-stop-daemon. The fact that all of these van Smoorenburg rc tool libraries have subtly different helper command sets is one of the well-known problems with van Smoorenburg rc. You're using CentOS 7. You have systemd. Write a systemd ...


1

Not from the command line, but perhaps from another initialization script. In the bad old days, a command like $ sudo bash -c "find / -xdev -type f -print0 -size -1M | xargs -0 grep rsyslog" or, more likely $ sudo bash # find / -xdev -type f -print0 -size -1M | xargs -0 grep rsyslog will go through all the files on the system looking for plain files ...


1

The Xinuos page hosting the System V generic ABI states that The contents of these chapters is being actively maintained (in part) through an industry committee chaired by Intel. This group's efforts are greatly reduced from when they first were extending ELF to support 64-bit architectures, but there is still some active development. (Xinuos was formed ...


1

According to wikipedia System V was preceded by System III, a release of UNIX/TS 3. Since there were no official release of UNIX/TS 4, System III was superseded directly by System V.


1

I've used qemu + QEmu Monitor to mount floppies and read the raw data with dd. Write your file one floppy at a time with dd or split: Note: You may need to split into volumes of 1474560 (that's what /dev/rdsk/f03ht seems to be). You can optionally try to use compress as well. # Archive the files you wish to send using `tar` (supported on SYSV). $ ls -la ...


1

Are you sure about your figure? I was thinking that a 1.44MB floppy was a disk composed by 80 tracks, each track containing 18 sectors of 512 bytes and that you can write on the two sides. The 1.2MB got only 15 tracks. So based on this logic, you have (80 * 18 * 2) == 2880 sectors on 1.44MB floppy and (80 * 15 * 2) == 2400 on 1.2MB floppy. I'm not sure if ...


1

The question is solved: with ksh93 is possible to change completion key, but with ksh88 it's not possible


1

Deja Vu. Sudo is an interactive program requiring you to provide a password in order to run a command as root (or another user) if you have not recently put in your credentials. The rc.local script is not attached to your console, so you never see it asking for the password. The rc.local script is also already running as root, so you should remove the ...


1

I think your best bet, is to write a program that calls ftok, in order to obtain the key, something like: #include <stdio.h> #include <stdlib.h> #include <sys/ipc.h> int main(int argc, char **argv) { unsigned long long key; if (argc != 3) { printf("Usage %s: [path] [id]\n" ,argv[0]); return 1; } key = ftok(...


1

AFAIK, service relies on an init script being present in /etc/init.d. distccd may not have come packaged with an init script. Try the following to start the service as a daemon: distccd --daemon If that works, you can create your own script at /etc/init.d/distccd that fires the above command, then you'll be able to treat it like a system service with ...


Only top voted, non community-wiki answers of a minimum length are eligible