How to convert SSH public key from PEM to DER format?


How to reformat sequence numbers in a batch of filenames, e.g. A1.txt to A0001.txt?

How to mass rename files with ill-formed numbering?


Using sed to extract text between two strings

Extracting a regex matched with 'sed' without printing the surrounding characters


Cannot tunnel over ssh without command/getting shell

Permanent background ssh connection to create reverse tunnel: what is correct way?


what is difference between l and ls commands

l, ls & la -- what are the differences, and are there more of these commands?


Is the double dash still the posix standard for long switches?


Bash: Why does this Brace Expression work this way?


Accidentally made a directory "~" in a subdirectory

Need to delete a directory with name '~' created accidentally


linux + .bash_profile + correct PATH syntax

$VAR vs ${VAR} and to quote or not to quote


Bad substitution trying to rename extension

Is it possible to use `find -exec sh -c` safely?


What exactly is terminal? What is shell?

What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?


Why does my command: "rm -rf *" not delete all the files in a directory?

How to remove all files in a directory except hidden ones?


saned accepting scans initiated on scanner/MFP


Is it possible to get the information for a device tree using /sys of a running kernel?


ssh-keygen : generate public key from private key?

Given a private SSH key, how do I recover my public key?


How to make installation of linux programs easier?

Why isn't there a truly unified package manager for Linux?


check if there is a link from the current file

How do I see what symlinks exist for a given directory?


Is it possible to define "special permissions" by default with the umask command?


Curl a string with whitespaces and characters in it?

Why does my shell script choke on whitespace or other special characters?


Correct ssh config file settings to tunnel to a 3rd machine


How to pass through USB device to guest VM? What are "hostaddr", "hostport" etc?

Can I pass through a USB Port via qemu Command Line?


Copying current command line to clipboard


How to properly install missing firmware during Debian setup

How do I install "non-free firmware" (wifi driver) from USB? (Debian)


I added a user to a group, but group permissions on files still have no effect


how to set staitc ip using bash script centos

how to set static ip from bash scriptlinux


Grep for dates older than 14 days in a file

remove lines that is newer than the given date in a file


Why does `clear` create that much whitespace on top in the macOS Terminal.app?


Force bash to respect newlines in command output

Output from ls has newlines but displays on a single line. Why?


How do I create an icon shortcut in the linux - Centos navigation system?

How can I add an application to the GNOME window manager?


Break down a large folder into multiple subfolders by sequential names

How can I move files into subdirectories by count?


How does an SSH connection become inactive?

What is the default idle timeout for OpenSSH?


32-bit compatability environment in Linux Mint 19?

How do I run 32-bit programs on a 64-bit Debian/Ubuntu?


How do I find out how my currently Linux kernel was configured

Where can I find the kernel configuration on each Linux distribution?


How can i set permision folder in ubuntu

Permissions issues for shared directory on a server


How to use less in a script without getting ESC escape characters?


Compare columns in 2 files and put information according to file 1

intersection of two files according to the first column


Grep line after/before -A/-B substitution in AIX

Is there any alternative to grep's -A -B -C switches (to print few lines before and after )?


Does the Linux kernel have knowledge of bind mounts?


Keep processes running after SSH session disconnects


Using an if statement to see if files are in a folder using a wildcard

How to check if a glob has an expansion?


Processing a single file as both input and output throughout pipes

Why does the command shuf file > file leave an empty file, but similar commands do not?


Disable mouse (not touchpad!) in Xorg while idle


How to release keyboard and mouse from grab by a hung unkillable app?

Command for forcing a pointer ungrab (captured mouse release)


awk: detect content separated by arbitrary character instead of spaces?

extract the 4th column from a csv file using unix command


Split file into multiple files based on pattern

Splitting text files based on a regular expression


Sending HTML using mailx with postfix 2.6.6 and centOS 6.4

How do I send HTML email using linux 'mail' command?


What is the difference between the "jessie" and "jessie-updates" distributions in /etc/apt/sources.list?


can i use .bash_profile to create an alias which copies text from a file?


Unable to move files having spaces in their name

Why does my shell script choke on whitespace or other special characters?


Is it possible to get a decimal output from doing division in Bash?

How to do integer & float calculations, in bash or other languages/frameworks?


Bash regular expression pattern matching spaces, within double brackets test, using "~=" operator


Return permission in number form of file/ directory

How to get permission number by string : -rw-r--r--


How to recover deleted files in Ubuntu 14.04


Output the common lines (similarities) of two text files (the opposite of diff)?


How can I do this command on linux some (sort -u command)

Is there a tool to get the lines in one file that are not in another?


Pipelined Sed does not work on found filename inside Bash command substitution when invoked from Find "-exec"


How to convert an input parameter to integer value in a for loop in bash?

How can I use $variable in a shell brace expansion of a sequence?


VitualBox not detecting my USB devices with a linux host

How can I enable access to USB devices within VirtualBox guests?


How can I make a modification to a .service and keep it persistent?

Where to place user created systemd unit files


