How to print every Nth character of a string?


Variable in Bash Alias not working as intended

Single or Double quotes when defining an alias?


How to iterate over matches which contain spaces


linux select specific characters from text file


Start 2 commands, the second after the first printed a given line

How do I tell a script to wait for a process to start accepting requests on a port?


Display time stamp in dd/mm/yyyy_hh:mm:ss:ms in Unix or Linux


What are the default Polkit privileges on Arch Linux for shutdown, halt, etc., and why are they so?


How to replace a string in all folder and file names


Circular reference in bash profile. How to sign in?

How to fix infinite bash loop (bashrc + bash_profile) when ssh-ing into an ec2 server?


How to use grep to search for a line with one of two words but not both?

How do I grep for lines containing either of two words, but not both?


Invalid signature for Kali Linux repositories : "The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository"


variable name contains a variable inside it


apt-get update failure returns 0 error code


Why BSD grep is not returning all the results, but GNU does?

grep strange behaviour with single letter words


untar file without subdirectories containing it

How to extract only files without creating directory paths from tar.gz file?


Cascading Date Manipulation and Precedence

How does the "1 month ago" option in date command work?


How do delete everything before an specific symbol?

Delete everything before "/" on every line


How do I search files using grep for multiple strings (intersection search)

How to run grep with multiple AND patterns?


How does the X server emit a character when the keyboard is pressed?

How do keyboard input and text output work?


Getting errors while updating Kali linux


How to dentify what files or directories are modified when a debian package is installed?

How can I list all files which have been installed by an APT package?


can I access ssh server by using another ssh server as intermediary


Command to delete duplicate files from current directory

How to find and delete duplicate files within the same directory?


WiFi problems (Atheros driver) with FreeBSD 11


See the overall percentage completion of a recursive cp command

Is it possible to see cp speed and percent copied?


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


How to export a large list of variables in Bash?


What is set-mark in bash and how should I expect it to behave?


Piping output of a command into grep and then into another command

Why does grep not work with redirection?


Match what I've typed so far when scrolling bash history with the arrow keys

Configure up-arrow to browse through commands with same initial characters rather than all previous commands


Variable expansion succeeds with echo but fails without a command (execution by expansion)

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


Why use UUIDs in /etc/fstab instead of device names?

Why does fstab use UUID instead of the actual file system name?


Issues with tar, "remove leading /" and the --file option

