A bash builtin command named “enable” to enable or disable a bash builtin command

[bash light=”true”] $command $echo $? 0 $enable -n command $command bash: command: command not found $echo $? 127 $enable command $command $enable -n enable $enable bash: enable: command not found $ [/bash] RELATED SOURCE CODE EXPOSURE [c light=”true”] /* Enable/disable shell commands present in LIST. If list is not specified, then print out a list …

Get the hang of dbus-monitor command from dbus debian package

[bash light=”true”] $dbus-monitor –session –profile | tee dbus-monitor-profile.txt #type timestamp serial sender destination path interface member # in_reply_to sig 1542567372.723960 2 org.freedesktop.DBus :1.3693 /org/freedesktop/DBus org.freedesktop.DBus NameAcquired sig 1542567372.723980 4 org.freedesktop.DBus :1.3693 /org/freedesktop/DBus org.freedesktop.DBus NameLost sig 1542567373.088315 5 org.freedesktop.DBus :1.3692 /org/freedesktop/DBus org.freedesktop.DBus NameLost sig 1542567373.088350 3737 org.freedesktop.DBus <none> /org/freedesktop/DBus org.freedesktop.DBus NameOwnerChanged sig 1542567373.088364 6 org.freedesktop.DBus :1.3692 …

Learning D-Bus

https://www.freedesktop.org/wiki/Software/dbus/ https://www.freedesktop.org/wiki/IntroductionToDBus/ https://www.packtpub.com/mapt/book/application_development/9781849519427/10/ch10lvl1sec126/time-for-action–listening-to-d-bus https://dbus.freedesktop.org/doc/dbus-specification.html https://stackoverflow.com/questions/2830858/controlling-gnome-volume-using-dbus https://dbus.freedesktop.org/doc/dbus-tutorial.html#concepts https://dbus.freedesktop.org/doc/diagram.svg https://developer.gnome.org/NetworkManager/stable/spec.html https://developer.gnome.org/NetworkManager/stable/gdbus-org.freedesktop.NetworkManager.html http://www.beautifulwork.org/wp-content/uploads/2018/11/dbus.pdf http://www.beautifulwork.org/wp-content/uploads/2018/11/dbus.docx

a look into the bash builtin command named “disown”

[bash light=”true”] $jobs -l $ping gnu.org PING gnu.org (208.118.235.148) 56(84) bytes of data. 64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=1 ttl=53 time=267 ms 64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=2 ttl=53 time=266 ms 64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=3 ttl=53 time=267 ms 64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=4 ttl=53 time=321 ms 64 bytes from wildebeest.gnu.org (208.118.235.148): icmp_seq=5 …

Hacking with Makefile for machine architecture detection

# SPDX-License-Identifier: GPL-2.0 INCLUDEDIR := -I. CFLAGS := $(CFLAGS) $(INCLUDEDIR) -Wall -O2 -g TEST_GEN_FILES := adi-test UNAME := $(shell uname -m) all: $(TEST_GEN_FILES) $(TEST_GEN_FILES): adi-test.c ifeq ($(UNAME), sparc64) $(info Machine architecture does match) else $(info exit) $(error Machine architecture does not match) endif TEST_PROGS := drivers_test.sh include ../../lib.mk $(OUTPUT)/adi-test: adi-test.c