How to escape [ bracket while using sed command?

How to ensure that string interpolated into `sed` substitution escapes all metachars


How to properly add governors to a CPU's scaling_available_governors on Linux

Can't use "userspace" cpufreq governor and set cpu frequency


How to redirect stdin and stdout and stderr at the same time in bash?

What are the shell's control and redirection operators?


Assigning value to array at certain index

Spaces in variable assignments in shell scripts


find all files containing all specified words

Find files that contain multiple keywords anywhere in the file


CentOS 7.0 - what kernels can i install ? yum does not show all


Perform floating point arithmetic in shell script variable definitions

How to do integer & float calculations, in bash or other languages/frameworks?


Why is my sudo PATH different than my normal user PATH?


How to install firmware without internet connection (debian 9 live)


Replacing variables in files with value from another file

How to perform replacements defined in one file on another file


A special character is added to my input every second, messing up my commands and passwords

^@ spam in tty (but seems to be system-wide)


sed couldn't flush stdout no space left on device?

sed in-place line deletion on full filesystem?


mkdir: cannot create directory: No such file or directory

Why doesn't the tilde (~) expand inside double quotes?


How to upgrade rkhunter to most current version?

Better latest version or the package for rkhunter and chkrootkit?


bash 4.3 "multiple dot" commands fails silently on Fedora


Why does echoing $? vary differently when running in this script?

Difference between ' and " on command line (bash)?


How to find files that contain one criterion but exclude a different criterion


What is the best way to read files that have dash `-`


How to move files specified in a text file to another directory on BASH?

move file by list in file (with leading whitespace)


Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?


How can I use ifuse command in a bash script?


Need to remove a specific column in a CSV


Can a program continue to work on an opened file after it is moved by another program?

How do open files behave on linux systems?


Combine command output along with the input

How can I send stdout to multiple commands?


How to change files creation time? (touch changes only modified time)


Extracting last ten characters of a string (e.g., file name) inside a parameter expansion

Use parameter expansion to modify output of another expansion


How to start and stop the Apple's Swift based productive server (program written by me) on Ubuntu linux?


Getting user input from script used as stdin for SSH session

Run local script with local input file on remote host


How to store output of awk to array with empty string on null values?

How to split the output and store it in an array?


how to add command with new line in the variables?

Why does my shell script choke on whitespace or other special characters?


Wifi connected but no ping (narrowed down to Ethernet interface somehow interfering with Wifi functionality)

How to set a routing table that prefers wlan dhcp interface as default route?


Select a random file from the file system


/bin/sed: -e expression #1, char 56: unknown option to `s'


xmllint usage - having a hard time getting xml attributes


Can I pipe colorized cat (ccat) in less?

How do I pipe colored diff output to less?


My Makefile is empty but make is running some old commands

How does this Makefile makes C program without even specifying a compiler?


How do I write a function that has a double colon in a string without my current directory showing up in the string?

Error with environment variable expansion in ZSH


bad hour errors in crontab file, can't install


Shell Script for logging into a ssh server


how to replace a character in a set of file names?

How to replace one char with another in all filenames of the current directories?


How to understand what's taking up disk space?


Systemd - set service disabled by default

How do you set a program as a service in Linux (Debian) but have it switched off by default?


Replacing commas in text file with vertical line, except for in quotes


Sort files with a specific extension by modified time and store them into an array


Change console font in arch linux to ttf

Ubuntu Server, set terminal font to a custom ttf font?


Use & (ampersand) in single line bash loop


How to use grep for finding file location in linux machines?

How to find a file in the filesystem from the command line?


Why do files become 'invisible' when execution permissions are revoked?

Execute vs Read bit. How do directory permissions in Linux work?


Why can't I kill the shell using the PID obtained from the $$ special variable?


CronTab is not working in Ubuntu for image compression job : "/bin/bash^M: bad interpreter: No such file or directory"


Why does my shell script choke on whitespace or other special characters?


How to change a single line in multiple files

How can I replace a string in a file(s)?


What are the very fundamental differences in architecture between Unix and Linux?


How can I multiply a column by a variable and write out?


how to remove a multilined string/block of text pattern from a file?

How can I use sed to replace a multi-line string?


Are there any differences between Gnu sed's "i text" and "i\ ...." commands?

Extra Backslash Required in First Appended Newline in sed


What does ",,," mean in the 5 column in /etc/passwd file?

Where can I find a reference to the format of the comment field (field 5) of the /etc/passwd file?


Bash - reverse order of curly bracket resolution

Apply brace expansion in "reverse order"


Bash, export, "-n" for simple command concatenation drops the '-n'


Capture bandwidth usage from remote machine across time

How to gather full network usage statistics on a freebsd router?


UID/GID mapping for external storage across different POSIX systems

Can I port user permissions across computers for an ext4 external hard drive?


I am creating directories using shell script and i am using 'chmod g+s' permission on the directory but the recursive permission is failing

See permissions for new files on a given directory


How to remove all matching pattern except the top one in sed?

Remove entire row in a file if first column is repeated


How to delete part of a binary file without copying

Best way to remove bytes from the start of a file?


What's the difference between semicolon and double ampersand &&

What are the shell's control and redirection operators?


How to define a variable on Debian 10 command line?

Spaces in variable assignments in shell scripts


How can I enable access to USB devices within VirtualBox guests?


How does `ls` know whether it's piped or printed

ls command operating differently depending on recipient


Why are bash tests so picky about whitespace?


Access variables set inside command substitutions


How to change configuration of eth0 without restarting other interface (CentOS, Redhat)


How to move system clock time forward/backward?


Quotes are being treated differently in backtick output

How do I use find when the filename contains spaces?


How can I prepend the value of a variable to a column in bash?


How to pipe bash completion suggestions?

How to output string completions to stdout?


Is Basic Regular Expression same as pathname expansion in shell?

Why does my regular expression work in X but not in Y?


How to zip multiple directories into individual zip files

command to zip multiple directories into individual zip files


Jenkins pipeline: scp tries to copy to other remote, Host key verification failed

host key verification failed when I use scp


"tail -f" show old file after file has been rotated

How to do a `tail -f` of log rotated files?


How can I pass a filename containing percent signs (%) as a parameter to a shell script in cron?

How can I execute `date` inside of a cron tab job?


What does `mv ./*` without specifying destination do?


Linux: remove file*..but not file1 and file2


Automatically run commands over SSH on many servers


Check data integrity after copying thousands of files

Verifying a large directory after copy from one hard drive to another


How can I reproduce commands run on one machine on another machine?


Sending two text files with mail command - No -a support

Trying to send multiple text attachments via mail message


How to check whether a particular directory is mounted?


ziping all files in a folder without all directories

Zip folder without including path to folder and require only one argument


Remove duplicate fields in a given column (after ID check)


Add AD users to sudo group not working | CentOS 6.7


aliasing a slightly complex script on Linux/bash

How can I create an alias for a git [action] command (which includes spaces)?


How to automatically scroll to requested command when the "General Commands Manual" is shown?

Can I get individual man pages for the bash builtin commands?


How can I change a user's default group in Linux?


The stars returned from traceroute commands

traceroute gives only stars + how to fix


Problems copying files with spaces inside the file name in a bash script

Why does my shell script choke on whitespace or other special characters?


How can I run a GUI on my server through SSH?

Is there a way to communicate with someone at their desktop?


Difference between AIX and other Unix flavours

How to run a fresh version of AIX in a Virtual Machine with a Linux host?


why process running in kernel mode cannot be preempted

What is the difference between Non-preemptive, Preemptive and Selective Preemptive Kernel?


Where should a local executable be placed?


Catch unexpected input on single character read in bash


Cronjob executes `/usr/bin/python` but not `usr/bin/xrdb`

Open a window on a remote X display (why "Cannot open display")?


Is there a content search program/port (*not* index based) that's efficient for files needing text extraction filters


Permissions to a script in a folder acting weird

Can a script be executable but not readable?


Why does phpmyadmin require a kernel update...?

how to upgrade a single package in debian


How to access the output of a process after the terminal was closed

How can I disown a running process and associate it to a new screen shell?


Get exit code from preceding command before pipe

Get exit status of process that's piped to another


I Can't login as root with su command, but I can with SSH


Disable Root Password Login... but can I SUDO with a GUI SFTP program?


How to sync two folders with command line tools?


kill -9 cannot kill process with parent PID = 1


appending into middle of a string using sed

How can I use variables in the LHS and RHS of a sed substitution?


What are the benefits of doing pvcreate on a partition instead of on device?

The merits of a partitionless filesystem


Why does uniq think あい and いあ are the same?

Where has my `uniq` or `sort -u` line gone, with some unicode characters


I need to read every line, and to create an empty file after reading each and every line

How do I create files using the lines in a .txt file?


How to copy and paste in nano editor with mouse enabled?

How to disable mouse support in terminal?


Search string per file once and print the file name

List the files containing a particular word in their text


Why does my shell script choke on whitespace or other special characters?


How to manage large file manipulation without free space?

Append huge files to each other without copying them


Ubuntu Software updates error on 12.04 LTS version

Unable to update my system Ubuntu13.04: Getting message - requires installation of untrusted packages


Best way to set enviroment variables for all processes

What's the best distro/shell-agnostic way to set environment variables?


Will 'at' command be executed after the reboot?

Does at scheduled tasks remain after reboot?


uname -r and available linux-headers- packages do not match


Why does this compound command {...} not exit on error, when used with ||?

Bash script with `set -e` doesn't stop on `... && ...` command


Is there a way to compare two nucleotide sequences in Linux via command line tools such as diff


How to swap order of extensions of matching files?


can't ssh into remote host with root, password incorrect


How to check the logs to see what process created a file?

Is it possible to find out what program or script created a given file?


Use keyboard shortcut automatically in nano?


Why is usb-drive not visible with `lsblk` after having been ejected from Thunar?


Replace a string with sentence containing multiple newline characters

How to ensure that string interpolated into `sed` substitution escapes all metachars


Finding a man page with a standard C or POSIX type?

Tricks and tips for finding information in man pages


What am I doing wrong with my linux commands?

Set the default permission when creating a file


getting issue while using sed with variable in shell script

Why am I getting "line 1: $' :\r': command not found"?


Compare two logs line by line and show differences and if the order of words from a line are not the same


Linux - Why are my core IDs not consistent?


Append to global variable inside a loop?

In bash, read after a pipe is not setting values


Why do I need curly braces when using a variable in some versions of sudo -i?

Why does `sudo -i` but not `sudo` remove newline characters?


Issue while installing driver for Archer T4U AC1300 on Mint 17


compare first column of 2 file : while second have 2 column but first have one column

If column matches another file, print every line with match (awk/grep)


How to get the complete and exact list of mounted filesystems in Linux?


Running a script when users connect through ssh


why is everything heavily responding while transferring data to a 32GB USB stick?

Why is my PC freezing while I'm copying a file to a pendrive?


How do I forward an X11 window as a webpage?


i3wm: How to move workspaces between monitors?

i3wm: How to move windows between monitors?


Extracting lines that has match in the first column?

comparing 1st and 3rd column value in two files


How to redirect stdout and stderr in different files

How to redirect stderr and stdout to different files and also display in terminal?


How to Group Commands After '&&' or '||' Branch and Not Invoke Subshell Variable Restriction?

bash if not multiple conditions without subshell?


How to use the man command to navigate to specific sections of the manual?


configure ToggleShowDesktop in Openbox to only act on specified layer


Replacing *any string* dynamically with POSIX shell

How to ensure that string interpolated into `sed` substitution escapes all metachars


How to remove lines included in one file from another file?


What is the default /etc/inittab file on a fresh install of Debian Jessie?


Command substitution, assignment, tests and spaces

Why do I need to quote variable for if, but not for echo?


Ubuntu - Root user cannot see $JAVA_HOME variable expanded to $PATH

Variable expansion did not happen in /etc/environment


How to take control of existing terminal programs via ssh (cmus)

Stealing and reattaching a running process


How do I copy a file without pasting immediately from terminal?

Clipboard for copying and pasting files in command line?


Understanding the -exec option of `find`


when /proc/cpuinfo begin to update all the time, especially the field "cpu MHz"?

What does "cpu MHz" field mean in the /proc/cpuinfo of a hyper-threading cpu?


"Open Containing Folder" not using the file manager

Set standard file browser for "open containing folder"


What does the argument " +x " means in Unix? (Regarding permissions)?

Understanding UNIX permissions and file types


How do I create a dd IMAGE from LVM for recovery purposes


Moving all files in a folder to another folder without moving the subfolders

Linux command line. Move all files and directories in directory, except some files and directories


when i used sed -n ,why this err about sed -n ' $j,4800p'


How to pick oldest file in a folder from directory

Bash script to remove the oldest file from from a folder


Can I open terminator with one windows with bash and another with fish?

How to open terminal, split to 9 terminals and switch between them using one script?


How to stop "tail -f" within a running script?


Can you unwrap an image prepared for Uboot using mkimage?


What are these memory strings? What do they do?

Which parts of an ELF executable get loaded into memory, and where?


Why does `ps -e | less` show 'less' among processes?


In a remote shell, how can I find out from which computer I logged into the remote machine?

How to find from what computer I connected to a current server


Recursively move files with different names and different extensions

Finding all .cpp and .h files and moving them to ~/junk


Available space not changing when resizing a partition


GTK3 Widgets Rendered Badly, Depending on Theme


Delete everything before "/" on every line


How does head stops cat in following command : cat /dev/urandom | head -c 10

In `dmesg | head`, (how) is dmesg being killed after 10 lines of output?


Centos, uploaded files from application have different owner and group

Getting new files to inherit group permissions on Linux


Why does this ssh command not work? (cat ./file | ssh <user@host> "cat | sudo -t -t 'cat > /root/location/file'")


How to know the path of a yum repository?

Other than via configuration in /etc/yum.repos.d, where else can a repository be configured?


Why isn't execute permission needed to source a file?

Why does Bash's source not need the execution bit?


How can I remove a directory of many files quicker?

What's the fastest way to remove all files & subfolders in a directory?


Combining a parameter argument inside an echo

Creating an autorized, all privileged user and an identically named DB via CLI (Bash) in one row


Change date and time format from csv file without using date -d


How to run shell script in background while start On CentOS?

What are the shell's control and redirection operators?


create unix alias for "ssh username@", and I would like to use it for any ipaddress.

In Bash, when to alias, when to script, and when to write a function?


Difference between passwd and passwd- file


How to make a bash script run all the time

How to run a command when a directory's contents are updated?


How to set an alias for a specific file or directory?


Can't take a proper screenshot with shutter


How to display only third match of Find statement?

How to stop the find command after second match?


Who changes the foreground process group of a terminal?

Shell's process group ID = foreground job's process group ID?


Is it possible to blacklist a built-in kernel module?

How to block drivers built-into Kernel, i.e. drivers who are not a module


How to curl and unzip to a certain directory?

How to redirect output of wget as input to unzip?


Why does Linux based OS creates . file same directory and .. file in it's sub-directory? How does it work?

When you type "ls -a", what is the significance of "." and ".."?


What is the best method to test if a program exists for a shell script?


Do GUIs represent a type of separate shell?


How to make the command in /etc/profile be found?

Difference between Login Shell and Non-Login Shell?


Sed. Change the characters in a string that satisfying a pattern

How do I replace characters only on certain lines?


How could I get a list of the shells in my operating system?

How to find list of available shells by command-line?


How can I assign the output of a command to a shell variable?


Why does Linux show both more and less memory than I physically have installed?


Why does my shell script choke on whitespace or other special characters?


Echoing a string in bash with brackets surrounding it returns 'b'


Where is the source repo for Debian utilities?

How to know the source repository of a package in debian?


What does $_, and $0 represent in sourced bash?


What is the difference between reboot , init 6 and shutdown -r now?


How can I use variables in the LHS and RHS of a sed substitution?


Which parts of a Linux system does locate index or not index?

Do some file get excluded from being saved in the locate database?


Symbolic Links - What determines the maximum number?

Can I run out of disk space by creating a very large number of empty files?


Is it possible to save hibernation state in linux?


Find files that contain a string and do not contain another

How to find files that contain one criterion but exclude a different criterion


:How to install a package behind an overly restricted firewall

Install programs without an internet connection on Debian


Is there a way to show only uncommented lines in a text file/script?

How can I "cat" a file and remove commented lines?


How to refer variable defined in sub shell in parent shell

How to make a variable from a subshell available in the parent shell


Xterm does not display unicode character

How to make the login shell xterm use utf-8?


How to mount a backup ext4 superblock? I got an error when following instructions

Data recovery from an accidental format on ext4 partition


Concatenate specific files into one single file


In subshell how do you get its process id?


How to Delete All the Files in the Current Directory Except the Last Two

Delete files except n files with the "bigger" name?


Running multiple commands for multiple files on one line

Piping contents of multiple files between programs while keeping contents separate


zsh scripting - How do I NOT match a pattern in filename generation?


Bash: Why doesn't * return empty string in case of no match


how to give custom filenames when executing split command in unix?

Split a file by line and have control over resulting files extension


how to remove the double quotes in a csv

Replacing underscore by comma and removing double quotes in CSV


Is there a way to pipe to a visual editor and then continue the pipeline?

How to invoke vim editor and pipe output to bash


how to scroll multiple lines in zsh screen completion

How to repeat a zle widget an arbitrary number of times when the completion menu is open?


Appending variables with quotes and space in bash

Why does my shell script choke on whitespace or other special characters?


Unix systems without /dev/stdin, /dev/stdout, and /dev/stderr?

How portable are /dev/stdin, /dev/stdout and /dev/stderr?


Pulseaudio as system-wide systemd service


Upgrading Apache from 2.4.6 to 2.4.41 on Centos 7


How to rename all the files in a directory to a particular format?


How can I plot disk io per process over time

Getting disk i/o statistics for single process in Linux


how to get list of all processes accessing a shared library

How do I detect running processes using a library package?


How to copy authorized_keys to another user on linux?


Renaming files works, but soft links point to the old names. How can I fix that?


How can I get the current working directory?

How can I assign the output of a command to a shell variable?


How to change hostname on Linux and make it appear on a network?

How to make a machine accessible from the LAN using its hostname


How to make a backup of the data in my Laptop?

Easy incremental backups to an external hard drive


How can I disown a running process and associate it to a new screen shell?


command not found and syntax error near unexpected token


Replacing white-space / characters with backslashes

Why does my shell script choke on whitespace or other special characters?


Linux why do i have to run commands instead of running the bash file

How can I make environment variables "exported" in a shell script stick around?


Command substitution inside a function does not stop the script on a failure even if -e is set


Get the chmod numerical value for a file


How to run privileged bash script as non-root?


Is there a way to backup and restore ACL file and folder permissions on linux the way that there is using icacls in Windows?


How can I expand a terminal using the command line?

How to maximize a window programmably in X Window?


Recursive grep vs find / -type f -exec grep {} \; Which is more efficient/faster?


-y in Linux for example dnf -y install samba

What does the "-y" do in "yum -y groupinstall gnome"?


What is the difference between (cp f1.txt f2.txt) & (less f1.txt > f2.txt)


Replace string in a file with another where both are saved in variables

Replace a string in a text file using a shell script not working properly


sed display line number and add / remove comment

replace a string with sed from specific lines


Not getting the desired output for echo command

Redirecting stdout to a file you don't have write permission on


Is it possible to find out what program or script created a given file?


How to list directory names that do not contain a certain filename?

How to find missing files between specific date range?


What is the difference between reboot , init 6 and shutdown -r now?


`command` vs `type` - Locate program file in user's PATH


Why would the size of /proc/stat show as zero?


What does "execute" permission mean on a folder?

Execute vs Read bit. How do directory permissions in Linux work?


How to make bash put prompt on a new line after cat command?


How to search with GNU find for several file types at a time?


How to customize Linux without sudo/root access?

How to install program locally without sudo privileges?


Compare two files and get unmatched rows from the second file based on first and second column

Using Diff on a specific column in a file


How to compile programs on Linux systems when I don't have sudo privileges to install the dev dependencies


Rename a file dynamically containing spaces

Why does my shell script choke on whitespace or other special characters?


Script to add balise [img][/img] on each line of text linux?

Add prefix and suffix to every line in a .txt file


Could the compile procedure be the real difference between Red Hat EL and CentOS?


Split a file into multiple based on selected lines


Bash converting path names for sed so they escape

How to ensure that string interpolated into `sed` substitution escapes all metachars


Terminal is not opening in Linux after accidental permission overwrite


How do I prevent less from clearing the screen on exit?

Is there a way to redirect a program's output and still have it go to stdout?


Is there any way to exit "less" without clearing the screen?


Handling comma in string values in a CSV file

Is there a robust command line tool for processing csv files?


id command doesn't show all user's groups

I added a user to a group, but group permissions on files still have no effect


How to assign words with spaces as a whole name to variable in shell script?


A virtual file containing the concatenation of other files


Why does my shell script choke on whitespace or other special characters?


BashScript works from Terminal but not from CronTab


Backup and Sync from Linux to a WSL live (per each change)


Escaping both forward slash and back slash with sed


How to use a shell variable inside sed's s command?


Unix Useradd - Audit list of users added to system


Use Find-command to filter out files with specific pattern to terminal

How do I remove "permission denied" printout statements from the find program?


Why do I get these FS shutdown errors with a loopback installation of Ubuntu on NTFS?

Ensure that loopback root and host are unmounted on shutdown


Control what can connect to systemd's rpcbind/portmap service (port 111)

Fedora 25 and disabling whatever is listening on port 111


how to move or copy specific file quantities to other directory

How to move 100 files from a folder containing thousands?


Execute vs Read bit. How do directory permissions in Linux work?


not able to use local variable outside the function after exporting

Piping for loop output prevents local variable modification


Find wildcard search not working in /etc


Purpose of '&& bash' in a command (not the '&&' part, the 'bash' part)

What are the shell's control and redirection operators?


Can't restart the network service on CentOS

network.service Failed to start LSB: Bring up/down networking - Centos 7


How to get fix fork bomb. :(){ :|: & };:


How to find commands associated to a package?

List all commands of a specific Debian package


REOPEN: Perform arithmetic expansion inside parameter expansion?

Double and triple substitution in bash and zsh


Quoting within $(command substitution) in Bash


How to send data to a serial port and see any answer?


How to determine what block device (/dev/sd* or UUID) a particular file is on

How to find what device a file is on (and use that in a script)?


Why does "du -b" show a different size than "right click" ⇨ "properties" inside file browsers?


Imaging an iso in a certain partion of usb-drive to make it bootable and Windows-compatible storage


Shell script to copy list of files with spaces


Use sed to find and replace a string in multiple files


How can I prevent 'grep' from showing up in ps results?


Bash - get string containing spaces in for loop

How to rotate all images in a directory with imagemagick?


Why doesn't the '?' regex character produce a match in sed?

Why does my regular expression work in X but not in Y?


'set' command not working on tcsh shell when called explicitly

'setenv' command not working on tcsh shell when called explicitly


Unix command to tell how much RAM was used during program runtime?


Unable to remove the $ sign named files using linux?

How do I remove a file I accidentally created named $file?


How to use wc and piping to find how many files and directories are in a certain directory?


Why are two ^D presses necessary to exit `cat`?


How to convert pdf to an open text format in a fast way?

Is there some sort of PDF to text -converter?


What is the difference between ps -ef | grep WDA and ps -ef | grep [W]DA?

grep - why do brackets in grep pattern remove the grep process from ps results?


Disabling PRIMARY or cut buffer "copy on select"

How to toggle or turn off text selection being sent to the clipboard


What is the correct start offset for logical partitions?

why does fdisk add one additional sector when creating partitions?


Kali Linux: apt update returns "Hash Sum mismatch" error


How to grep standard error stream (stderr)?


Pad number within string and rename file

Padding a number in a filename to a fixed length


how to change colors of my ps1 root terminal permanently

How to change the color scheme of the prompt based on user?


How to Limit ContentMatches of Grep in List?

What command(s) will feed a tab-delimited text file and cut each line to 80 characters?


Catch number of syntax errors in shell script

How can I test for POSIX compliance of shell scripts?


Asking your script to accept arguments which contains whitespace

Why does my shell script choke on whitespace or other special characters?


How to stop the tail when sed finds the string?

tail a log util keywords found or timeout


Replacing regex matches in one file with lines from another file

How to replace text between quotation marks with something from another file?


Changing the first letter after ] to uppercase