tar: Removing leading `/' from member names


GNU screen: print a detached session to stdout


How to get colored output with tail command


How may I obtain information on a specific Debian package (.deb) file?

How to see package version without install?


Is possible to set the command line line (not prompt) from another program?


Print data between two lines (only if "range end" exists) from a text file

Print lines between (and including) two patterns


How to find all files created in directory after a particular file was created?

Find files which are created a certain time after or before a particular file was created


AWK: Sum of values in a column based on entries in another column

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


Why is there a chgrp command if there is chown

If chown can change groups, why was chgrp created?


Printing an array to a file with each element of the array in a new line in bash


Is working in symlink directory identical to working in the directory directly?


How to I tail the STDOUT of a cat command

Execute command in remote active terminal


Replace commas for strings enclosed double quotes

Remove comma between the quotes only in a comma delimited file


Check target file for duplicate entry before copy data from source file

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


Can't SSH into Raspberry Pi after changing permissions


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


Move directory structure and preserve symlinks


Command present in two locations and both locations are in PATH


How to make name server address permanent in /etc/resolv.conf even after system reboot?

What overwrites /etc/resolv.conf on every boot?


How to list all the processes which have accessed a particular file?


How to extract delimited entries that match criteria?

printing a block of text that matches a pattern


Where to put the script file for autostart

Running a script during booting/startup; init.d vs cron @reboot


Why does `ls -d *[!e]*` display all files instead of omitting all files that contain an e?


Can someone explain the meaning of -- and ** in a linux/unix command?


How Can i control the 'total' output in 'ls -l' command?

what is total in the output of ls command


Why the output of "cat a.out" is some weird text, instead of binary?


Kali Linux not booting after update [bricked]

Why to use Kali Linux instead of "Ubuntu with Kali Tools"?


How to compress a file into zip format without having zip package installed

How do I zip/unzip on the unix command line?


Redirection to file does not work properly


Use parameter expansion to modify output of another expansion


Linux Mint 19 Tara - can only install without EFI

What is causing Mint 18.1 "grub-efi-amd64-signed failed to install into /target/" and following installation failure?


Getting "ensure" / "finally" functionality in a shell command (not script)?


How to fix HOME and END buttons in Bash with ANSI prompt?

Copy/paste doesn't work properly when changing prompt colors


Bash filter text content with strings from another text


How do I count all the lines of code in all headers and source files in a folder? *.cpp *.h


What is the difference between "dentry" and "inode table" in Linux FS?

What is a Superblock, Inode, Dentry and a File?


Adding tags to mp3s for use in music players


Installed program executable runs from wrong location


assigning value to variable creates extra values ghosting around

Function of second grep in `ps | grep -v | grep`


Change directory and then chain (`exec`) a command?

Is there a POSIX (or at least a popular) utility to set the current working directory when invoking a program?


&& and ; chaining commands: does C get executed in A && B ; C if B returns a non-zero exit status?

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


How do I grep lines ending on a specific expression


Jenkins - Bash if else statement variable not found

Spaces in variable assignments in shell scripts


retaining highest match from a column for a uniq ID

Filtering the line with the largest value for a given ID


Terminal Login Screen Language between SSH and Telnet

How to change language using command line on CentOS 7?


uncommenting text with sed is not working

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


How to compress the directory and its contents


Understanding the -exec option of `find`


What is the purpose of group "wheel" on FreeBSD (FreeNAS) OS?

Where did the "wheel" group get its name?


How can I make all fonts with all font faces show a sample string for comparison?


How to determine why "target is busy" (why it won't unmount)?


What would happen if we didn't map the kernel's memory in the virtual memory of every process, and force a context switch instead?

What's the use of having a kernel part in the virtual memory space of Linux processes?


How to (Memory Limited) > grep -F -f file_A file_B >> output.txt


How to create a directory behalf on root user?


print in awk works as a command, but not in .bashrc


How to divide numbers and return as float in #!/bin/sh

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


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


How to perform replacements defined in one file on another file


User Function to cd to nearest directory with given name


Do files actually contain an End Of File (EOF) character?


Need to sum of last column based on pipe delimiter


How to attach to a tmux session after deleting it's session file?

tmux session lost in unknown pts, cause and possible solution?


php curl not getting installed on Debian 8

Debian 8 apt-get update showing 404 Not Found


Is there a way to get security updates for wheezy after EOL


Why can't echo and printf output variables that have only whitespace characters?

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


How to sort the second column in descending order?


highlight a word without affecting the structure of text

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


Hide some commands from bash completion?


access soft symlink directory's contents in bash

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


Directory owned by a group that doesn't exist?


Difference between ! vs !! vs * in /etc/shadow


selinux restorecon on systems without selinux like ubuntu

How to read/change SELinux context on mounted ext4 image from non-SELinux system?


How do I find the files installed by a particular package? Where is the .deb file to look at?

How to get information about deb package archive?


I want to rename all files in a directory from *.ts to *.mkv

How do I change the extension of multiple files?


Echo'ing into a file only works with root and not sudo

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


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


How to find only directories without subdirectories?

Find directories that do not contain subdirectories


How to tell Debian not to worry about certain dependencies?

How to make apt ignore unfulfilled dependencies of installed package?


Find in a given directory, if there exist 2 files that have exactly the same content irrespective of their names

Can I get the opposite of `diff -q` -- matching identical files without printing their contents


What is the meaning of -n in IF statement

Usage of -n and -z in test built in - Bash


Bash for loop on all files in folder except one


How do I simulate /proc/sys/kernel/grsecurity/deny_new_usb without grsecurity?

How to safely insert USB stick/device to Linux computer?


Convert to Single line output of bc command

BC - no "\\n" at the end + start with zeros?


Linux shell script: Run a program only if it exists, ignore it if it does not exist


Bash script copy file to user's (wildcard) home dir


How to randomly sample a subset of a file


Restricting the awk output of df sum to 2 decimal points

How to restrict awk math output to 2 decimal places


How to fix boot into initramfs prompt and "mount: can't read '/etc/fstab': No such file or directory" and "No init found"?


How to move mutliple files from multiple directories to one directory

How to integrate mv command after find command?


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


Unable to open the /etc/environment using gedit in linux Debain distro

How to properly edit system files (as root) in GUI (and CLI) in Gnu/Linux?


Is there a way to log all commands run on bash together with timestamp?


Isn't a subshell created when I run the `bash` command?

Is a sub-shell the same thing as a child-shell


Command to create a screenshot of a specific area of the desktop

How to do a print screen or capture an area of the screen


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


Using | pipe character from a $variable makes it treat as just another argument in bash; how to escape it?


How to kill the tail -f process after finding the special string?

How to stop the tail when sed finds the string?


Using grep to find two or more vowels in a row

Regular Expression for finding double characters in Bash


Why when we type wrong password in terminal it has long delay to respond?

Why is there a big delay after entering a wrong password?


How to switch between tty from a shell on a graphic session

Execute command in remote active terminal


Replace a string with another list of string in multiple files in a loop

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


How do "environment variables" work when executing them in the same line with a command?

How do I set an environment variable on the command line and have it appear in commands?


Why does & work instead of &; for forks in 1 line bash loop

How can one run multiple programs in the background with single command?


Move a specific number of files from a folder to another one (by oldest)


I3 load a set of programms in specific layout

Populate an entire pre-configured workspace in i3wm


How to find the original file through multiple symlinks?


Facing syntactical problems while writing Inline bash Command

How to send variable to an inline shell-script?


Is there any way to fill earlier parts of an alias in when it's called?


Where can I get Debian Jessie 8.4 install media?

Debian apt-get install asks for the DVD Binary


How to swap Escape and Caps Lock for tty and X11


How does bash interpret the equal operator with no surrounding spaces in a conditional?


Want to link to a USB Host via my laptop

Make a computer act as a virtual USB device for other equipments


Gnome wireless issue with a working network

Can't connect to my wireless network though GNOME


How can we run a command stored in a variable?


CLASSPATH error while configuring JAVA Environment (Java Development Kit)

"not a valid identifier" when I do "export $PATH"


Copy specific file type keeping the folder structure from remote server

Rsync, include only certain files types excluding some directories


How to use sed to replace directory name

Non-greedy match with SED regex (emulate perl's .*?)


Why `kill %jobnumber` not working on stopped jobs?

Why can't I kill a SIGSTOP'd process with a SIGTERM, and where is the pending signal stored?


Rename files and directories with windows or linux reserved characters

Script to recursively replace invalid characters in filenames, not directories, with rename


Taking a File Argument and Moving to That Directory?

How to make `cd dir/filename` take me to dir/?


/usr/bin/env python runs on cmdline, fails in #! line


String elements in array with whitespaces in them being splitted?

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


Ubuntu ufw Lightsail not opening port 80

netstat is not showing port opened through ufw


Why is there a file called [ in my /usr/bin directory?


Keep specific command away from shell history

exclude specific commands from saving into history


bash script error using {} for multiple commands


Why is the integer value of SIGRTMIN (first real-time signal) 34 and not 32?

Why does `kill -l` not list signal numbers of 32 and 33?


What is the best method to list all the files of an extension in a directory?


How do you use character variables in Bash for if statements?


In bash, read after a pipe is not setting values


Get PID of any command in backgrounded piped sequence of commands


Bash inconsistent behavior between echo / assigning a variable with `set -e` and subshell

How can I get bash to exit on backtick failure in a similar way to pipefail?


How to monitor the progress of dd command in linux?


How to make tr aware of non-ascii(unicode) characters?


awk misbehaving , where some have long strings (up to 45 characters)?


Shell scripting to print multiples of 5 including 1 and 100

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


How can I download a file from a host I can only SSH to through another host?


PS1 possibly making Bash text wrap to same line


Piping curl http://cheat.sh/python to less is showing strange ESC[38;5;246m


Perl resets the EUID only when executing multiple commands through `env - /usr/bin/perl -e 'system("...")'`?

Common binaries with support for command execution, like `awk` and `vim`, not respecting setuid bit?


What does the at sign `@` and `+` sign mean when doing `ls -l`


What happens when piping the `yes` to another command?


How to count the number of bytes in a very large file, grouping the same bytes?

How to count the number of bytes in a file, grouping the same bytes?


mkdir not working, only with mkdir -p in rootserver with plesk


elegant way to sync file between local machine and server (in real time)


What the -f in the "apt-get -f install" command do?


Any function copying from clipboard to a variable in Bash?


How can I kill a <defunct> process whose parent is init?


How can one extract the exit code of a command?

How does one extract a command's exit status into a variable?


After upgrading to fedora 27 can execute binary file

How to run 32 bit programs on 64 bit Fedora 17?


If/Testing the existence of certain numerous files

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


Executing a script directly vs. executing a script via the source command

What is the difference between sourcing ('.' or 'source') and executing a file in bash?


-d foo-* within single and double square brackets

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


How to remove error in cent os7 while using ansys 18.2 ic engine module

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


Capture all the output of a script to a file (from the script itself)

Redirect all subsequent commands' stderr using exec


SSH : launch task and leave it running even if I quit the terminal

How can I make a process I start during an SSH session run after the session has ended?


scp between two servers using key Permission denied (publickey)

How to setup password-less ssh with RSA keys


Linux: how to know which processes are pinned to which core?

How to ensure exclusive CPU availability for a running process?


How to get the exact file size in linux?

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


Kali linux(Virtual Box) doesn't detect the physical wifi adapter ( Intel® Dual Band Wireless-AC 3160)?

How to use Wireless Network in Virtualbox?


rsync a file from serverC to serverA through serverB

How to ssh to a server using another server?


Which shell interpreter runs a script with no shebang?


mount 2 different directory to the same local directory

Unexpected results when mounting two drives on a single mount point


How does the fstab file read the system?

How is /etc/fstab accessed before root is mounted?


find last entered number after finding file


Bash script to wait for a process to finish on multiple servers


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


Trying to run a program in /root/ by other user by adding it to path

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


What is the difference between adding to PATH on the CLI vs in bashrc


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


Allowing `sudo su` without password over Ubuntu

Allowing a user to use sudo without a password


Unfolding the asterisk (`*`) in comand line


Deleted /etc/apt, now apt-get gives a relocation error?


How can I use a file in a command and redirect output to the same file without truncating it?

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


How to turn off invalid keypress beep in gnome-terminal?

How to disable the beep sound system-wide


ssh into server from desktop & run program X, later ssh into server from laptop & interact with X

Keep processes running after SSH session disconnects


How to convert a png file from from 600 x 800 into 600 x 400?

Force GraphicsMagick to resize image to specific width


using curly braces to run multiple commands that have spaces

Why doesn't systemctl\ {restart,status}\ sshd\; work?


How do I chmod or chown a file so that anybody in the world can access it?

Understanding UNIX permissions and file types


How shall I grep a multi-line pattern in a pdf file and in a text file?

How can I get the page numbers only of a pattern in a pdf file, regardless if the pattern is multiline?


How can I fix my script to avoid “[Yes: command not found”?

if...else...if statement (command not found error)


Read / write to the same file descriptor with shell redirection

Redirect STDERR and STDOUT to different variables without temporary files


arch/x86/Makefile:184: *** Compiler lacks asm-goto support.. Stop

make menuconfig error while trying to build kernel


How To Find All Locations Where $PATH is Set


Fedora automount external hdd where can I change the mount options

How to set default auto mount options for removable media?


Does `mv` just unlink and relink? Or does it actually somehow change the file metainfo in place?

When we use mv command, what changes take place in HDD?


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


How to convert "animated" text in a document to static text?

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


Debian installation issues with Broadcom network drivers

Problems with driver for Broadcom wi-fi card in Debian


How to accept yes from script "Are you sure you want to continue connecting (yes/no)?"

How do I run the SSH command to set StrictHostKeyChecking=no?


Changing the background of a column cell value of an based on the Value (HTML Reported created by awk)

Converting csv file (generated by db query) to html and color code the table based on Column Value


sudoers syntax error after adding a simple comma


Two files with a common field - is it possible to sort one based on the other?


Understanding the -exec option of `find`


Cannot open a file with white spaces in its name from the console. Why?

passing filename with spaces to a shell script


Why are some files in bold & others not?

What causes this green background in ls output?


Linux Mint reporting wrong core numbering?

How does the kernel assign cpu ids to physical cores?


How to connect to CheckPoint VPN on Ubuntu 18.04LTS?

getting Checkpoint VPN SSL Network Extender working in the command line


Multiple string comparison in a single if statement shell script using OR gate

Using the not equal operator for string comparison


Every user should be allowed to put/read files in directory, but ONLY the FILE OWNER can delete their files

Ability to add files to a directory but not remove existing files


Combining xargs, sed and command substitution


Why if condition giving same out put on success or unsucess?

What is the difference between the "...", '...', $'...', and $"..." quotes in the shell?


How to get the number of processes waiting for CPU on Linux?


How do I know an open-sourced app is running the open source code it claims to be running?

Do popular linux distributions verify binary packages?


'expr: syntax error: unexpected argument' - result from alias


Can we change permissions on a symbolic link?


How to use `find` command with a directory starting with special characters

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


Export environment variables parsed from YAML text file

In bash, read after a pipe is not setting values


ps command with u option only shows user processes

Why can I list other users processes without root permission?


lsof show number of open files that are more then what configured

Difference between ulimit, lsof, cat /proc/sys/fs/file-max


Is the non-open port response [RST, ACK] normal?

Why are some ports reported by nmap filtered and not the others?


Cannot write the # without being a comment

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


What is the difference between : and true?


Grant sudo rights to binary without entering password

How to run a specific program as root without a password prompt?


Double-quoting (vs not) variables in [ and [[

Why does parameter expansion with spaces without quotes work inside double brackets "[[" but not inside single brackets "["?


is it possible to get the values of read command from script when call in nohup mode

How can I pass a command line argument into a shell script?


chmod: changing permissions of 'datenbank': Operation not supported

Always get Error: Operation not supported for: find /Path/ -type f -exec chmod 755 {} \;


Shell fails to find file descriptor file when `cat`ing it

How can I communicate with a Unix domain socket via the shell on Debian Squeeze?


/bin/ksh: bad interpreter: No such file or directory

Does the shebang determine the shell which runs the script?


How can I create an image of a partition (ext4) and later mount it to browse/restore files?


One physical device mounts two /dev/video devices; which will cause fswebcam to throw an ioctl error?

Multiple /dev/video for one physical device


How can i use awk/Grep to search a specified column for a variable


Wi-Fi adapter not showing any IPv4 address in Kali Linux


Quoting within $(command substitution) in Bash


Operate on all files under a folder that are larger than some size


What are the '.' and '..' outputs in `ls -lah`?

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


How to add new line between lines in a file?


echo hello && $(echo "world") fails with "bash: world: command not found"

BASH - Command not found - LVM over LUKS Automation Script


Rsync duplicating files that in the source directory are symlinks

How to copy directories with preserving hardlinks?


Unexpected sort order in en_US.UTF-8 locale


linux + how to split ISO file to separate pieces

What's the best way to join files again after splitting them?


Tool for human interpretation of XTerm escape sequences?

How to find out which keybinding is represented by a particular character sequence


Pass Variable from inside a shell script to be used outside

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


Taking input from user as ~/directory_name and use the input as argument in different commands which require ~ to be expanded to $HOME?

How Can I Expand A Tilde ~ As Part Of A Variable?


Retaining permissions when copying a folder

How do I copy a folder keeping owners and permissions intact?


"warning: File system `ext2' doesn't support embedding." but my system isn't embedded either, why is grub trying?


