Learn how to call MATLAB functions from the command line and return to the command line automatically.
Baeldung Author
Burak Gökmen
Here's what I've written (so far):
Baeldung on Linux
- All
- Administration (15)
- Scripting (14)
- Processes (13)
- Networking (9)
- Files (6)
- Installation (5)
- Building (5)
- Security (3)
- File Permissions (3)
- File Viewing (2)
- File Searching (1)
- File Editing (1)
- File Compression (1)
Using gdb With LD_PRELOAD
Filed under Building
Learn how to use gdb together with the LD_PRELOAD environment variable.
Checking the Details of a POSIX Message Queue
Filed under Processes
Learn how to get the details of a POSIX message queue from the command line.
Generation of Random Integers in a Range in Bash
Filed under Scripting
Learn several methods of generating random numbers within a specific range in Bash.
What Is /lib64/ld-linux-x86-64.so.2?
Filed under Building
Learn about the dynamic linker and understand the crucial role it plays in managing the shared library dependencies of a process.
Preventing strace From Abbreviating Arguments
Filed under Processes
Learn how to prevent strace from abbreviating the arguments of system calls.
Setting up GoogleTest as a Shared Library in Linux
Filed under Installation
Learn how to set up GoogleTest as a shared library in Linux.
How Is the Page Size Determined in Virtual Address Space?
Filed under Administration, Processes
Learn about the virtual memory addressing and pages in Linux and understand how to get the page size.
Signal Handling in a Multi-Threaded Application in Linux
Filed under Processes
Understand the behavior of a multi-threaded process when we send SIGINT to it and learn how to set up a specific signal handler thread.
What Are vdso and vsyscall in Linux?
Filed under Processes
Learn about vdso and vsyscall and understand their importance in speeding up system calls for user space applications in Linux.
Installing man Pages Manually
Filed under Administration, Installation
Learn two techniques for installing man pages manually in Linux.
Extracting the Raw Contents of an ELF Section
Filed under Building, File Viewing
Learn how to extract the raw contents of an ELF section, specifically the .text section.
Uncompressing a Gzipped File Without Removing It
Filed under File Compression
Learn how to extract the contents of a zipped file without removing it.
Changing rpath in an Already Compiled Binary
Filed under Administration, Installation
Understand what rpath is and learn how to change it in an already compiled binary.
UTS Namespaces in Linux
Filed under Networking, Processes
Learn about UTS namespaces and understand how they’re useful in isolating hostnames and domain names.
How to Strip Executables in Linux
Filed under Building
Learn how to strip the symbols and debugging information from binaries.
ICMP Redirect Messages
Filed under Administration, Networking
Learn about ICMP redirect messages and understand whether they should be disabled.
Checking ping Statistics Without Stopping Pinging
Filed under Networking
Learn how to get intermediary ping statistics without stopping pinging.
Setting a Password on a PDF File in Linux
Filed under File Permissions, Security
Learn how to set passwords for PDF files using the pdftk and qpdf tools.
LIBRARY_PATH vs LD_LIBRARY_PATH
Filed under Building
Understand with examples the difference between the LIBRARY_PATH and LD_LIBRARY_PATH environment variables.
Detecting Who Pings My Computer
Filed under Networking
Explore three different tools in Linux for detecting who is pinging you.
Converting dmesg Timestamps to Conventional Date and Time Format
Filed under Administration
Learn how to display the timestamps of the kernel messages in a more human-readable format.
Listing the Contents of an RPM Package Without Using the Package File
Filed under Administration, Installation
Learn how to list the contents of a package when the RPM package file is not available.
Memory-Mapped File Versus Anonymous Memory
Filed under Processes
Learn about memory-mapped files and anonymous memory in Linux.
Disabling TCP Offload
Filed under Administration, Networking
Learn about TCP offload in Linux and understand how to disable it.
Converting Static Libraries to a Shared Library
Filed under Processes
Learn how to convert several static libraries together with object files to a single shared library.
How to Add Messages to the Kernel Buffer
Filed under Administration
Learn about the kernel buffer in Linux and explore a few techniques of sending messages to it.
Breadth-First Search in a Directory
Filed under File Searching
Learn how to list all subdirectories in a directory using a breadth-first search.
Resolving the “Clock skew detected” Warning When Using make
Filed under Files
Learn what causes the “Clock skew detected” warning when building an executable with make, and understand how to resolve it.
Checking Which Processes Are Using Semaphores
Filed under Administration, Processes
Learn about semaphores and understand how to find the active ones and the processes currently using them.
What Does mdev Mean in ping Statistics?
Filed under Administration, Networking
Learn about mdev in the ping statistics and understand the effects of a high standard deviation of round-trip times.
Extracting the Contents of an RPM Package Without Installation
Filed under Administration, Installation
Learn how to extract the contents of an RPM package without installing it.
Augmenting the Default Search Path for Python
Filed under Scripting
Learn how to augment the default module search path for finding Python modules.
How to Check PDF Metadata in the Linux Terminal
Filed under File Viewing
Learn how to check the metadata of a PDF document from the command line.
In What Order Do Piped Commands Run?
Learn about pipes and understand in which order piped processes run.
Fixing File Permissions in a Directory Recursively
Filed under File Permissions
Learn how to fix the file permissions in a directory recursively.
Listing Symbolic Link Chains
Filed under Files
Learn how to list a chain of symbolic links in Linux.
Automating ssh-copy-id
Filed under Security
Learn how to automate the usage of ssh-copy-id using the sshpass command.
How to Retry a Failed Command in Shell
Filed under Scripting
Learn several methods for retrying an unsuccessful command in the shell.
Send a Message to the Systemd Journal From the Command Line
Filed under Administration
Learn two different methods for sending messages to the systemd journal from the command line.
Running a Docker Image as a Container
Filed under Administration
Explore several methods for running a Docker image as a container.
Check Whether a MySQL Database Exists Using Shell
Filed under Administration, Scripting
Learn different methods for checking the existence of a MySQL database from the command line.
Passing Multiple Parameters to a systemd Service
Filed under Administration
Learn four different methods for passing multiple parameters to a service managed by systemd.
How to Create a Random Human-Readable Text File in Linux
Filed under File Editing, Files, Scripting
Learn four methods for generating a human-readable text file with random content in Linux.
iptables – Multiple Source IPs in a Single Rule
Filed under Networking
Learn how to specify multiple source IP addresses in a single rule in iptables.
Explanation of the Archive Mode in rsync
Filed under Files
Learn about the archive mode of the rsync command and its -a option.
Creating UUIDs in Bash
Filed under Scripting
Learn multiple techniques for generating random-based, time-based and hash-based UUIDs in Bash.
REJECT vs. DROP When Using iptables
Filed under Networking, Security
Understand the the differences between the DROP and REJECT rules when using iptables in Linux.
Differences Between Single and Double Brackets in Bash
Filed under Scripting
Learn the differences between single and double brackets in Bash and understand when and how to use them.
Setting the Processor Affinity of a Process
Filed under Processes
Learn two different methods to bind a process to a specific set of processors in Linux.
Waiting for a File in a Shell Script
Learn two different methods to detect the creation of a file in a shell script.
The arping Command
Filed under Networking
Learn about the arping command in Linux, understand its various options and how to use them with several examples.
Copying Symbolic Links With rsync
Filed under Files
Learn multiple ways for copying symlinks using the rsync command in Linux.
Running a Script That’s Not Executable
Filed under File Permissions, Scripting
Learn two different ways to execute a shell script that isn’t executable in Linux.
Differences Between the return and exit Commands
Filed under Scripting
Learn the differences between the return and the exit commands in Linux using several examples.
Getting the PID of a nohup Process
Filed under Processes
Learn how to get the PID of a background process started with nohup.
Redirecting the Output of the time Command
Filed under Scripting
As the time command does not output to stdout, redirecting its output to a file is a little more complex than other commands. We look at a few ways to capture the output if this command in scripts.
Hiding User Input in a Bash Terminal
Filed under Scripting
Different ways to hide user input in Linux scripts.
The Exit Status of Piped Processes
Filed under Processes
Learn several ways of getting the exit status of commands that are piped to another.