How to make the first character following a semicolon uppercase, for each line of a text file, using terminal


Is there a way to use apostrophes in sed commands?


How can I use variables in the LHS and RHS of a sed substitution?


Why the default eth0 interface is down by default on CentOS?


CentOS web server move hdd to another computer


How to save the dynamic input from command line to a file in the same format as input using Shell script


Should I quote variable when passing to command?


Split line into key-value pairs based on first string


Why bash strips new lines on command substitution/function assignments?

Why does shell Command Substitution gobble up a trailing newline char?


Trouble with unzipping files - Argument list to long


How to deactivate num lock on Xubuntu on MacBook?


Pass a linux variable into oracle script


How do you append corresponding lines in one file to corresponding lines of another file

How to interleave the lines of two or more files?


How can I make sudo discard all environment variables?

how to: Please sudo, do _not_ setup any environment, especially $SUDO_USER?


Bind9 named Got recursion not available from 192.168.1.100, trying next server

Why do DNS queries fail if the first nameserver is not recursive?


How to execute TMUX commands on a remote server when I have TMUX running locally too?

How to quickly send commands to nested tmux sessions?


Output the common lines (similarities) of two text files (the opposite of diff)?


Pause a process and bring it back to foreground in a separate screen in Ubuntu

How do I attach a terminal to a detached process?