Bash Query: how to append string variable to end of a specific line dictated by a int variable?

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


If I'm in some folder, but need to download exactly to /home/username folder, how to run a command like wget to download in ~ or /home/user folder?

Download using wget to a different directory than current directory


Why does vim complain "no version information available" for libtinfo?

Why does LD keep outputting "no version information available"


When is dd suitable for copying data? (or, when are read() and write() partial)


How to use flags on appplication that use env?


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


how do I output multiple files with a heading for each one but without needing to page through them?


Is it possible to directly access files out of a symlink-directory?

How do I cd up and down again with symlinks in bash?


BASH: arithmetic expressions on point values

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


if statement for a string not working as I expected

How does bash interpret the equal operator with no surrounding spaces in a conditional?


What is the difference between "du -sh *" and "du -sh ./*"?


Remove file path and extension, and just leaving the file name


Why ping works without capability and setuid

How does ping work on Fedora without setuid and capabilities?


How can I check if a file/directory is on a fast drive like SSD?

How to know if a disk is an SSD or an HDD


How to Pass Multiple Commands to Remote Device via SSHPass

How to Pipe Segment of Heredoc Output to Local File


Batch rename files to a sequential numbering


Can we create soft links that concatenate multiple files?


How does systemd use /etc/init.d scripts?


Is that possible to run Ubuntu desktop installer from the existing iso on my hard drive?


Debian 9 stretch-backports signature couldn't be verified

"no public key available" on apt-get update


How does `execve()` pass command line arguments to `main()`?

How is the C library able to access environment variables?


How to execute a file without execute permissions

su options - running command as another user


Is `/usr/lib/binfmt-support/run-detectors` supposed to choose mono or wine to run a windows or .net executable?

unable to find an interpreter when running a Windows executable


Program run from udev cannot open a window

Can I launch a graphical program on another user's desktop as root?


make use of do loop for a variable specified in sed command

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


Move (mv) file that starts with a hyphen (-)

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


Storing output of shell script to variable


yum install multiple packages requiring all for success

Is there a Yum Option that Creates an Error if a Package is Missing?


Make debian "apt" (new apt-get / aptitude frontend) cache .deb files in '/var/cache/apt/archives/'


logrotate not able to truncate catalina.out


Linux - Bash - variable assignment with command substitution is missing the newlines

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


What is this shell/Bash syntax: someVariable=someValue someCommand


How do I copy a file with scp with special characters?


Writing output of a For Loop to .txt file


Convert ls -l output format to chmod format


pattern matching to content of variable using awk

Pass shell variable as a /pattern/ to awk


bash - "for i in *.mp4" how to not print "*.mp4" if it doesn't find any files?

A star is being printed for an empty directory after running a script to list the subfolder


Add file number to beginning of each file in directory


Open file from remote computer on host computer


ssh.service will not start at boot if using ListenAddress in sshd_config but it will if started manuall after boot

sshd failed due to network not yet available


How to Copy Millions of Files from Remote Server to Local One


Querry on using command "SED" for replacing text in bash shell

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


Why does `md5sum` not give the same hash as the Internet does?


how to create progress bar when running command that take time

Progressbar in bash to visualize the time to wait


How to print selected number of lines in repeated fashion from a long file?

How to print lines number 15 and 25 out of each 50 lines?


Check what package provides a debian dependency

How can I know if a virtual package is "installed" on a Debian system?


Grep options for Regular Expressions. (ERE, BRE, Perl regex) differences

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


Intel Ethernet Connection I219-V not working under Linux on an ASUSPRO B laptop, e1000e driver reports: "The NVM Checksum Is Not Valid"


download only first few bytes of a source page


float Point math in Unix shell script and assign it to variable

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


How to tar a file from the specific directory in linux?

creating a tar archive without including parent directory


Passing named arguments to shell scripts


"Friendly" terminal color names in shell scripts?


assign string to variable with if else condition

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


how to extract just a specific part of a file name in bash

how to extract part of a filename before '.' or before extension


How to list all commands available from $PATH


cat commad outputs vast amount of characters (some are jibberish-like): What do these mean?

What is produced after using cat on an image?


How to create a bootable Debian USB drive using Windows


Count number of occurrences of a char in the sequence

counting number of specific string in each row


Make sed work through 2 or more lines (all lines in this case) instead just one

sed with multiple expression for in-place argument


How to stop a script from running if it's not root (and echo "Not running as root! Exiting...")


how to ls -l on each file in a directory

How can I run a specific command for each find result?


How to show popup after user connect to my WiFi hotspot?

Captive portal detection, popup implementation?


How to list files within date range at cli

How to list files that were changed in a certain range of time?


is shell a command line interface if so why we need terminals

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


Find all occurrences and add them together

Summing values if same second column value


How to change group for apache user in Fedora

"Symbolic link not allowed or link target not accessible" / Apache on CentOS 6


Find the smallest numbers in the second column corresponding to index values in first column


Diff of PDF files leaves garbage on next command line

Why (and how) did using cat on binary files mess up the terminal?


Sort not sorting lines with a pipe '|' in it correctly


How to use normal output with systemctl instead of less/more?

Can I prevent "service foo status" from paging its output through "less"?


How to connect a directory/filesystem on the host to a win10 vm?

Use virt-manager to share files between Linux host and Windows guest?


How can I reliably determine if a file is an image file?


Getting a window's PID by clicking on it


Typical syntax for optional script arguments

Do command line options take an equals sign between option name and value?


How to disambiguate when grabbing filename by the middle and there are several matches?

ZSH: insert completion on first tab even if ambiguous?


WiFi not working Kubuntu 20.04 - Intel 8265 Network Interface


How can i navigate directly towards a certain section of a man page just from using the terminal?

Is there way to see `man` document only for specified option of a command


Giving a home directory a specific "bit set" using chmod

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


What is the difference between 'sudo' and 'su -c'


How to change font colors for directories with write permissions in ls?

What causes this green background in ls output?


How to apply the ! (not) operator in simple terminal commands

How do I list every file in a directory except those with specified extensions?


Can I leave a process running on the computer I'm connecting to through ssh such that I can turn my own computer off?

Keep processes running after SSH session disconnects


How to set up a cronjob that runs on the last sunday of each month?


Why does echo `ls -l` does not have newlines?

Difference between 'ls' and 'echo $(ls)'


grub error: you need to load kernel first


Can't do SSH public key login under encrypted home


How to use rsync to copy files between 2 remote servers based on the localhost server?


Unzip: find a string and get inside filename

Searching for a string on multiple zip files


select rows based on specific column values

Extract a list of strings from a file, only from first column


What is a canonical way to find the actual maximum argument list length?


How can I copy files from one server to another using scp or sftp in shell script?


Is it possible to run a command in bash, and start another one based on the output of the 1st?


Weird result when piping text into sed replacement

echo text after curl command on same line


How can we run a command stored in a variable?


Grep lines starting with 1, but not 10, 11, 100 etc


Execute script on external keyboard connection