Is there a method to find the command time ? or a file changed times?

timestamp, modification time, and created time of a file


Is there a tool for record the IPs which get through the Router?

How can I get the free out IPs in our IDC?


Data loss over ttyACM* in Ubuntu 14.04 whereas success on Ubuntu 16.04 when "cat" command is used

Data loss over ttyACM* when 'cat' command is used for data transfer


How do I do a ls and then sort the results by date created?


make copy of file and place in new directory using relative path

How can I copy a file from another directory to the current one?


When does touch command need the file to exist?

touch: cannot touch file: No such file or directory


BASH String concatenation adds "^M" character

What is `^M` and how do I get rid of it?


Why the remote ls from here doc from ssh does not work within a $()?


How to copy all files from a directory to a remote directory using scp?


Public keys not available, can't use apt-update

"no public key available" on apt-get update


Script that exports enviromental variables cannot export them

How can I make environment variables "exported" in a shell script stick around?


Changing HISTTIMEFORMAT leaves entries with incorrect date

HISTTIMEFORMAT does not show correct date and time for history


How do I prefix commandline output with a fixed string?

How to prefix any output in a bash script?


How to run systemctl commands inside chroot container without interactive login?

How to run a command inside a running systemd container


How to rename series episode files in folders to foldername using batch file


How to backup files in multiple directories with git?


Adding Postgres bins to PATH: should I `export`?


Why does the command shuf file > file leave an empty file, but similar commands do not?

Why does `cat`ing a file into itself erase it?


Replace line M in file1 with line N in file2


Why isn’t the hostname command getting the FQDN from /etc/hostname?

How to set the fully qualified hostname on CentOS 7.0?


Is there a POSIX shell alternative to read -e?

Using shell's read command with live editing functionality (readline like)


Send stderr to stdout for purposes of grep

How to send stderr to stdout with a pipe to another command?


How to reset root password of fedora 20 ...please answer in step wise

How to change the forgotten root password?


Why doesn't text piped into an echo get outputted?


How to copy remote NAS file behind a router


How do I make a dynamic cli like the top command

How can I utilize the whole terminal, like htop or emacs do?


Why is a duplicate file sometimes created after editing a file?

Regarding identical copies of gedit files


Randomly select a line in every block of N lines

Extract random sample of N lines based on pattern


What is the file location of GNOME favorites?

Gnome3+: How do I remove favorites from Dash via terminal?


How to replace a string with a string containing slash with sed?


Why is it better to use "#!/usr/bin/env NAME" instead of "#!/path/to/NAME" as my shebang?


Why would `sudo cp src dst` ignore no clobber rule in /etc?


How can I set IP on Debian for multiple interface?

Separate Network Traffic on Two Network Interfaces


Quickest way to find the largest file in a directory and subdirectories


How to bind 'tab' and 'shift+tab' in GNU screen?

What is the scheme for textual representation of keystrokes in screen?


Why doesn't xenodm starts the X Window System by default in OpenBSD?

What does "Do you expect to run the X Windows System?" do when installing OpenBSD?


yum packages update with excluding packages which need reboot

Is there a way to permanently exclude the kernel from updates?


Debian 9, APT, and "GPG error: ... InRelease: The following signatures were invalid:"


How do I copy to clipboard text I cut with Ctrl+U?

Share the clipboard between bash and X11


echo into a file while maintaining escaped spaces?

Why does my shell script choke on whitespace or other special characters?


How do I remove a directory and all its contents?


recover ssd after mounting iso file to ssd!

Data recovery after Copying file to block device


Terminal - autocomplete partial filenames

Make Bash autocomplete guess the closest approximation


Are there some signals that you cannot override their default signal handler?


how can i change the character case (lower to upper and vice versa)? at the same time

Convert all text from uppercase to lowercase and vice versa?


How can add "double line spacing" to any output?

How can I double the newlines in an output stream


linux + how to calculate float numbers with bash

How to do integer & float calculations, in bash or other languages/frameworks?


bash + divide number with round number to up or down


Opening a Debian package file without `dpkg`

How to extract and install .deb without the command dpkg?


Logging violations of rules in limits.conf


Copy over ssh and execute commands in one session


How do I send a set of file paths to cat and display their contents?


Convert file contents to lowercase and store result in same file

Can I read and write to the same file in Linux without overwriting it?


How do open files behave on linux systems?


Fedora 25 workstation does not default to wayland using nouveau on nvidea card with gnome

Fedora 25 is NOT using wayland by default!


Macchanger works until connecting to network in Debian 10

How to stop MAC address from changing after disconnecting?


What is the exact difference between a 'terminal', a 'shell', a 'tty' and a 'console'?