How to run custom scripts upon USB device plug-in?


What's the purpose of having "env [shell]" as an interpreter?

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


Sound doesn't work properly in root but does in normal user


Does sourcing a script in subshells still allow the commands in the script to access the state of the original shell?

Why do `jobs` and `dirs` run in command subsitution, process substitution, pipeline, and background jobs output the same as in original shell?


command shuts down too quickly for me to lsof it


Command to remove blank lines in dump file

How to remove blank lines from a file (including tab and spaces)?


Change all the // character for commenting in c++ to the c comment characters /* */

replacing and adding at the end of lines with one line sed command


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


How can I add lines to document every four lines?


Script to find files less permissive than 750?

Find directories and files with permissions other than 775 / 664


Signal the end of option arguments: double dashes `--` vs single dash `-`?

General specification for command line interface


Same pubkey allows access on one user, but not another

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


How can I enumerate unfiltered Linux syscalls?

System calls supported in running Kernel


Q: Using Grep to find a word that contains each of the vowels in the correct order

find words with all vowels in order from a file


Proper quote escaping/preserving in bash function

How can we run a command stored in a variable?


extract paragraph match with words using sed or awk

How to grep for text in a file and display the paragraph that has the text?


/etc/sudoers: why is there an entry for root?

Why does the root user need sudo permission?


bash variable with quotes and percentage


How to extract second element from path?

How to get second directory name in the perforce file path?


Username is not in the sudoers file. This incident will be reported - WHERE/HOW?

What does the error "X is not in the sudoers file. This incident will be reported." philosophically/logically mean?


Using rc.local to start server and then launch web-application?


How can *command* work, but *sudo command* not work?

Why running command as sudo returns command not found?


How many partitions can have a 'boot' flag?

What is the "Bootable flag" option when installing a distro?


Exit from script if SSH prompts for password

How to test whether SSH has passwordless access without prompting for password?


How to retrieve values from json object using awk or sed

How to extract an output from JSON to a shellscript variable?


How to reorder /etc/resolv.conf at load time


To get the value of specific attribute value as True or False, having uneven columns

Shell script- To fetch the content from the specific tag at all occurrence using shell scripting


How to combine 2 -name conditions in find?


Shell:Why do I need spaces when using pipe symbol?

Why is this command not working: "ps aux | grep xscreensaver"


Executing a Bash Script Function with Sudo


Escaping ' (single quote) in sed replace string

Print a string including single quotes and other special characters


Can I configure Linux to use a subsection of my monitor?

How can I disable a part of the screen in X.Org


How to display whole file with #include statements

Tool/script that can expand all 'include' directives in a makefile


How to use a variable as part of an array name


zsh: How to increase the default number of history entries displayed?

how to show more entries than the default 16 in zsh?


How can I delete a file with the name "*"?

Delete all files starting with a question mark


Is it possible to create a directory and file inside /proc/sys?


get absolute path into a shell script variable

Substitute ./ and ../ directories by actual names


discard lines containing specific characters

grep for all the lines that doest not have a particular word


exporting variables from environment file with spaces in values


How to add the real hostname in the beginning of Linux cli command

How to add hostname, date, and fix disk size


How can we run a command stored in a variable?


Using If, then...fi command how to determine if user has input correct file format?

bash: how do you return file extensions?


How do I deal with a ${PWD##*/} variable for FFMPEG input when there's spaces in the folder name?

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


Sh script not running in crontab but running manually with ./

BashScript works from Terminal but not from CronTab


When I log in, it hangs until crng init done


Counting no.of text files under a directory in shell scripting


Linux processes - Too large for RAM usage. What is it?


Why doesn't "sudo su" in a shell script run the rest of the script as root?


bash arithmetic works in loop; after loop, var has no value

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


Why does the TCP handling mechanism in the OS wait for an ACK from client before sending

Why is a packet is not sent until ACK is received when window size is sufficient


How can I get line numbers to appear automatically each time I call vim?

how to invoke vim with line numbers shown


How can you include a script defined in a variable?

How Can I Expand A Tilde ~ As Part Of A Variable?


grep not matching in nc output - tee gives no output


Manual entry for history missing... `man history`

Why don't shell builtins have proper man pages?


Why running eval from cli works, but running script with eval inside it, it doesn't?

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


"Syntax error: Unterminated quoted string" only when calling from crontab

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


How do I clear Bash's cache of paths to executables?


Why cat, grep and other commands can't understand files starting with minus sign?


is it possible to install a linux distro in an unmounted partition without a bootable device


Bad substitution: no closing "`" in a heredoc / EOF


`zsh` and `bash` handle command output differently


Is there a way to print a snapshot of a job that's in the background to standard output?

redirecting output of running background job in bash


After using `cat` on a binary file, why are letters and numbers left over?

Why (and how) did using cat on binary files mess up the terminal?


I have a 50GB server SSD and 40G ram, running Ubuntu, my tmpfs is taking 2 partitions of 15GB of my SSD?

Tracking down where disk space has gone on Linux?


Bash Custom Log Files with Multiple Lines

What are the shell's control and redirection operators?


Searching for a variable (=previously defined pattern) using grep

What is the difference between the "...", '...', $'...', and $"..." quotes in the shell?


The command `which` does not show the path of command correctly

Why isn't the first executable in my $PATH being used?


Why doesn't read command work with echo and piping?

In bash, read after a pipe is not setting values


what is the use of script 2>/dev/null in the following script?

Difference between 2>&-, 2>/dev/null, |&, &>/dev/null and >/dev/null 2>&1


Is it possible to find the physical address of a file in disk?

How can I find out a file's range of LBA's using its inode?


Find text files that have 2 terms in them (in any order, at any line)

Search for text files where two different words exist (any order, any line)


How to disk copy with unreadable sectors?


how to alter program preferences to run in background rather than foreground

How to run a process in background without typing & every time?


Bash: Call program with a variable in its argument list

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


Specific key (n) on keyboard not fuctional in termianl when changing to BASH


Why do my xmodmap binds involving AltGr only work on some keys?


sed: -e expression #1, char 7: unterminated `s' command

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


Linux access level permission why it is different for user and UPG

Unable to read file although member of group with read permissions


what does this command do? cat f1 f2 .. > f1

redirect to the same file as the source file processed by the command


`tail -qf *.log`, except pick up new files too

monitor files (à la tail -f) in an entire directory (even new ones)


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


How can I view multiple files' data at once?


echo containing subprocess generates unexpected output

echo text after curl command on same line


'Official' way to install some packages in Debian 10 that are in Testing?

How can I install more recent versions of software than what Debian provides?


shell script set the default numbers as double digit zero as prefix


Why does my shell script give the error: "declare: not found"?


How do I build a bash command in a script

How can we run a command stored in a variable?


How to load more than 10 files with range in executable args?

List all the files ending with 10 or 11 or 12


How to get all the matches from a file based on names in another file?


How to check the tasks that are running at different run levels in debian?

Does systemd still know about runlevels?


ulimit "File Descriptors" troubleshooting: "Too many open files"

Largest allowed maximum number of open files in Linux


Loop over files with specified extensions

Avoiding errors due to unexpanded asterisk


Difference between echo -e and echo -e " "

Does echo -e make a difference when quotes are not used?


put history command onto command line without executing it


How to replace every digit after special character '$' with '*'


How to put filename with whitespace in awk

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


cat a file containing "?" in command substitution


How do I get "other" colours in my bash prompt?

What color codes can I use in my PS1 prompt?


Can I redirect a file output to the console?

How to redirect output to file to STDOUT?


How do I pass a quote that has a space at the end as an argument in bash?


Using AWK to multiply a column in a file with float number


Get total duration of video files in a directory in hours


Cannot chown, chmod on mounted ntfs partition


assign to a number named variable to mimic command line argument

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


apt update; apt install metasploit-framework

Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)


How does rsync distinguish between destination being a local directory with ':' and '@' in the dirname, or a remote SSH?


How to attach file to mail using SSMTP ONLY!

How can I send attachment with ssmtp in Linux?


How do I properly change the debian default python 2.7.9 to python3 or another version?


& for running a command in the background


How to use wc, grep and ls to list all files that are at least 10,000,000 bytes in a directory?

Finding all large files in the root filesystem


Bash shell script error after rsync to server

Shell script works when saved with nano but not when saved with Notepad++


Compiling python with custom library path

Remote installation of pip from python3 without root


Why can I not access a file named `-` when quoting?

How do you enter a directory that's name is only a minus?


how to list all python test scripts that contain "def test"

find and echo file names only with pattern found


Checking first argument of a script if it is -e or -d

Using the not equal operator for string comparison


How to skip replacing first occurrence of a character in each line?

sed: delete all occurrences of a string except  the first one


Can I view a specific chapter in a manual?


How to fix Windows dual boot with Manjaro?

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


local variable is not accesible inside ssh block

bash shell - ssh remote script capture output and exit code?


Pass command line arguments to bash script


Why do I need to supply a password for `sudo`, when I've added my account to /etc/sudoers with NOPASSWD:ALL?

How to run a specific program as root without a password prompt?


Change Mac Address permanently inside /etc/network/interfaces


How do I redirect output of command into ls?

Pass the output of previous command to next as an argument


Remove occurrence of a pattern from string everywhere

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


Why {1,2} printed by a command in $() is not interpolated?

nesting brace expansion and command substitution


Cannot use apt-get update: Repository ... does not have a release file

Cannot Install anything on Kali Linux 2018


How does my application in Linux know how to find libraries in the common places

Where do executables look for shared objects at runtime?


how to view installation information for package to be installed by apt

How do I find the files installed by a particular package? Where is the .deb file to look at?


How can I prevent accidentally making bash quit, due to holding ctrl-d too long?

Disable CTRL-D from closing my window with the terminator terminal emulator)


Can't unmount drive without killing bash


What does a plus (+) after the file permission bits mean?


Why did my "d" break when I screwed up a bind?


How to run command recursively on files within directory and sub-directories within?

For loop in Unix : including files from sub directories


Inconsistent behavior of Bash's `cd` with symbolic links

Strange difference between pwd and /bin/pwd


Increase number of open files in mac high sierra

How to persistently control maximum system resource consumption on Mac?


How do I process my data file in bunches (without using the app parallel)?


What is the best way to find the current DISPLAY and XAUTHORITY in non interactive shell for the current user?

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


Delete text between patterns occurring in different lines

How to Remove Strings between two Parenthesis in Unix


Can't delete and remove SELinux context or ACL from a symlink in /usr/lib under root


Sample out one element from each row of file until k


call command from bash with argument variable with spaces

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


In the absence of a signal handler, does SIGTERM behave identically to SIGKILL?


Why does sed -i replace symlinks with a file?

How do I prevent sed -i from destroying symlinks?


Command to (attempt to) format a disk as non-root

How to create a file system as a non root user?


How to define a timeout for unsused session on sshd?

What is the default idle timeout for OpenSSH?


Trying to rename .xml files in unix directory


echo huge text giving arument list too long error


USB security token (not storage) from bank: VirtualBox does not see it

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


How to make bash substitution $(<"filename") silent


How can one remove a range of lines for every group of n lines?

How to print lines number 15 and 25 out of each 50 lines?


Script failing for restoration of database, as unable to proceed further


Transpose N rows with different columns into single column


Why does grep print out unexpected output when file contains carriage returns?

Grep -H not always returning file path when two matches are on the same line


A command scope variable is left assigned after executing the command

When can I use a temporary IFS for field splitting?


Split single line into multiple lines, Newline character missing for all the lines in input file

How to process a multi column text file to get another multi column text file?


If statement to tell if a file is in a directory

Delete all files in a directory whose name do not match a line in a file list


Why does the regex in bash works only if it is a variable and not directly?

shell test whether multiple lines string contains specified pattern in last line


Getting Error on updating Kali Linux 403 Forbidden [IP: 144.217.77.182 80]


File /etc/resolv.conf deleted on every reboot, why or what?


Which path is a relative pathname in a shell script relative to?


How can I prevent packages from being installed from Debian contrib with exceptions?

How to block non-free with apt preferences?


How to assign a word to execute a particular command


How to get rid of "No match found" when running "rm *"


Why does `tr` not work with find and with command substitution?

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


Can we find in history command the dates & timing of the command execution


Why is one directory's file larger than 4kB?