How to remove the ^[[1m ^[[22m ^[[4m ^[[24m characters while keeping the newline?

how to properly log the output of a console program that frequently updates "parts" of the screen, resulting in a messy log file?


Find to list files for not matching given string

How can I find all files that do NOT contain a text string?


linux + how to capture values from xml file


How do I change the extension of multiple files?


linux + delete words from file that appear in another file

How to remove lines included in one file from another file?


Shortcut for quick directory navigation in the bash shell

Quick directory navigation in the bash shell


How to determine the options Linux kernel was build with?

Where kernel configuration file is stored?


Test if there are files matching a pattern in order to execute a script


Understanding permissions properly for cp


Test for file existence only work for exactly 1 file, how to have it work for 2 files?

Check if a folder has a certain type of file present


cp not evaluating dirname properly in find operation

Execute on the basename of a find command


Pass shell variable as a /pattern/ to awk


How to remove last part of a path in bash?


How can I use variables in the LHS and RHS of a sed substitution?


The second field in /etc/shadow shows "!*" for user "bin" , "uucp" and few other service accounts as well. Can anyome explain the reason for !*?


How to highlight a word in the output of "cat"?


How to define global functions in zsh (macOS) that are available in scripts?

what is the zsh equivalent of bash's export -f


Why the output of "column" is misaligned with a ANSI colored input?

Issue with column command and color escape codes


How to get SSH client IP Address using shell script?

Find the hostname or IP of a remote ssh session in Solaris


What's the difference between `mkdir -p` and `install -d`?

Why use install rather than cp and mkdir?


Strange 'sh -c' behavior when run through ssh

Why does exporting a variable in an ssh shell print the list of exported variables?


Bash: Show the contents of a text file, with every occurrence of a word highlighted

Convince grep to output all lines, not just those with matches


Find who is connected to a Unix domain socket (Linux)

Who's got the other end of this unix socketpair?


Keep program running after logging out SSH -X, and reopening it later

Transfer X from monitor to remote machine


Aliases created in terminal not showing up in tmux. Why?


How to sort files by their dates into timestamped folders?

Script failing with "command not found: ^M"


Bash function for piping data into protected file

Why can't sudo redirect stdout to /etc/file, but sudo 'nano' or 'cp' can?


Testing whether an executable can be run on Linux?

ldd equivalent which fail when library not found


What is the added value of the -T option in GNU cp and mv?


Can a user without u-permissions, read, change permission and the delete the file and why?

Why does chmod succeed on a file when the user does not have write permission on parent directory?


What does `2` in `GETRLIMIT(2)` mean/come from?


How to move /usr folder and replace it with saved copy

Moved bin and other folders! How to get them back?


split the content of a specific column with variable number of strings


What are the shell's control and redirection operators?


prepend the text file output to other file

How can I prepend a tag to the beginning of several files?


Linux: why to execute a program first we need to copy current one?

Why do we need to fork to create new processes?


Why is the suid bit having no effect on a shell or perl script?


Problem combining -or and -exec with find command

`find` with multiple `-name` and `-exec` executes only the last matches of `-name`


How to check for file system consistency after power outage

What should I do to force the root filesystem check (and optionally a fix) at boot?


How to read bash config when working with SSH remote sessions

How can I detect if the shell is controlled from SSH?


How can I view the content of a backup of the dconf database file?


Why is my bash prompt getting bugged when I browse the history?


How to ignore first line of content in curl standard output?

Print file content without the first and last lines


unknown network interface called "enx9cebe80718e1"

What does eno mean in network interface name 'eno16777736' for CentOS 7 or RHEL 7?


Why ls | wc outputs 3 lines in dir with 3 one-line files?


How to make a certain bash script execute when I enter a certain directory?

Execute bash scripts on entering a directory


What is the predefined order in which man searches sections?


Bash : syntax error near unexpected token ' done '

Why am I getting "line 1: $' :\r': command not found"?


Full desktop experience to another computer

How to remotely log in with full graphical desktop over X11


Uunderstanding the redirections in this command?

What does a "< <(...)" redirection mean?


Move all files from one folder to another, based on a list

move file by list in file (with leading whitespace)


Can anyone tell me why rsync is no copying files from the source's subfolders?


What's the difference between SFTP, SCP and FISH protocols?


tar: Removing leading `/' from member names


script running in crontab not giving output on shell screen


Getting my ShellScript to run a java file for a given amount of time

Run a command for a specified time and then abort if time exceeds


Create new array with unique values from existing array

How to create an array of unique elements from a string/array in bash?


Is it enough to just say `allow-hotplug eth0`?

Good detailed explanation of /etc/network/interfaces syntax?


Delete subdirectories leaving a given one

How to exclude some files from filename expansion mechanism in bash?


How to move everything but the last files?

Linux - Delete last two files automatically


How do I check the uptime of the system with a certain number

Running Commands on Remote Linux Server Using SSH


Regarding deleting first 327 lines in all the .dat files in a folder

How do I delete the first n lines of an ascii file using shell commands?


How can I tell what command an alias stands for?


Passing the output of a command to another in one line

Pass the output of previous command to next as an argument


What is the effect of a path separator at the beginning of an environment variable?

Using "${a:-b}" for variable assignment in scripts


Why has cron stopped processing commands?


I accidentally overwrote a text file. Anything I can do?

Unix/Linux undelete/recover deleted files


How to split an image with offset using ImageMagic?

How to split an image vertically using the command line?


How to keep code running whitin a script


Why it is so difficult to install Linux with English system language AND set non-English standard locales?

locale not found/setting locale failed - what should I do?


Bash: How do you view text that has been "scrolled up too far" in the terminal?


Why is my udev-fired script not working?


var directory showing its full via command 'df-h'

Why is df missing 500MB of available space?


What sources to add in order to install cuda toolkit with apt on Debian?

How to install CUDA Toolkit 7/8/9 on Debian 8 (Jessie) or 9 (Stretch)?


Not mangling names renders music unplayable on Windows 10 Samba

samba how to display files with colon in their names?


What does `--` mean in the output of `declare -p`?


How to install CUDA on Debian 9 (Stretch) without breakint the system?


How to log-in to ssh without password? Note I do not have root previledge of server

How to ssh to remote server using a private key?


Does systemd still know about runlevels?


scroll through output using `less` or `tail -f` while keeping the header visible

How to scroll large datafile while keeping header


Why do I get "Permission denied" when redirecting the output of sudo echo "xyz" to a file?

Redirecting stdout to a file you don't have write permission on


Command-line completion from command history


Tomcat startup.sh file works but starting tomcat.service does not

systemd cannot find PID file after YAJSW wrapper startup


Is there an equivalent of GNU Screen's "log" command in tmux?


I need a clarification about the local disk on Linux

Why is Linux's filesystem designed as a single directory tree?


SSH tunneling error: "channel 1: open failed: administratively prohibited: open failed"


Grep: unexpected results when searching for words in heading from man page


Watch /tmp for file creation and prevent deletion of files?

View temporary files which exist for milliseconds


Systemd timer every minute between 09:15 - 17:15

Systemd Timer every minute on specific hours (using a range of values)


Vim writes to file without having permissions

What does the '!' really do when it's added to an ex command (:wq! | :w! | :q! )?


Crash with input/out error and swap unmounting

How can I find out what happened to my Debian box?


Sum values from column 1 if column 2 rows have a value match

Using awk to sum the values of a column, based on the values of another column


Why some scripts use export for system variables?


How can I disown a running process and associate it to a new screen shell?


Conditional expressions in shell: What are the differences between [ vs [[

Why is `[` a shell builtin and `[[` a shell keyword?


Would draining entropy make it easier to compromise a system?

Is it bad to have a low entropy in /dev/random?


How is SOCKS protocol used in SSH dynamic port forwarding?

How does SSH used for dynamic port forwarding know where a request wants to go?


How do I know which File Systems my linux supports?

Can I list the filesystems a running kernel can support?


Multiline pattern match using sed, awk or grep


What happens when you rsync without a destination path?

Where does rsync copy a file if I don't specify the remote path?


How to measure that how much time is the active window opened?


Is there any method to edit a text file without opening it?

Delete specific line number(s) from a text file using sed?


How do I go about tracking down IO usage in Linux and other *nix OS'?


How to change gnome-shell titlebar height


Can we recover the data which has been truncated


How can I get a count of files in a directory using the command line?


Why does the exit command not exit from nested while loop?

Why does ( exit 1 ) not exit the script?


check ip address of a linux server to upload the file

How can I get my external IP address in a shell script?


How to Tar Much With Big .tar Parts on vfat?

Create a tar archive split into blocks of a maximum size


How every group of N consecutive rows are folded into one, and separated by tab?

Text processing - join every two lines with commas


Search for files inside multiple subdirectories and zip directories

How do I recursively grep through compressed archives?


Event dispatcher in bash (Ubuntu Gnu/Linux)

How to run a command when a directory's contents are updated?


display big texts (on a graphic mode?) without a desktop environment

Can I change the font of the text-mode console?


What does | symbol near end of a command do?

What are the shell's control and redirection operators?


Mail one liner to check if null before sending

How to pipe output from one process to another but only execute if the first has output?


Extra character before string comparison

What's the purpose of adding a prefix on both sides of a shell variable comparison to a string literal?


Is it possible to get a star symbol in Linux?

Awesome symbols and characters in a bash prompt


HISTFILE env var unset within programs. Can I access it in any way?

Difference between shell variables which are exported and those which are not in bash


What is the equivalent of netstat -s with the ss command?


Difference between directory tree and a filesystem?

File systems vs partitions vs directories


How do I download a file from a host i'm already connected to over ssh

Copy a file back to local system with ssh


rsync and xfr#1, to-chk=0/1, what do they mean?

Understanding the output of --info=progress2 from rsync


how to append words of two files word by word


server file owner and group changed when editing file locally


Terminal prompt is being written over top of

Why is my bash prompt getting bugged when I browse the history?


Output in variable shouldn't be interpreted as command

Spaces in variable assignments in shell scripts


Splitting file content into other files based on parsed parameter value in file

How to split a file according to a column (including header) and rename the generated files?


how to insert file contents on match using sed - first occurrence only

How to insert the content of a file into another file before a pattern (marker)?


How to determine current users who are logged in using a specific domain? | UNIX


How can I resolve an IP address to a hostname in Arch Linux?

How can I resolve a hostname to an IP address in a Bash script?


Linux ps command, what are meaning of different styles for thread priority?

Process Priority value is different in procfs


I'm on '4.3.0-kali1-amd-64' but cannot install linux-headers?


How to redirect output of a running program to /dev/null


How to search for a string with "+" character in sed?

What characters do I need to escape when using sed in a sh script?


How can I copy files by modified date using terminal?

How to copy 5 newest files from one directory to another and delete the old copies


How can I make environment variables "exported" in a shell script stick around?


How can I assign the output of a command to a shell variable?


How to mark a package to prevent from being installed

How can I prevent installation of a specific package on Linux Mint?


Debian Stable libgl1-nvidia-glx:i386 not found (trying to install Steam)


How to asynchronously launch external program from cli and discard its output?


Copying list of file from grep command to target directory

Grep word within a file then copy the file


How is .. (dot dot) resolved in bash when cwd is a symlink to a directory


Why can't I grep the tmux man page for join-pane?

Grep: unexpected results when searching for words in heading from man page


How can we get the pathname to a script within itself, when `source` it?

determining path to sourced shell script


Error compiling Realtek rtl8723be drivers for Solus

Realtek rtl8821ce wifi driver problem in Linux Mint 18.2


How does the kernel knows which "threads"/processes are associated with a process?

How does Linux tell threads apart from child processes?


Is it possible to find out what program or script created a given file?


Bash script read a string with whitespace

Why does my shell script choke on whitespace or other special characters?


Why does the filename contain question marks when I run a script on my remote machine?


Why is it considered dangerous to use the -execdir + argument with the find command?

What are the security issues and race conditions in using `find -exec`?


What's this I hear about First Edition Unix being restored?


Display only the penultimate (second last) row of a text

How to read only the second last line of a file


BASH check if argv is a number between 0 and 100

Check if $REPLY is in a range of numbers


colorize hostname in command line prompt


Why do du/df and by System Monitor show used space in home differently?

Why are there so many different ways to measure disk usage?


Is /proc folder and process details really exists on hard drive


How to replace one char with another in all filenames of the current directories?


Searching and replacing with file contents

Substitute pattern within a file with the content of other file


Used < size and no available space, even after reboot

Reserved space for root on a filesystem - why?


sed remove ze if ze is alone on the line

Using sed to delete a whole line if it contains only specific number


how to get dynamic variable in a query of a shell script

Is there any way to print value inside variable inside single quote?


What is the portable (POSIX) way to achieve process substitution?


how to remove the double quotes in a csv


Meaning of -- in set command in shell script


How does one parse ${!i} (and what does it mean)?

Variable substitution with an exclamation mark in bash


How do I copy files across/outside symbolic links? (dest)

copy files from the parent location when I am inside a symbolically linked folder


Modify the "cat" command to automatically number paragraphs. These are separated by a single blank line


Use rsync. Include file based on pattern


/bin/bash warning shell level (1000) too high resetting to 1 in linux

bash: warning: shell level (1000) too high, resetting to 1


How to test whether a file uses CRLF or LF without modifying it?


On making the environment depend on the current directory

Is there a nice way to set directory/project local environment variables?


How to remove CentOS boot option in BIOS

How to clean up bootloaders & UEFI entries from other installs?


Echoing progress from a background process without hijacking prompt


Is there a universal command-line archive extraction utility for Linux?

Is there any program to provide a consistent interface across multiple archive types?


What is the difference between dotfile and dot config?

Why do some applications use ~/.config/appname for their config data while others use ~/.appname?


How to categorised linux command returncode/exitcode

What is Linux exit status and list of all status


How to obtain inverse behavior for `tail` and `head`?


Bash: Call program with a variable in its argument list

How can we run a command stored in a variable?


Is it possible to dual boot two Linux distributions and share swap space?

Are there any side effects when two distros share a swap partition?


Can a pipe be used instead of exec in - find / -name “.txt” -exec cp {} /junk \;

Why is looping over find's output bad practice?


UNIX rename command, trying to rename some bulk files in a folder


How do I delete a file whose name begins with "-" (hyphen a.k.a. dash or minus)?


Would cat *.txt concatenate files in alphabetical order?

What is the sort order when using conditional operators?


Block internet for a specific user, permanently

Why do iptables rules disappear when restarting my Debian system?


Difference between compiling source and installing package?

What is the difference between building from source and using an install package?


How do you print the current month, day and year using awk and date?


Why does sort ignore dollar ($) at beginning of line?

Why does this sort ignore the +/- character prefix?


Bash 'unbound variable' error when variables are referenced in multiline comment (set -u)

passing and setting variables in a heredoc


pipe reads from stdin even when stdout of previous command is routed to dev null

zsh I/O redirection: redirecting and then piping; what is going on?


Ubuntu 16.04 keeps saying 'out of boot space'

Why does the /boot partition get updated when I install software


Find location of shell / bash function on disk

How to know where shell variables and functions are set?


Output the common lines (similarities) of two text files (the opposite of diff)?


ssh-copy-id succeeded, but still prompt password input

Why am I still getting a password prompt with ssh with public key authentication?


The double quotation used with the matched value with the parameter -name in find


Why do I have to set LD_LIBRARY_PATH before running a program, even though I already linked the library locations in the compile stage?

Where do executables look for shared objects at runtime?


Print out variables from subshell to parent shell

Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?


Referencing multiple files that are not a certain file type in a directory


tail -f all files in a "living directory"

How do I tail a log file and keep tailing it when the latest one changes date?


Is it possible to pin a process to a core which has no other processes pinned to it?

How to ensure exclusive CPU availability for a running process?


Delete the nth line from a matched string (which only occurs once in the file)


In a Bash if condition, how to check whether any files matching a simple wildcard expression exist?

Test if there are files matching a pattern in order to execute a script


Is there any way to copy file's content in clipboard without opening the file?

Copy the contents of a file into the clipboard without displaying its contents


Find out what process accesses file/device

HDDs won't spin down with hdparm command


sed Argument List Too Long While Updating JSON

Replace a long string with the sed command: Argument list too long error


How to set a persistent $PATH variable for single or all users

Set Path for all Users (Login and Non-login Shells)


Does the shebang determine the shell which runs the script?


How to set path for all users on CentOS 7?

Add a path in $PATH globally for every user


why is it necessary to differentiate between character and block devices?

What are character special and block special files in a unix system?


archlinux: how to find a file for install with pacman?

In Arch Linux how can I find out which package to install that will contain file X?


Confused about the "execute" bit of a directory

Execute vs Read bit. How do directory permissions in Linux work?


How can I remove certain lines and surrounding lines from a file?

How to grep-inverse-match and exclude "before" and "after" lines


Do package managers check the hashes of packages?

How is the authenticity of Debian packages guaranteed?


Bash : date -d throws "invalid date" when date is parameterized

Difference between ' and " on command line (bash)?


Setting file contents with newlines and other special characters as environment variable with interpretation of included variables

Replace environment variables in a file with their actual values?


Why does my shell script choke on whitespace or other special characters?


Should I install programs directly into /usr/local or a subdirectory in usr/local or into /opt?

Where should I copy-paste-install software to?


File permissions do no work the way I intended

Still able to read file after changing permissions


Brackets in if condition: why am I getting syntax errors without whitespace?


Is there a video player for Linux that has thumbnail previews?

Is there any video player which can seek with thumbnail like in YouTube?


Check if remote port is reachable using Centos

What's the gnu-netcat's '-z' equivalent option in nmap-ncat?


Correctly determining memory usage in Linux


What is the physical sector size for my HDD?

Optimizing logical sector size for physical sector size 4096 HDD


Debian SFTP WinSCP “Authentication failed.” User in Group can't establish SFTP connection


Where do I find "libgtk-3.so.0()(64bit)" for Amazon Linux?

How do I install Google Chrome on Amazon Linux with all its dependencies?


What does it mean to have a $"dollarsign-prefixed string" in a script?


Using the basename of current path to define a new file

Which shells don't support dollar-parenthesis expansion, and demand backticks?


Obtaining PID of command earlier in Pipeline


How to check if a subfolder exists and if so add it to the path automatically on cd?

Execute bash scripts on entering a directory


How to run multiple 'serial' processes under control considering CPUs available?

Four tasks in parallel... how do I do that?


How do I change the extension of multiple files?


"while read -r LINE; do" is replacing multiple spaces with a single space

Why does my shell script choke on whitespace or other special characters?


how to add parameter to bash alias without space in between?


What does the * with a file name signify?

What do the symbols displayed by ls -F mean?


How to remove failed file with backspace in its name?

How can I delete a file which filename has non-printing characters


What do the fields in ls -al output mean?


How to prevent CTRL+C to break ssh connection?


Why is my files "last modified" timestamp only showing the year with the 'ls' command?

Why does "ls -all" show time for some files but only year for others?


Why does downloading bash script from pastebin not work?

Bash/Korn shell script edited on Windows throws error '...^M: not found'


exit code of the command **before** last?

Get exit status of process that's piped to another


How to package web-inf/* and meta-inf/* to a war file via zip command?


How to split a file according to a column (including header) and rename the generated files?


How to move disk space from /dev/sda to /dev/sda1?


Difference between parentheses and braces in terminal?

What are the shell's control and redirection operators?


How can I restrict multiple groups or users to specific folders with SFTP?


Serve Internet to remote machine via SSH session?


Is `var=value builtin` the same as `var=value; builtin`?

When can I use a temporary IFS for field splitting?


How can I see what fonts support a given character?

Find the best font for rendering a codepoint


Why directory with large amounts of entries does not shrink in size after entries are removed?


Distinguishing between running a process in client terminal or on the server when using SSH

Playing a remote movie on the remote computer


Why does using `yes` on bash pipelines *not* cause infinite loops?


Save entire process for continuation after reboot


Why doesn't unix filesystem store creation time of a file?

What file systems on Linux store the creation time?


Sorting ls output where files end in numbers


Creating command from some of the arguments to a bash script including whitespaces

Why does my shell script choke on whitespace or other special characters?


Use same colors in bash tab complete and ls

is there a way to set coloring for cd tab complete?


Command to display first few and last few lines of a file


How to have Terminator display remote hostname in title bar?

Is it possible to set Gnome Terminal's title to "user@host" for whatever host I'm connected to?


Why source (or dot command) doesn't require the file to be executable

Why does Bash's source not need the execution bit?


What is the difference between using crontab -e and /etc/crontab


In Linux how to run a shell script automatically when the headphone is plugged in?

Detecting headphone connection/disconnection in Linux


What is the most concise script to list the missing ones in a digit sequence?

How to print the name of missing files in a folder?


Are there tools that I can use to obtain a snapshot of terminal or pty state?

Read everything that's displayed in the terminal


Copy file via scp from a remote machine that need root access (with remote root access disabled)

Copying protected files between servers in one line?


Completion with wildcards in directory names in bash

autocompletion with wildcards for cd in bash


What is the point of uniq -u and what does it do?

How is uniq not unique enough that there is also uniq --unique?


Is it possible to reverse a command in the bash shell?


Why must you be root to change the max_PID amount using echo when sysctl can change max_PID using sudo?

How to insert text into a root-owned file using sudo?


How to generate a hotspot that does not requires password?


Script using data/input which contains variable names

how do I get my code to use the value of the $HOME variable?


Extracting two lines if pattern exist in the second line + clean + remove duplicates (Whatsapp extraction)

grep one line before the match plus the match


Quoting the output of a backtick command

Why does my shell script choke on whitespace or other special characters?


uname -m -p -i. What does every parameter stand for?


How can I use variables in the LHS and RHS of a sed substitution?


SCP from one server to another without password prompt


Using bash variable with escape character in awk to extract lines from file

Pass shell variable as a /pattern/ to awk


How to highlight command prompt in Guake / ArchLinux?

What color codes can I use in my PS1 prompt?


Duplicating the lines apart from the header row


Route traffic for a single IP out of eth0, the rest out of wlan0

Separate Network Traffic on Two Network Interfaces


How can I delete a line from a file when the line contains a specific string?

Deleting Lines Containing a Specified String in Different Files


Splitting a file into multiple files based on 1st column value

Extract data from a file and place in different files based on one column value


How come dd only outputs when I press Ctl+t?


How to rename multiple files into their parent directory names using find


Import/Export running GUI applications between localhost and SSH client running x11 forwarding?

Can I move a running application to a different X server?


Unable to detect when a USB is plugged/unplugged with inotify

inotifywait not alterting when device created


How to not reinstall packages when installing a bunch of package?

Make package explicitly installed in pacman


How to combine two command outputs line by line?


How to check if a glob has an expansion?

Test if there are files matching a pattern in order to execute a script


Recursively setting all files in a directory as non-executable

How to recursively remove execute permissions from files without touching folders?


Script to remove files based on threshold value

How to find and delete files older than specific days in unix?


Hyperthreading: is there a way to know from the command line if it is enabled in BIOS?

Checking if HyperThreading is enabled or not?


Getting “Command not found” when trying to execute mounted file

Getting "Not found" message when running a 32-bit binary on a 64-bit system


notify-send not working from script - but works from CLI

How to use notify-send to notify users as root?


sed bash script is unexpectedly replacing character with space instead of newline

Why does my shell script choke on whitespace or other special characters?


How can I execute `date` inside of a cron tab job?


Using .sh file to return the number of files in a directory

How can I get a count of files in a directory using the command line?


(block) size of /dev, /etc, /proc, /home, explanation?

What does size of a directory mean in output of 'ls -l' command?


ls command is not resulting file timestamp instead it is just displaying only year


bash: adduser: command not found on centOS


Set variable conditionally on command line


I can't access the root account anymore: user is not in the sudoers file


How to change user password on mounted image of another system?

/etc/shadow : how to generate $6$ 's encrypted password?


What is different between "<<-EOF" and "<<EOF" in bash script?


Add white space to next line only after specific pattern

Replace a word after a significant line and white spaces (inline) using sed?


Solaris 9 - Word Count (wc) command gives wrong output with 'grep -v and ps'

Why does wc get wrong result with output from ps


why Permission denied when to write something into a log file?

Redirecting stdout to a file you don't have write permission on


Why are variables set inside (...) lost afterwards in bash?

How to refer variable defined in sub shell in parent shell


How to print streaming JSON to file after processing with JQ and SED

Using jq within pipe chain produces no output


Is there a way to assign variables and values and refer to the new variables in a bash for loop?

Create variables and assign values via loop (bash)


why does changing the group of my /home folder affects what happens in a subdirectory

Can I make a public directory under a private directory?


Why doesn't find list files in subdirectories?

find not recursive when given a pattern on the command line


What characters do I need to escape when using sed in a sh script?


service user unable to create/modify files in directory they own

Do the parent directory's permissions matter when accessing a subdirectory?


Wrong mv command. Where did my files go?

"mv" command-- file vanished into non-directory


Compare two files and display the output with matches,duplicates and nomatches

compare two columns of different files and print if it matches


uname -a doesn't show linux distribution version

How can I get distribution name and version number in a simple shell script?


Why doesn't my command work when aliased?


Why are PATH variables different when running via sudo and su?


Linux given a timestamp, how to get the timestamp X days ago?


Why is the "wrong" executable being run?

Bash is not finding a program even though it's on my path


Why is the regex pattern '?!' not working with grep?

Why does my regular expression work in X but not in Y?


Pass shell variable as a /pattern/ to awk


Is there a tool to get the lines in one file that are not in another?


Is it possible to give permission to a user via sudo for only a specific Bash script?

Allow certain guests to execute certain commands


alias for killing all processes of a grep hit

In Bash, when to alias, when to script, and when to write a function?


Package 'upstart' has no installation candidate


Why are there so many different ways to measure disk usage?


Linux tools to treat files as sets and perform set operations on them


How to only keep BMP in the utf-8 text file?


Why does sort -k4nr and sort -k 4 -n -r give different results?

sort behavior when using numerical option: "sort -k2,2 -nk6,6 foo" vs "sort -k2,2 -k6,6n foo"


what is the difference between >&2 and &>2

What are the shell's control and redirection operators?


how to get the stated behaviour for awk's system() command?

Make bash exit != 0 when called by AWK and interrupted with ^C


Is it possible to install both Gstreamer 0.10 and Gstreamer 1.0 at the same time?


How to check, which limit was exceeded? (Process terminated because of ulimit. )


How do I delete all except the newest file in a folder?

Delete all files in a folder except the last (most recent) 20


Operation of ` with echo when trying to awk

bash script using awk to rename file using timestamp


When I log in, it hangs until crng init done


Block local (unix) users from sending mail


Is stealing a WiFi password possible using Spectre/Meltdown

Does using the guest account in Ubuntu help for Spectre and Meltdown protection?


Need to extract part of string using shell

Why does my shell script choke on whitespace or other special characters?


sed to Find and replace with / and not special character

Replace a string including a slash "/" using sed command


How capture remote ssh output into a variable

How can I assign the output of a command to a shell variable?


`renice` seems to have no effect on CPU usage on Mac 10.13.4

macOS 10.13.4 - `renice` seems to have no effect


What's the lifespan of a file descriptor?

Do file descriptors optimise writing to files?


Why does default sort produce different results with same line beginnings?

How to sort lines with >> double angle brackets?


How to make a prefill line with read command?

How do I output a suggestion for a user to accept and use as input?


Script to print the interfaces and IP addresses


How to SSH to a list of network devices and execute a list of commands?

Automatically run commands over SSH on many servers


Python 2.7.14 on Kali Linux: AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

python2 and OpenSSL don't play together on Kali - how to fix?


Error while runing Virtualbox in Debian 8

Installing VirtualBox inside of OpenVZ - missing sources


linux + tool that can identify RAID configuration

how to identify if raid1 or raid mirror configure on OS disk


Can't connect to Centos 6.9 after update to OpenSSH 7.6 on this server

How to enable diffie-hellman-group1-sha1 key exchange on Debian 8.0?


Deleting subdirectories without remove their content?

How to move all files inside present subfolders up here


Just recursively changed the ownership of "/" to my own user by accident. How screwed am I?


Vim in tmux does not correctly determine background color

Why do Vim colors look different inside and outside of tmux?


Run cd with path variable in bash script not working

Bash script to replace two steps: cd ./some_dir, ls -al?


macOS (BSD) vs GNU grep multiple pattern inconsistency

grep strange behaviour with single letter words


Script fails and says unexpected token >'

Does the shebang determine the shell which runs the script?


How can I reference the same path from one command to the next?

Bash: Access parameter passed to last command


Putting external IP into a variable - grep operation failed

How to get my own IP address and save it to a variable in a shell script?


Grep command to find files containing text string and move them


Where does bash's 'help' builtin source its documentation?


Why does my shell script choke on whitespace or other special characters?


What's the difference between these two calls to `du -sm`?

du shows completely different folder size for * and folder name


Compress using tar without saving full path


How can I get the list of ldap users without being sudo?

How can I list all user names and/or home directories?


How do I delete subsequent lines after matching a string or digit?


Why doesn't my Bash script recognize aliases?


Wanted to know the correct way of using sed command by inserting text from one file to another?

Putting a piece of code in between two html tags in Solaris


Add a line at the end of GZipped file without unzipping it

How to append a line in a zipped file without unzipping?


How to use command on output of processed tail -f?


What is the difference between su username and sudo su - username?


split windows in gnome-debian (stretch version) with shortcuts

Gnome Shell window snap to quarters of screen


How to configure my linux machine to send emails from terminal

Configure postfix to send and receive to and from localhost


Checking that a decimal number is in a range in bc

How to do integer & float calculations, in bash or other languages/frameworks?


How to find occurance of mxprod|nlsoprdc inside multiple file in a directory?

How to search for a word in entire content of a directory in linux


Variable will not stay set after being modified inside of a PIPE while loop

Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?


Dealing with spaces of variables for `mv`

Why *not* parse `ls` (and what to do instead)?


filter packets of a particular process using iptable


Middle-click paste in Screen with Mousetrack Enabled

tmux: enable mouse only when shift pressed


How can i add a string to the beginning of every line in a file with sed?

What is the easiest way to add a string on the beginning of every line of the file from the command line?


What is the most concise way to insert or update a line?

Edit file based on existence of a string


Why does set -e not work inside subshells with parenthesis () followed by an OR list ||?


How to show the permissions in numeric format?

How to get permission number by string : -rw-r--r--


rename middle name of multiple files using bash


Change GNOME terminal background color on fly

tput setaf color table? How to determine color codes?


How can I prevent Windows from overwriting GRUB when using a dual-boot machine


Environment variable specifying preferred terminal

Is there an idiomatic variable for the terminal executable in Linux?


Something strange happens while keypress

Manipulating X key and pointer grabs on the command line


how to capture the properties tag from json file


Why is setting a variable before a command legal in bash?


Can't pass parameters to find from function execution

Why does my shell script choke on whitespace or other special characters?


Debian 9, APT, and "GPG error: ... InRelease: The following signatures were invalid:"


How to see which directory occupy the most disk?

Tracking down where disk space has gone on Linux?


Why I can't execute script with only execution permission?

What is a valid use case for an "execute only" file permission?


What's a good way to filter a text file to remove empty lines?


Set variable conditionally on command line

How are parentheses interpreted at the command line?


Having a hard time understanding package-manager repositories?


How to use clipboard data in bash script?

Print the system clipboard content in bash


alias the find function and use it with sudo

In Bash, when to alias, when to script, and when to write a function?


Single "mkdir" command to make a new directory and change to that directory at the same time?


How can I list installed packages on a Debian based system that are NOT part of the base distribution

Is there a command that outputs ONLY the packages explicitly installed by the user? (ubuntu/debian)


Deterministic method to find out whether some other process is in a chroot jail and where?


check if numbers from command line are powers of 2


rm to remove a dir, any symlinks, AND symlink destinations?

How to remove the directory a symbolic link links to plus the symbolic link?


Accidentally rm -r the wrong etc folder... Help?

Unix/Linux undelete/recover deleted files


Unzipping a .gz file without removing the gzipped file


How to get previous command without arrow key

How do I repeat the last command without using the arrow keys?


mixed results from the same command (related to ARG_MAX)

Command line length limit: built-in vs executable


The argument number variable does not count the inputed parameters

Read Command : How to verify user has typed something


Cannot mount LV after reusing disk as PV

How to check whether systemd is unmounting my device? (and why?)


How to grab output from command in shell script

Storing output of command in shell variable


Is there a way to set the size of the history list in bash to more than 5000 lines?


strategies, for a beginner, to write code (to answer homework question)

Replace string in one file with contents of another file when match column


Test if there are files matching a pattern in order to execute a script


Best way to get precise measure max memory usage and cpu time

How to monitor CPU/memory usage of a single process?


Can I open an editor as part of a piping command to edit the piped string?

How to invoke vim editor and pipe output to bash


Bash: Variable assignment doesn't seem to 'stick'

Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?


Accessing a samba share, a symlink, on host, to a folder, appears as an empty folder

How do you make samba follow symlink outside the shared path


Finding the most common name in passwd file

How to find the most common name in passwd file


Binvox not working on a headless Linux server


Create alias that can interact with arguments

Is it possible to use a parameter within an alias command


When restarting Ubuntu quit supervisor sooner than other services

How to synchronize systemd stop order from one service?


Manual pages uses the quotation : `<character/string>' (quoting string inside grave accent and apostrophe)

Why do Unix man pages use double backticks in place of double quotes?


how to set static ip for guest OS on VirtualBox


Why did mv delete a file with mv id_rsa *.old?

How can I use ms-dos style wildcards with ls and mv?


hard disks spin up by processes / applications that simply get a list of disks? How to prevent?


`rm` prompt when given more than one file


Install Java 1.4.2 on recent Amazon Linux

JDK 1.4.2 - where can I download the source?


How to check if a bash shell attribute has been set up?

How to know if extglob is enabled in the current bash session?


Redirect the output of a command in `time command`


I have a table and I want to extract the row in reverse order of columns in shell script


bash: cd: <path> : No such file or directory

Why ./home/Desktop is incorrect and ./Desktop is correct?


How can I find what package provides a missing man page on CentOS?

How to find out which (not installed) Debian package a file belongs to?


Retrieve name of the active network interface only

How to use ifconfig to show active interface only


What is the most managable way to install a program from source in Debian?


How to overwrite the default shortcuts of the terminal in xfce?

How to set ctrl+c to copy, ctrl+v to paste and ctrl+shift+c to kill process in xfce4-terminal?


Bash: Echo a variable whose name is the value of another variable

Use a variable reference "inside" another variable


Why does my shell script choke on whitespace or other special characters?


Unable to execute certain programs even as root

permission denied when executing binary despite "rwx" privilege and root user


How to permanently set environmental variables


What is the builtin `:` used for in Bash?

What purpose does the colon builtin ':' serve?


Linux how to highlight every occurrance of a word.

Convince grep to output all lines, not just those with matches


How is the su command masking/protecting my password from being displayed on screen?

Why is the password I entered not visible?


Why does Bash implement time as a reserved word instead of a builtin?

Differences between reserved word and command `time` on shell builtin, function, pipeline and command list?


Why does Linux need to have both `/dev/cdrom` and `/media/cdrom`?


How come root can do this, but sudo can't?

Redirecting stdout to a file you don't have write permission on


How can I pause or freeze a running process?


Writing an awk script that reads variable from command line


Why is the size of a directory either 0 or 4096?

What does size of a directory mean in output of 'ls -l' command?


How to find the name of the man page of something?

Tricks and tips for finding information in man pages


How to extract lines from a text file that contains strings from a list in another file?

intersection of two files according to the first column


Why must I put the command read into a subshell while using pipeline

Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?


View only the new entries in a growing log file


Why can't I add something to PATH permanently?

How do I set a user environment variable? (permanently, not session)


How to stop the ping command if there is no reply after 1 sec?

What is the difference between ping -w and ping -W?


Sum values in 5th column that correspond to same field in 2nd column


How to remove spaces from an input file?

How to remove blank lines from a file (including tab and spaces)?


Command works at the command-line, but won't work in a shell script

Spaces in variable assignments in shell scripts


How can I get the amount of available memory portably across distributions?


Setting variables in /etc/environment not having an affect but setting them in command line is

Why does environment variable persistence break the PATH var?


How are zombie processes taken care of by the os

Can a zombie have orphans? Will the orphan children be disturbed by reaping the zombie?


Unix zip command is updating existing archive instead of creating a new one

Does zip's -u flag pay attention to deleted files?


Why do login processes sleep before reporting "password incorrect" rather than limiting input?

Why is there a big delay after entering a wrong password?


Delete first 10 Lines From Multiple Files

How do I delete the first n lines of an ascii file using shell commands?


How to rename multiple file using shell script?


'(base)' appears at the prompt in Linux terminal

Why does my shell now have "(base)" as in "(base) user@laptop"?


"a word that is identical to an alias being expanded is not expanded a second time"


How to pass parameter when execution .sh script

Pass command line arguments to bash script


how to loop through arguments in a bash script


sed remove all lines starting with x or X, but the lines start with spaces

sed : Ignore line starting whitespace for match


mount is not executed when called by udev


Multiple option arguments using getopts in bash

Provide two arguments to one option using getopts


Add a "Press Enter to reboot" at the end of the script


How to use wc and piping to find how many files and directories are in a certain directory?


How to get the package containing a file?

In Arch Linux how can I find out which package to install that will contain file X?


Extract arbitrary XML from a text file using sed


What's the difference between semicolon and double ampersand &&


How to curl multiple URL's from a text file containing URL's

Execute a command once per line of piped input?


Split and edit resulting file in the same pipeline

Split file by number of lines including header in each one


find -exec not working in bash script but working in terminal

Why does my shell script choke on whitespace or other special characters?


"Task manager" for killing hard-disk intensive processes?


How can I keep terminal input and output separate. So that what I am typing does not get confused by output

preventing terminal prompt from being overwritten by program output


What's the difference betwen " and ' - and when to use it?

Difference between ' and " on command line (bash)?


Sendmail (by postfix) is not working on Ubuntu


PATH variable getting reset after closing and reopening SSH session

How do I set a user environment variable? (permanently, not session)


Are if else statement equivalent to logical and && or || and where should I prefer one over the other?


GNU Core Utilities - How exactly do 'ls', 'dir' and 'vdir' differ?

What's the difference between "dir" and "ls"?


Adding different suffix to end of the line

Command line tool to "cat" pairwise expansion of all rows in a file


Pass literal {} as an argument in find -exec

Is it possible to nest a 'find -exec' within another 'find -exec'?


How to get exit status of a particular command in a pipeline?

Get exit status of process that's piped to another


What does the number mean in 'ls(1)', 'stat(3)' and 'apt(8)'?


what is significance of first digit in 0022 when I run umask on linux?

Understanding UNIX permissions and file types


"DISPLAY=:0 sudo -u some_user zenity ..." Wayland equivalent

How to display a (zenity/GUI) dialog to the user after a root cron task has completed


Escaping single quotes **with** an alias


How to get the total duration of all video files in current folder and sub-directories

Get total duration of video files in a directory


PDFTK Unable to find file; Failed to open file

Why is PDFTK saying it can't find files that are right there?


cat alternative with syntax highlighting

How can I display syntax highlighting on a file?


Splitting text files based on a regular expression


how to understand "" in crudini --set $CONFIG_FILE $1 $2 "$3"


Bash function does not work recurrsively


In what way does quoting parameters to `find` matter?


What should be in the sources.list for Kali Rolling Linux?


How to avoid running make as root in the last step of installing an application from source?


error: duplicated database entry using pacman

Pacman: error: duplicated database entry


Is it a sane approach to "back up" the $IFS variable?


Escaping characters in command line search and replace

How to ensure that string interpolated into `sed` substitution escapes all metachars


sed append path to end of specific line pattern search


From where ls gets inode info in a deleted directory


Batch rename files to a sequential numbering


How to print the second last line of a file using awk

Display only the penultimate (second last) row of a text


Redirecting the content of a file to the command "echo"


How to change script dir inside a function?

How to change the working directory of invoking shell using a script?


i want while loop for date 2018-03-28 to 2018-04-02 in unix


Using wget over ssh with a terminated session

Keep processes running after SSH session disconnects


How can I make environment variables "exported" in a shell script stick around?


How can I use variables in the LHS and RHS of a sed substitution?


remove anything between angle bracket including it

Removing text between two specific strings


How does the "<( cmd )" pattern work in bash?

Why does process substitution result in a file called /dev/fd/63 which is a pipe?


what might be defining the $PATH variable?

Complete view of where the PATH variable is set in bash


How come when I change an ENV variable and echo it in the same command, I don't see the new value?

What is this shell/Bash syntax: someVariable=someValue someCommand


cd to a path containing spaces using a path variable

Why does my shell script choke on whitespace or other special characters?


Can I pipe output from a started process?

How to view the output of a running process in another bash session?


Why is my previous history command in the terminal overwriting other text?


Where is core dumped file by handling SIGQUIT stored?


Why is bash 'not always' showing the 'Terminated' message after killing a process?

Why does bash show 'Terminated' after killing a process?


cat a file to show the 1st line and the grep queried value

How to grep a specific line _and_ the first line of a file?


Shell script example to stop execution of all processes with a certain UID?

How do I kill all a user's processes using their UID


Adding new line after every Nth occurrence of delimiter

How to process a multi column text file to get another multi column text file?


Why regular expression doesn't match input with sed command

Why does my regular expression work in X but not in Y?


Bash function that creates an alias gets called endlessly

Best way to call command within a shell function having the same name


shell script - way to loop through all of the options

getopt, getopts or manual parsing - what to use when I want to support both short and long options?