How to overcome tar: Removing leading `/' from member names


How does redirecting stdout to stderr work


"-bash: {}: No such file or directory" using find exec

Correct location for piping and redirecting output in find -exec?


How can Python consume a quoted argument from a shell variable?

How can we run a command stored in a variable?


What is first line written in shell script? What is the meaning of that? If I didn’t write that line what will happen? Then how to run the script?

What exactly happens when I execute a file in my shell?


How do I identify which Linux distro is running?


Creating directory in bulk using mkdir in shell script


zsh with vi-mode: How to keep a command line for future use without executing


How to make Vim display colors as indicated by color codes?


Globbing and find command. Difference between encapsulating globbing in " " and not

find not recursive when given a pattern on the command line


How do I use bash script to parse a JSON and run related commands according to the parsed results?

How to parse JSON with shell scripting in Linux?


Want to turn off "note" level messages in GCC

How do I disable g++ displaying notes for errors?


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


Get immediate folder of file using find (issue with spaces)


How to diagnose constant high cpu usage from cron


Script to change $HOME in path to tilde ~

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


What is the difference between the "...", '...', $'...', and $"..." quotes in the shell?


Pass the output of previous command to next as an argument


How to pass zeroes in the argument to the program

Using binary data as a parameter in bash - any way to allow nuls?


Weird behaviour of find -exec rm when using multiple name patterns

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


Using a variable as pattern for case command

How can I use a variable as a case condition?


Help me check the directory that my shell is currently in

How can I get the current working directory?


is it possible to combine grep -C or -A or -B with something that EXCLUDES the matching line


How can you combine all lines that end with a backslash character?


Repeat 3000 times a sequence of characters "OW HW1 HW2" in a column

Writing a character N times using the printf command


How to fix Spectre variant 3a and variant 4?

What does the "bugs" section of /proc/cpuinfo actually show?


Open a file and write to 2nd column a certain number


Why can't I use read -a to break a string into words?

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


How to reduce and remove Physical Volume from active Logical Volume?


How do I take a screenshot of a specific screen area from the command line?

Command for taking a screenshot to a new file


sum pair of columns based on matching fields


Remove files from directory that do not have corresponding pair in another directory based on file prefix?

Find files in directory with paired names


how to remove all files exclude specific files

How do I remove all files in a folder except just some specified files?


When should I use .bashrc and when .profile?

What is the purpose of .bashrc and how does it work?


How can one check in one's program if it is a service process that was started by systemd?

finding systemd unit 'owning' a running daemon process


What's the different between with a ~ and without a ~ in a string variable in Bash?

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


grep AND feature from anywhere on the line


passing and setting variables in a heredoc


What's the shortcut to delete a word "forward" in a unix terminal?


Can I reinstall windows without loosing my dualboot?

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


How to assign .* as a value to variable in bash

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


Can chmod on a directory without --recursive change who can read a file within that directory?

What are the different ways to set file permissions etc on gnu/linux


Remove forward slash when tabbing to see a list of directories

Avoid a trailing slash in bash when completing a directory name (like zsh)


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


How to search for a folder or file in parent folders

find searching in parent directories instead of subdirectories


How can I be able to `mv` a directory owned by root?


Why are some network interfaces named eth1 or wlan0 while others are named wlp4s0?

Debian 9; setting network devices for an www server


"man coproc" report error but "help coproc" works (where to find documentation for certain commands?)

How do I know if the man page I'm looking at is the correct one?


Where else could memory be used other than process, cache and tmpfs?

Tracking down Linux memory usage when not showing up in cache


Invalid command 'SSLEngine' when updating virtualservers


How can my 6 TB hdd display as full while there's 3,4 TB of files on there?

Tracking down where disk space has gone on Linux?


Why same paths are shown when running `which -a` command

Why does the "which" command give duplicate results?


How to specify what MAC, cipher and key exchange openssh should use when generating the key?


What is the proper way of giving a program network interface privileges without hard-coding the sudo password?

How to run a specific program as root without a password prompt?


easiest way to create bootable windows 10 usb from debian

How to Create Bootable Windows 10 image in Debian?


Debian, missing a lot of different firmware

Possible missing firmware /lib/firmware/i915/* for module i915


The same linux permission characters but with different numbers

What is the number between file permission and owner in ls -l command output?


Recurrent output of printf() to stdout each time fork() is invoked allthough printf() is invoked prior to fork(). And why does '\n' fixes this?

Why does a program with fork() sometimes print its output multiple times?


Can i use the same /home partition for multiple distro's partitons

Different linux distros sharing the same /home folder?


How to restrict ssh client to connect with SSH certificate only and issue an error instead an interactive login prompt?

Exit from script if SSH prompts for password


How can I expand a quoted variable to nothing if it's empty?


SH script in $PATH is not found on Linux Alpine 3.11

Shell script works when saved with nano but not when saved with Notepad++


How to escape a "\" in command parameters

mv - how to escape backslash in file name?


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


Displaying time and date next to part of the ping output


What is the Higher Virtual Memory address (Kernel Mapping) of a process used to?

The Kernel space in the address space is reserved for us by what?


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


why swapoff -a && swapon -a not help to Decrease the used swap in the linux machine


Is there a nullglob option for ksh(korn shell)?

regexp in ksh for extensions tgz, tar.tgz


What suspends my laptop after 1200 seconds of idle?

Debian 10 — adjust sleep settings via command line


change directory in shell script based on prompt

Script to change current directory (cd, pwd)


Why does a single quote inside a comment in an awk command cause quote marks to become unmatched?

How to echo `single quote` when using single quote to wrap special characters in shell?


How to edit string in terminal by vim and save the result back to terminal?

How to edit command line in full screen editor in ZSH?


Shell script throwing /usr/bin/env: ‘node’ on npm install

Bash script not handling npm commands correctly


How to use pipes and stdin with commands that use - characters

Using data read from a pipe instead than from a file in command options


How do I find the source of the symbolic linked file in the Linux

Finding the original file of a symbolic link


Why can certain commands be ran through a variable, while others can't?


'qt.qpa.screen: Could not connect to display' error when run python script at boot

Xdotool using "DISPLAY=:0" not works in Crontab


How to write this basic script to prompt and find username

How to see process created by specific user in Unix/linux


Looking for the right way to rename the GRUB boot entries


how to remove New line character using Sed or perl

How to remove newline character between two strings <font>\n</font> in unix?


Why does my "delete oldest files if more than x in directory" shell script not work?

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


rename files based on the directory name


How to allow file xfer for users to/from a system, but not ssh, without changing their shell

Provide sftp read/write access to folder and subfolders, restrict all else


it does not work the creation of environment variable permanent using a script.sh in linux

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


Log entirety of bash script and prepend timestamp to each line

Prepending a timestamp to each line of output from a command


Does grep -r always search through files in the same order?

Does the Bash star * wildcard always produce an (ascending) sorted list?


How to iterate more than 10 directories using "for dir in equil[0123]"?

What is the difference between `a[bc]d` (brackets) and `a{b,c}d` (braces)?


Ctrl-D signal confirmation to avoid exiting terminal

How can I keep control+d from disconnecting my session?


How can I create a file with executable permission itself?

Can files be created with permissions set on the command line?


Why says readlink that there is no such file or directory

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


Why ssh-keygen -f "~/.ssh/known_hosts" -R "hostname or ip" doesn't work?


Difference between [0-9], [[:digit:]] and \d


Why should I use $[ EXPR ] instead of $(( EXPR ))?


How much space does my little file take up, exactly?

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


How does one have custom LS_COLOR work for ZSH?

How to change the output color of the ls command in terminal in OS X and iTerm2?


Why is my directory getting quotes around it when created?

Why is 'ls' suddenly wrapping items with spaces in single quotes?


Substituting string in a file by another string with leading zeros in linux


piping ls to other programs vs loop globbing

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


Automatically verify passwords for classroom exercise?


Is there a way to make `man` reflow text when the terminal window is resized?

Dynamically reformatting man pages on terminal dimension changes


How do I add X days to date and get new date?


Mv files listed in txt file up a directory

move file by list in file (with leading whitespace)


How do I look up exit codes for applications?


how do I mount the hard disk with Windows on it?

What is the correct permission in /etc/fstab to mount NTFS?


How to create files from a list which contain space

How to make xargs handle spaces and special chars from cat?


How to convert a 3 column csv file into a table (or matrix)


systemctl --user not available for www-data user


How to hand over arguments containing "-" in Bash?

Match with grep when pattern contains hyphen "-"


Ubuntu: bash: cannot create temp file for here-document: No space left on device

Tab completion errors: bash: cannot create temp file for here-document: No space left on device


Run a function in a Shell Script as a different user

Executing a Bash Script Function with Sudo


Shell script won't reading non- .sh files

Read a line-oriented file which may not end with a newline


What is the most similar distro/flavor to the original UNIX source code?


Linux unable to find and execute script, despite being in the correct directory

No such file or directory but I can see it!


Why does delete work but not arrow keys in terminal?

Is there any reason why I get ^[[A when I press up arrow at the console login screen?


How to switch user or lock PC via keyboard shortcut manjaro XFCE


Why don't I see escape sequences in redirected stream OR how is color output implemented?

How does a program decide whether or not to have coloured output?


cat in process substitution hangs: what is it waiting for?

The process substitution output is out of the order


Control physical tty over ssh - send enter key

Construct a command by putting a string into a tty


Is it possible to get the history of commands run with "at"?


mkpasswd -m sha-512 password -s "22446688"

Why 'mkpasswd -m sha-512' produce different result every time it is called?


Remove extra header lines from file, except for the first line


Linux Bash: Variable to another variable

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


Comparing working directory with "string"

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


getopts in function that is called more than once in a script, getopts doesn't detect any opts after 1st function call

Bash function with `getopts` only works the first time it's run


Intel HD Graphics is not working with Debian Stretch

How do I install/update drivers on Debian 9?


What is difference between `` and $() for command-substitution in bash scripting?

What's the difference between $(stuff) and `stuff`?


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

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


Install Virtual Box GuestAdditions on Debian 9.4.0 with Windows 10 Host

How to install VirtualBox Guest Additions in a Debian virtual machine


How to Change Mirrors in sources.list Automatically?


Prevent SIGINT from interrupting function call and child process(es) within


shellcheck warns about loops over find output even when given the path to begin search

Why is looping over find's output bad practice?


How to rsync files between two remote servers?


How Do I compare text in 2 files and export to file 3?

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


How to force all CPU cores to run at maximum turbo boost frequency?


How to conditionally do something if a command succeeded or failed


How to extract text inside first pair of colons


Delete/add/replace pages in PDF while preserving bookmarks

How to preserve bookmarks when rearranging pages of a PDF file with tools like pdftk?


Which application responds to a keybind (desktop)

How do I find out what program 'owns' a hotkey?


Move folder structure across multiple directories


Add two 256-bit hexadecimal numbers in bash?

How to add two hexadecimal numbers in a bash script


How do I sync two ubuntu folders which are in different servers configured in aws?


Why are POSIX Find Parameters Different from Other Program styles?


Get the size of my disks on several system


Run a bash script stored on a screen on my server from a local machine remotely

Create a screen, launch a command in it and detach


Why I'm I getting the no matches found error when there is a match?

Why isn't this sudo mv operation with wildcard working?


Display text starting at a specified line

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


The number of processors and cores in my systems


Can't find the reason why root directory usage is so large

Why is there a discrepancy in disk usage reported by df and du?


What differences it will make, if i use "telinit 6" instead of "reboot" command to restart my computer?

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


macos - terminal deleting parts of filepath beginning with "$"

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


How do I the extract the first digit from a number (variable in a bash script)?

Grabbing the first [x] characters for a string from a pipe


How to use variables inside single quotes


Does option "-h" for "ls" display size in MB or MiB and is it consistent over Unix-based systems?


What is "C sort order" in pm-action manpage?


Design rationale behind search bit for directories

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


loop file download with underscore in filename

How to avoid space after bash variable in string?


How do I write a command for the Exec key in a .desktop file containing a reserved character correctly?


How can I do SSH port-forwarding only when the address/port is available?


Can't compile any c program (/usr/bin/ld: 1: Syntax error: newline unexpected)

Can't compile any c/ c++ program, linker problem


How to list all the three-letter files in /etc that start with s?

How can I search for a file with fixed name length using ls?


Does root has access of files that he doesn't own?

How do file permissions work for the "root" user?


Pass shell variable as a /pattern/ to awk


Discrepancy between file size and disks occupied

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


how to delete all directories in a folder

How do I remove all sub-directories from within a directory?


Extract maximum values for each objects from a file

find the min and max value in two columns


Bash while loop stop after a successful curl request

Return code for curl used in a command substitution


How to work around wildcard inside double quotes?


sed command – sed 's/test/toast/' – not replacing all 'test' in file


Redirect outgoing port 25 to another network

route on specific interface based on port


bash: looping through characters not working


What does the version string from dpkg/aptitude/apt-show-versions mean?

understanding Debian dpkg package version numbers


sed search and replace last field of a line

How to change 3rd field of numbers to text?


How to make a debian backup on an external usb HDD?

Time Machine system recovery alternative for linux


How to kill all process with given name?


ASH scripting quotes in backticks works with echo but not with actual execution

How can we run a command stored in a variable?


Man Synopsis Doesn't Have Libraries Which Needs


Whats causing my script is exiting while loop


Trying to use sed within eval statement?


How to read /proc/PID/maps without sudo?

Losing permissions by adding capability?


Unexpected behavior during index assignment in a Bash array

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


find command with negated condition still considers the given directory

Is it possible to exclude a directory from the find command?


Need help calculating population total and average using a bash awk script

Calculating the average area of the states listed in states.txt


What is the difference between $CMD and eval $CMD?


automating entering username and password on terminal using bash

Automatically adding user and password to openvpn script


Could some explain me how to send email in tabular format using shell script?

Multiple html files in Email body as separate table blocks


Sort .csv file alphabetically doesn't work correctly when there is a hyphen

Why do different installations of sort sort punctuation differently?


Where do I find the allowed maximum number of symlink dereferences?


Sort the files by size retrieved from a series of folders

Sorting files according to size recursively


In bash, why is `SHELL=/bin/sh lesspipe"` gramatically correct?

What is this shell/Bash syntax: someVariable=someValue someCommand


Rename multiple files if they endswith "md" to "sh"

How do I change the extension of multiple files?


Schedule a command to execute minutes later


Source shell script automatically in terminal


history + display date and time for each command


Redirect a portion of a bash script to a file to capture set -x output


How to make “less” exit with clearing the screen?

Neither `less` or `less -X` clear screen on exit


linux: how can i open a gui program like google-chrome from the command line so that it stays open even after teminal closes

I am using `&`: why isn't the process running in the background?


Command to find the folders modified on a particular date

Getting all files that have been modified on a specific date


How to execute two grep commands on the same file?

How to run grep with multiple AND patterns?


Pipe output of two programs running in parallel to another program

Combine the output of two commands in bash


How to figure out why executable crashes (I don't have the source code)


Can someone explain to me what this **diff** means..?


Compare element between two similar array


How to detect whether a string is present in stdout without affecting the output?

How to grep a program's output but also echo the output normally?


why bash prompt won't update unless I call bash again

Bash prompt execute command every time a new prompt is displayed


How to parse with Bash script? (platform MIPS)?


curl stops working when used in combination with xargs

echo text after curl command on same line


Are there any pitfalls to having a file-system directly on the hard disk with no partitions?

The merits of a partitionless filesystem


I want to check the output of multiple files by typing a single command

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


Return only the portion of a line after a matching pattern


List all XML files in directory, from newest to oldest

Alias for directory listing sorted by time modified in reverse order


With "reject_sender_login_mismatch" I can no longer send email

I can't send email via my own Postfix anymore due to enforced restrictions that I made


Matching files in a directory and checking


Include $ as a non-special character in bash script


How to create a process like Redis that can not be killed

How to restart a process automatically when it killed in linux/CentOS


Why is "echo" so much faster than "touch"?


Why redirecting output sometimes produces an empty file?


sum of the decimal values upto 5 decimal points in shell preferably awk

sum of the amounts in a file should be stored as single value in an shell variable


How can I use passwords with bash special characters on the command line?

How to use a special character as a normal one in Unix shells?


Wheel user with sudo permissions can't write to file with tee, but can create it. How to fix?

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


How do I preserve the return status of the a command in a chain of piped commands?

Get exit status of process that's piped to another


sed -i - edit files in place does not work in compound commandq


How can I launch a GUI program from a terminal but close the terminal once it's launched?

How can I run a command which will survive terminal close?


Why is bash sourcing .bashrc in non-interactive mode when working via ssh?

Why does remote Bash source .bash_profile instead of .bashrc


What is the meaning of $? in a shell script?


Stderr sometimes gets redirected to /dev/null

How do I debug why stderr is being suppressed?


CentOS 7 Directory Permissions Not Working As Expected

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


How to remove the empty lines in a file in linux

How to remove blank lines from a file (including tab and spaces)?


How can I replace either of the range endpoints with a variable?

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


Getting information on a machine's hardware in Linux


What will happen if I add 1 million lines in /etc/hosts/


dealing with nested quotes in bash scripts redux

Quoting within $(command substitution) in Bash


Why does mkdir dir{1..10} create dir10 before dir2?


Get how much space is used by some packages

Which installed software packages use the most disk space on Debian?


My user is a member of www-data but I cannot access html folder

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


i want to copy a directory from my local system to a remote machine using rsync

How to copy a folder from remote machine to my system using ssh or any other way


Why does local fn=$(...) mask the $? status code


Shell replace forward slashes with backslashes

Replacing backslashes with forward slash within double quotes


Do all POSIX shells implement arithmetic expansion $((...)) in the same way?

Understand two examples using indirect expansion for variable expansion in arithmetic expressions


Where is the password stored for ssh authentication?


Filtering 20GB of .csv files with grep: lookbehind doesn't seem to behave as expected

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


Shortcut in mv command to rename file without changing its directory

Can you conveniently rename a file without changing directory?


How do I really hide all console output from the process I start?


Access last command of history within a function


Bring back a deleted file without copying its content

How to create a hard link to an inode (ext4)?


How to merge two unallocated partitions which 1st is on left site and 2nd is on right side

How can I merge unallocated hard disk space to my linux partition?


Change to background image in tmux in urxvt-256 using printf command

tmux and control sequence character issue


Why does this wget command fail to download this file?


How to declare -A MYASSOCIATIVEARRY globally?

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


why does shell use executable in /usr/bin and not in /usr/local/bin

Why isn't the first executable in my $PATH being used?


Bash: How to fake an input file in arguments neccessary for a command


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


Copying files with spaces in the name using a shell script

Automatically rename files when they are placed in a specific directory


How to get disk usage ,availability and total capacity?

How to get hard disk information from /proc and/or /sys


Command to yield just the linux distribution name only

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


How can I brighten up blue directories in ls --color?


How to run startx from non-login (e.g. ssh) session on Linux?

How to manually run/init/start a Xorg server on a different VT/TTY?


Why the following redirection doesn’t work?

Why can't certain programs (like readlink) take input from a pipe?


How to read/write data to my ttyS0 port on my HMI running on Linux?

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


Will the command `script /dev/null` stop or affect the running applications and server?


Is it possible to sort out similar rows in a table and put the number in a column?

Sort and count number of occurrence of lines


syntax for using head with filename stored in variable

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


Why does transfer files to another computer by `sudo rsync` require the destination computer's root's password?

how to use rsync (using password-less ssh), with sudo just on the local side?


Explanation for the command "kill -n 9 0"

Why does "kill -9 0" end my console session?


Why doesn't this use of the pipe operator work?

What's the difference between STDIN and arguments passed to command?


How Can I Safely Move /var to a New Disk or Partition

Moving /var, /home to separate partition


How can I safely pass an argument containing '{{}}' to a bash script?


Is there a standard array name for $@, like ${ARGS[@]}?

How to remove a positional parameter from $@


Can I use a variable in a Bash brace expansion?


How to empty the list of supplementary group IDs for a process?


Convenient way to cd into a frequently-used dir?

Quick directory navigation in the bash shell


How can I split a monolithic partition into two, one for `/` and one for `/home`?

Change main partition size to install another distribution


"Failed to start lvm2.service: Unit lvm2.service is masked"


How to find the directory from where the script is invoked without using $pwd in the my script

Get directory from which script was called from


Is it possible to put the output of one command into the middle of another

Pass the output of previous command to next as an argument


Difference between process group and job?


How shall I split a partition containing `/` and `/home` into two logical volumes?


History substitution fails when implemented in shell script


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


Find out current working directory of a running process?


Do Linux directory permissions overrule file permissions?

Directory permissions vs file permssions


Why does `losetup` need to associate loop devices with block devices?


Meaning of a hyphen as a special parameter?


Is it possible to check where an alias was defined?


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


Script - Write stdout and stderr to a file AND to the terminal without pipe

Using exec and tee to redirect logs to stdout and a log file in the same time


Can only write as root although user seems to have full permissions

Mount cifs Network Drive: write permissions and chown


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


Is it possible to have bash but not awk?

Are there versions of Unix that don't have awk in default install?


Udev - Network cable hotplug event not catched

Debian workaround 838871: dhcp network configuration without blocking boot process


Bash Shell takes variable amount of time to load

How to get execution time of a script effectively?


How can I find the implementations of Linux kernel system calls?


Get list of files deleted by `find -delete`


How to pipe app1 to app2, but show both output in terminal?

Output to stdout and at the same time grep into a file


The python command starts the the wrong version of the python interpreter


suid /bin/echo cannot write to elevated files?

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


How to install package in 86 hosts in the same time (RHEL)?

Linux equivalent to PowerShell's "one-to-many" remoting


How to run a specific program as root without a password prompt?


Delete text block with matching search word

Removing blocks from configuration files?


How can I alias a domain in .ssh/config?


The output of du -sh /tmp is much greater than the sum of du on each file and directory in /tmp. Why?

du gives two different results for the same file


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


Getting Error on updating Kali Linux 403 Forbidden [IP: 144.217.77.182 80]


CIFS randomly losing connection to Windows share


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


"Error: Forbidden" when I try to apt-get update


Match with sed between 2 different patterns

Print lines between (and excluding) two patterns


How to redirect output of a program to a ZIP file?


How does a FIFO (named pipe) differs from a regular pipe (unnamed pipe)?

What is the purpose of using a FIFO vs a temporary file or a pipe?


Why does `rm` claim my symlink is a directory?

Trailing slashes on symbolic links to directories


How does a temporary file differs from a pipe?


bash is stripping leading whitespace from variables


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


When is `_` dropped out of the environment?


why can't `_` be exported to the environment of bash?


How to pass arguments to function in a bash script?

How to pass parameters to function in a bash script?


Can I invoke a GNOME screen-lock from the terminal?

How can I lock my screen in Gnome 3 without GDM?


Can grep output only specified groupings that match?


Is it possible to source ~/.profile in the current shell from a script?

How to export variable for use with sudo?


Replace a line with the full text of a second file

Substitute pattern within a file with the content of other file


Will dynamic link library must be loaded into RAM


/usr/bin/env: ‘awk -f’: No such file or directory

Shebang line with `#!/usr/bin/env command --argument` fails on Linux


How to ssh to a remote host using from within a bash script function?

Shell Script for logging into a ssh server


Debian: The repository does not have a Release file


Group permissions for root not working in /tmp


How to assign value to variable and print it

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


Cursor appears at the beginning of command line


Why can't I answer to `rm -i`'s interactive prompt?

Cannot prompt user using rm bultin prompt option -i with xargs and find


Is it possible to deauthorize all foreign usb by default?

How to safely insert USB stick/device to Linux computer?


Output file #0 does not contain any stream

How to download portion of video with youtube-dl command?


How would I create a virtual audio device in Ubuntu?


in bash, is there a shortcut to wipe out typed password?

Clear / erase a mistyped invisible password on a shell / terminal in Linux


Remote access to a Minecraft server over SSH

Restricting a user to a certain directory on SSH login


Collapsing a series of comma separated numbers in a sequence to Beginning-End

Convert a comma delimited list of numbers to a hyphenated list or range


How to kill a command run from a script after a period?

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


How does non-shell application read input from keyboard

How do keyboard input and text output work?


Temporarily launch dhcp server for point to point ethernet connection

How to connect to device via SSH over direct ethernet connection


what is the difference between cd ~ and cd /home?


What kind of Hashing algorithm is my Linux using?

The format of encrypted password in `/etc/shadow`


facing issue while populating/referencing the variable in shell

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


Pass qouted filename with spaces in a bash variable

How can we run a command stored in a variable?


How to correctly escape command arguments from an environment variable


nested while loops not working as expected

Using while loop to ssh to multiple servers


How to take command arguments from a file, one per line?

Passing arguments from a file to a bash script


Determine which files are located in a physical area of an ext4 partition

Is there a tool to visualize a filesystem allocation map on Linux?


Finding the meaning of a command argument

How do you search through flags in the manpages?


The UNIX Programming Environment by Kernighan and Pike

Learning from Unix Programming Environment


echo lines of file - but no more than N characters per line

Grabbing the first [x] characters for a string from a pipe


Pass shell variable as a /pattern/ to awk


Debian: How does apt verify downloaded packages?

How is the authenticity of Debian packages guaranteed?


bash: set the value from log as a variable

Perform floating point arithmetic in shell script variable definitions


how to pass a string with spaces as argument in shell script

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


What is the alternative of netstat in linux?


How to find application's path from command line?


enforcing an envirnomental variable to a terminal/tty


how to replace text which has ' using sed


Why don't shell builtins have proper man pages?


Sheduling a shell script using crontabs for a rolling 5 hour interval across days


Tab in the end of the row is getting lost when using while loop


Is there a reason to use multiple question marks instead of an asterisk in filename expansion?


Command in cron has syntax error; same command entered on command line does not

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


Why cp and mv behave differently in bash script than command prompt?

Why doesn't my Bash script recognize aliases?


Use arguments to pass parameter information to cURL script

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


Find everything between FROM and WHERE words excluding the words itself, pattern can have multiple occurrences

Grep lines between start & end pattern even end pattern in next file


POSIX compliant way to redirect stdout and stderr to a file

What are the shell's control and redirection operators?


How to solve an "output going to a pipe" overflow? Does an asynchronous pipe exits? My command : "ls -l *.htm | wc -l" is failing


Finding the original file of a symbolic link


Using bash script to automate executable runs


Switch the default shell by another interpreter


Home/End buttons don't work when connecting to Solaris via Putty


Renaming mutliple files in one shot - what's wrong with that command?

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


Which is more idiomatic in a bash script: `|| true` or `|| :`?


zathura shortcut for backward sync (ctrl+click)

How to remap an existing keybinding in Zathura


Is there any way to display the package contents using `apt-get` without first downloading the package?

How do I find the files installed by a particular package? Where is the .deb file to look at?


Using Tail on a process causes character input delay & disruption


libvirt: how to pass qemu command-line args now libvirt schemas is 404

Libvirt: how to pass qemu command line args?


How to get lines 10 to 100 from a 200 line file into a new file


What is the behavior of redirects when there's no command?

Understanding Bash's Read-a-File Command Substitution


PPAs will not install "sudo: add-apt-repository: command not found"


What is the proper way to loop through each directory in a for loop?

How do I loop through only directories in bash?


Centos - List all install packages order by name

CentOS: List the installed RPMs by date of installation/update?


List only regular files (but not directories) in current directory


Why does `*.ext` work in finding a file with extension 'ext'

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


How to add a path before the first character of each line in a file.txt and save the same file with those edits?

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


How to tell systemd to stop restarting service?

How do you disable a service in systemd?


Can two files on two separate filesystems share the same inode number?

Why do the directories /home, /usr, /var, etc. all have the same inode number (2)?


Standard location for holding software source files


Tar crontab not working, while command works on it's own


grep buffer for previously executed command output


xclip copy file so it can be pasted as a file (not file content)

Copying files from command line to clipboard


bc: Why does `ibase=16; obase=10; FF` returns FF and not 255?

Understand "ibase" and "obase" in case of conversions with bc?


Debian: Why my debian_version is "buster/sid" after upgrading from stretch to testing


pass stdout fd to 'read' system call, but it still works fine

How (and why) use stderr for both reading and writing?


Splitting file based on size, but make sure that it ends with newline


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


Command line generates different hashsum than online hash generator…

Why does `md5sum` not give the same hash as the Internet does?


linux patches related to time measurement accuracy?


How to use watch command with a piped chain of commands/programs


How do I make a cd command take effect outside of the bash script subshell?

Script to change current directory (cd, pwd)


What is the difference between 'rm' and 'unlink'?


How to find out where my alias are defined in CentOS?

How can I find a rogue alias declaration?


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


How can I run a bash script from an absolute path versus a relative path


resume reading a log file from the point I left it last time

Display lines in last 10 minutes with specific pattern in logs


Error Displaying last 10 minutes log with awk


What do you understand by this line "dr-- -w- --x file"

What do the fields in ls -al output mean?


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


Add something at the end of every typed command

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


Variable substitution with an exclamation mark in bash


grep to a file from one server to another

Linux equivalent to PowerShell's "one-to-many" remoting


How to control which network is used for different things on Ubuntu?

Separate Network Traffic on Two Network Interfaces


cp - Does not recognizning accent characters


Trying to export a path from inside a bash script

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


How to set file permissions with touch command


what does "$@" mean inside a find command

What is the difference between $* and $@?


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


How can I use a variable string within command substitution?

How can we run a command stored in a variable?


How to execute a command that has many nested single and double quotes with a quoted variable in bash

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


Change main partition size to install another distribution


line 7: [: missing `]' I have that error How do I fix it? I have indented

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


Getting awk value and outputting to a file


How to add both date and space to a filename

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


what is the meaning of the following shell option - shopt -s nullglob extglob

How do you get descriptions of the available `shopt` options?


Log file extract data and append back same line


How to restore file permissions, to their default. Following chmod -R 777 /


How can I use TLS on a local apache development server (on localhost)

The correct way of implementing SSL on localhost


Making backlight brightness persistent across reboots

How to run Bash script on startup on Linux?


running bash script from cron job not working properly


Getting the IP address of a given interface

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


How can I print a hollow rectangle star pattern?

How do i make this script print out multiple boxes?


How can we run a command stored in a variable?


Is there a way to tell make to apply a rule to every file that matches a pattern?


Passing directory from command line to shell script

How can I pass a command line argument into a shell script?


How do I set a bash variable that contains another variable?

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


How to know, what SHELL is used when running a script?

determine shell in script during runtime


Why is looping over find's output bad practice?


Are Blanks, Spaces, and tabs part of a string?

Posix Character Sets difference between [[:blank:]] and [[:space:]]?


bash string substitution re-arranging string?

echo text after curl command on same line


Separate clipboard for particular application


How to export Linux command history to a file with the command logs


Clone partitions and content of an SD card onto another one


Bash - move/rename numeric sorted files from input number onwards

Rename files by incrementing a number within the filename


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


File name with spaces is treated as multiple files

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


How do get column position for multiple column names

How to get position of multiple column name


Not able to calculate sum of multiple column where file data in different format .csv

How to create a function to sum the required multiple column


How to terminate a process when kill -9 doesn't work?


assign output of awk command to array linux

How do i store output of the function into an array


How to show how many times bash has been invoked?


bash parameter expansion doesn't appear to be a simple textual substitution


How to pass a multiword string as argument in Linux


Why do I Get a Blank Output When echoing $variable?

How do I set a user environment variable? (permanently, not session)


Print lines between (and excluding) two patterns


filter csv file based on list of id in another file


Why does the wildcard work differently when placed at the start or at the end of a grep phrase?

How do regular expressions differ from wildcards used to filter files


Why does an inline variable definition work but a previous line does not for an aws command?


Best way to set a conditional output filter (head or output "as is")


How to skip the first line of my output?

How do I delete the first n lines and last line of a file using shell commands?


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


How can I get the result of ls into a variable in bash Script?

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


how to have a custom zsh auto_cd command


Can't loop files using pwd if current directory has spaces in the path

Looping through files with spaces in the names?