Gang Of Coders
Home
About Us
Contact Us
All Unix Solutions on Gang of Coders
Total of 665 Unix Solutions
How can I check if a directory exists in a Bash shell script?
Bash
Shell
Unix
Posix
How do I remove the passphrase for the SSH key without having to create a new key?
Unix
Ssh
Passwords
Openssh
Passphrase
Which shell I am using in mac
Bash
Macos
Shell
Unix
Zsh
Command line command to auto-kill a command after a certain amount of time
Macos
Unix
Command Line
Utilities
Cpu Usage
How to get diff to report summary of new, changed and deleted lines
Unix
Diff
nginx error connect to php5-fpm.sock failed (13: Permission denied)
Unix
Nginx
Php
Close Terminal window from within shell script (Unix)?
Macos
Shell
Unix
Command
Find files of specified size using bash in Unix
Bash
Unix
How do I kill this tomcat process in Terminal?
Java
Linux
Unix
Tomcat
Terminal
How to tail all the log files inside a folder and subfolders?
Unix
Logging
Command Line
Tail
How can I tell if PostgreSQL's Autovacuum is running on UNIX?
Postgresql
Unix
Autovacuum
How to pipe the results of 'find' to mv in Linux
Linux
Unix
OSError - Errno 13 Permission denied
Python
Django
Apache
Unix
Delete newline in Vim
Unix
Vim
Shell
Ssh
Vi
What is a bus error? Is it different from a segmentation fault?
C
Unix
Segmentation Fault
Bus Error
What is the Unix command to create a hardlink to a directory in OS X?
Macos
Bash
Filesystems
Unix
Ln
documenting shell scripts' parameters
Linux
Unix
Shell
What is an easy way to do a sorted diff between two files?
Unix
Shell
Remove all files in a directory
Python
Unix
File Management
How do you extract a JAR in a UNIX filesystem with a single command and specify its target directory using the JAR command?
Java
Python
Linux
Unix
Jar
How to provide password to a command that prompts for one in bash?
Bash
Unix
Passwords
Which of sprintf/snprintf is more secure?
C
Security
Unix
Printf
Secure Coding
fork() and output
C++
Linux
Unix
Fork
cron command to run every 12 hours
Unix
Cron
Grab the filename in Unix out of full path
Bash
Shell
Unix
Ksh
sudo: npm: command not found
node.js
Linux
Unix
Npm
SSH configuration: override the default username
Unix
Ssh
Ssh Config
How to skip saturday and sunday in a cron expression?
Linux
Unix
Cron
Quartz Scheduler
Is there a grep equivalent for find's -print0 and xargs's -0 switches?
Bash
Unix
Grep
Find
Xargs
chown illegal group name (mac os x)
Macos
Unix
Terminal
Chown
Pass command line arguments via sbatch
Bash
Shell
Unix
Slurm
How can I generate Unix timestamps?
Unix
Unix Timestamp
UNIX, get environment variable
Unix
Shell
Environment
Echo
How to extract just plain text from .doc & .docx files?
Unix
Extract
Docx
Doc
Text Extraction
How do I calculate the log of a number using bc?
Unix
Bc
Get the exit code for a command in Bash and KornShell (ksh)
Bash
Unix
Ksh
Exit
check duration of audio files on the command-line
Unix
Audio
Sox
How do I syntax check a Bash script without running it?
Linux
Bash
Unix
Syntax
Gnu
How to check if the variable value in AWK script is null or empty?
Unix
Awk
Why does RSA encrypted text give me different results for the same text
Unix
Terminal
Cryptography
Openssl
Rsa
Use curl to download a Dropbox folder via shared link (not public link)
Macos
Bash
Unix
Curl
Dropbox
Difference between Cron and Crontab?
Unix
Cron
gpg decryption fails with no secret key error
Unix
Encryption
Public Key-Encryption
Gnupg
Is there a definitive *nix command line tool for inspecting protocol buffers?
Unix
Command Line-Interface
Protocol Buffers
Rename multiple files based on pattern in Unix
File
Unix
Rename
Batch Rename
Getting absolute path of a file
C
Unix
Path
Filesystems
Absolute
Commenting out a set of lines in a shell script
Unix
Shell
Comments
Editing
Uppercasing First Letter of Words Using SED
Linux
Bash
Unix
Awk
Sed
When does a UNIX directory change its timestamp
Unix
Unix Timestamp
Delete specific line number(s) from a text file using sed?
Unix
Sed
Line Numbers
How to count occurrences of a word in all the files of a directory?
Linux
Unix
Count
Find
Grep
How to move (and overwrite) all files from one directory to another?
Linux
Unix
less-style markdown viewer for UNIX systems
node.js
Bash
Unix
Markdown
Less Unix
How to get a file in Windows with a colon in the filename?
Windows
Unix
Filenames
Colon
Is there a way to make bash job control quiet?
Bash
Shell
Unix
Parallel Processing
How to remove blank lines from a Unix file
Unix
Awk
Blank Line
Fastest way to tell if two files have the same contents in Unix/Linux?
Linux
File
Unix
Diff
How to move a running process to background (UNIX)
Unix
Ssh
Terminal
Randomly Pick Lines From a File Without Slurping It With Unix
Linux
Unix
Awk
Random Sample
File Processing
How to understand the output of time command?
Unix
Python spawn off a child subprocess, detach, and exit
Python
Linux
Unix
Subprocess
How to set font color for STDOUT and STDERR
Unix
Shell
Terminal
How to convert string to integer in UNIX
Linux
Shell
Unix
Interactive
What does $@ mean in a shell script?
Linux
Bash
Shell
Unix
Sh
How do I get GMT time in Unix?
Linux
Date
Unix
Unix Timestamp
What does it mean to write to stdout in C?
C
Unix
Stdout
Running Groovy script from the command line
Unix
Groovy
What is a unix command for deleting the first N characters of a line?
Bash
Unix
Command
Truncate
Killing a defunct process on UNIX system
Unix
Process
Kill
Zombie Process
How to include .htaccess in tar commands?
Unix
How to uncompress a tar.gz in another directory
Unix
Tar
Gzip
After changing /etc/profile, what do I have to do to reset my shell?
Linux
Unix
How can I pipe initial input into process which will then be interactive?
Linux
Unix
Pipe
How to remove carriage return from a variable in shell script
Shell
Unix
Pipe input into a script
Shell
Unix
Pipe
Ksh
How can I exclude all “permission denied” result lines from “grep”?
Linux
Unix
Permissions
Grep
How to get the last line of a file using cat command
Macos
Shell
Unix
Cat
Quick ls command
Bash
Unix
Command
Ls
UNIX socket implementation for Java?
Java
Unix
Jdbc
Unix Socket
Shortest command to calculate the sum of a column of output on Unix?
Unix
Math
Shell
Ksh
Canonical vs. non-canonical terminal input
Unix
Input
Curses
How can I tell if a file is older than 30 minutes from /bin/sh?
Linux
Unix
Sh
PHP exec - check if enabled or disabled
Php
Linux
Unix
Exec
After forking, are global variables shared?
C
Linux
Unix
Fork
Count occurrences of character per line/field on Unix
Linux
Bash
Shell
Unix
Scripting
Is the UNIX `time` command accurate enough for benchmarks?
Linux
Unix
Profiling
Benchmarking
Convert string to date in bash
String
Bash
Shell
Unix
Date
Configure cron job to run every 15 minutes on Jenkins
Unix
Jenkins
Cron
How do I remove first 5 characters in each line in a text file using vi?
Regex
Unix
Text
Command
Vi
Starting mongod fork, ERROR: child process failed, exited with error number 1
Mongodb
Unix
Amazon Ec2
What do pty and tty mean?
C
Unix
Networking
Tty
Vocabulary
Ansible: best practice for maintaining list of sudoers
Python
Unix
Ansible
User Management
How does fork() know when to return 0?
C
Unix
Process
Fork
Internals
How to use 'find' to search for files created on a specific date?
Bash
Unix
Find
Sorting data based on second column of a file
Bash
Shell
Unix
How can I convert tabs to spaces in every file of a directory?
Bash
Shell
Unix
Spaces
In Place
What are the uses of the exec command in shell scripts?
Shell
Unix
Exec
grep without showing path/file:line
Linux
Unix
Grep
Find
Environment variable substitution in sed
Linux
Unix
Shell
Sed
How to list all users in a Linux group?
Linux
Unix
find without recursion
Unix
Find
Shell
What are the differences between .so and .dylib on macOS?
C++
C
Macos
Unix
How do I list the functions defined in my shell?
Bash
Shell
Function
Unix
Which characters need to be escaped when using Bash?
Bash
Shell
Unix
Escaping
Special Characters
How to kill a process running on particular port in Linux?
Linux
Unix
Port
Kill Process
How to sort a file in-place?
Linux
Bash
Shell
Unix
How to find out what group a given user has?
Linux
Unix
Command Line
Sysadmin
Java: Date from unix timestamp
Java
Unix
Timestamp
How do you normalize a file path in Bash?
Linux
Bash
Unix
Shell
How to grep a string in a directory and all its subdirectories?
Linux
Unix
Grep
Centos
How to check if a file is empty in Bash?
Linux
Bash
Unix
File Handling
Is Empty
Syntax highlighting/colorizing cat
Unix
Syntax Highlighting
Color Scheme
Getting root permissions on a file inside of vi?
Linux
Unix
Vi
When should I wrap quotes around a shell variable?
Linux
Bash
Shell
Unix
Quotes
Command to change the default home directory of a user
Linux
Shell
Unix
Remove carriage return in Unix
Unix
Carriage Return
Subtract two variables in Bash
Bash
Shell
Unix
Execute a command without keeping it in history
Linux
Bash
Unix
List files recursively in Linux CLI with path relative to the current directory
Linux
Unix
Recursion
Ls
How can I use xargs to copy files that have spaces and quotes in their names?
Linux
Macos
Unix
Command Line
Xargs
Using ls to list directories and their total sizes
Linux
Unix
How to permanently set $PATH on Linux/Unix
Linux
Bash
Unix
Path
Zsh
What is the Difference Between read() and recv() , and Between send() and write()?
C
Sockets
Unix
Network Programming
Posix
Listing only directories in UNIX
Unix
Shell
How to get overall CPU usage (e.g. 57%) on Linux
Linux
Bash
Unix
Cpu
In Unix, can I run 'make' in a directory without cd'ing to that directory first?
Linux
Unix
Makefile
How to generate a core dump in Linux on a segmentation fault?
Linux
Bash
Unix
Coredump
Tcsh
Find all files with name containing string
Linux
Unix
Command Line
Locate
Shell script "for" loop syntax
Unix
Syntax
Shell
How to pipe list of files returned by find command to cat to view all the files
Unix
Find
Pipe
How do I limit the number of results returned from grep?
Linux
Bash
Unix
Sh
Quick unix command to display specific lines in the middle of a file?
Linux
Bash
Unix
Text
Compare a string using sh shell
Shell
Unix
Sh
What is the meaning of "POSIX"?
Linux
Unix
Posix
Terminology
How to make child process die after parent exits?
C
Linux
Unix
Process
Fork
What is a .pid file and what does it contain?
Linux
Unix
Pid
What is the difference between tar and zip?
Unix
Compression
Zip
Tar
Can the Unix list command 'ls' output numerical chmod permissions?
Unix
Command Line
Permissions
Differences between fork and exec
C
Unix
Fork
Exec
How to use "/" (directory separator) in both Linux and Windows in Python?
Python
Linux
Windows
Unix
What does the brk() system call do?
C
Linux
Unix
Memory Management
Brk
How to concatenate multiple lines of output to one line?
Linux
Bash
Unix
Grep
Tr
Add up a column of numbers at the Unix shell
Linux
Unix
Shell
How do I pause my shell script for a second before continuing?
Bash
Shell
Unix
Suppress echo of command invocation in makefile?
Linux
Unix
Makefile
Posix
How to get the command line args passed to a running process on unix/linux systems?
Linux
Unix
Aix
Hp Ux
Sunos
How to copy files across computers using SSH and MAC OS X Terminal
Macos
Unix
File
Terminal
Copying
bash HISTSIZE vs. HISTFILESIZE?
Bash
Unix
How do I get bash completion to work with aliases?
Git
Bash
Shell
Unix
Autocomplete
How do I list all cron jobs for all users?
Unix
Cron
How to get full path of a file?
Linux
File
Unix
Path
How can I exclude directories from grep -R?
Linux
Unix
Grep
What is the difference between a symbolic link and a hard link?
Unix
Symlink
Hardlink
Given two directory trees, how can I find out which files differ by content?
Linux
Bash
Shell
Unix
Diff
Copy folder recursively, excluding some folders
Bash
Unix
Shell
Scripting
Tar archiving that takes input from a list of files
Linux
Unix
Archive
Tar
How to merge two files line by line in Bash
Bash
Unix
Crontab - Run in directory
Unix
Directory
Relative Path
Crontab
How can I convert a Unix timestamp to DateTime and vice versa?
C#
Datetime
Unix
Epoch
Data Conversion
How do I use the lines of a file as arguments of a command?
Linux
Unix
Shell
Command Line
Command Line-Arguments
SSH Port forwarding in a ~/.ssh/config file?
Linux
Macos
Unix
Ssh
How to run the sftp command with a password from Bash script?
Bash
Shell
Unix
Ssh
Sftp
linux: kill background task
Linux
Bash
Unix
Kill
Job Control
How to append contents of multiple files into one file
Linux
Bash
Unix
How to send data to local clipboard from a remote SSH session
Linux
Macos
Unix
Shell
Clipboard
How to use find command to find all files with extensions from list?
Unix
Shell
Find
Removing colors from output
Bash
Unix
Colors
Console
Ansi Escape
Run ssh and immediately execute command
Bash
Unix
Ssh
How to get key names from JSON using jq
Json
Shell
Unix
Key
Jq
How to get the current directory in a C program?
C
Unix
Working Directory
How can I pretty-print JSON in a shell script?
Json
Unix
Command Line
Format
Pretty Print
Use grep --exclude/--include syntax to not grep through certain files
Unix
Search
Shell
Command Line
Grep
Sorting a tab delimited file
Linux
Unix
Sorting
Csv
Get the date (a day before current time) in Bash
Bash
Unix
Date
Solaris
How can I convert a file pointer ( FILE* fp ) to a file descriptor (int fd)?
C
Linux
Unix
File
Posix
How to remove folders with a certain name
Linux
Unix
Rm
What is the reason for performing a double fork when creating a daemon?
Python
Unix
Daemon
How to go to each directory and execute a command?
Bash
Shell
Unix
Find
Setting PATH environment variable in OSX permanently
Macos
Bash
Unix
Path
Environment Variables
How do you run a single query through mysql from the command line?
Sql
Mysql
Unix
Command Line
How to kill a child process after a given timeout in Bash?
Linux
Bash
Unix
What are the differences between poll and select?
C
Unix
Select
Print a file's last modified date in Bash
Bash
Shell
File
Date
Unix
What are the dark corners of Vim your mom never told you about?
Unix
Vim
Editor
Vi
What specifically are wall-clock-time, user-cpu-time, and system-cpu-time in UNIX?
Unix
Operating System
top -c command in linux to filter processes listed based on processname
Linux
Unix
Process
Top Command
How do I turn off the output from tar commands on Unix?
Unix
Delete all but the most recent X files in bash
Bash
Unix
Scripting
Is there a Unix utility to prepend timestamps to stdin?
Unix
Shell
Awk
Argument list too long error for rm, cp, mv commands
Linux
Unix
Command Line-Arguments
What generates the "text file busy" message in Unix?
Unix
How to delete duplicate lines in a file without sorting it in Unix
Unix
Shell
Scripting
Sed
Awk
git-upload-pack: command not found, when cloning remote Git repo
Git
Version Control
Unix
Ssh
How do SO_REUSEADDR and SO_REUSEPORT differ?
Linux
Windows
Sockets
Unix
Portability
Bash tool to get nth line from a file
Bash
Shell
Unix
Awk
Sed
Bash array with spaces in elements
Arrays
Bash
Unix
Scripting
How to run Unix shell script from Java code?
Java
Unix
Shell
cd into directory without having permission
Linux
Unix
Permissions
Directory
How do I use grep to search the current directory for all files having the a string "hello" yet display only .h and .cc files?
Linux
Bash
Unix
Grep
Unix command to prepend text to a file
Unix
Command Line
Utilities
Prepend
How to display line numbers in 'less' (GNU)
Unix
Gnu
How can I reverse the order of lines in a file?
Shell
Unix
Command Line
Creating temporary files in bash
Linux
Bash
Unix
Copy all files with a certain extension from all subdirectories
Bash
Unix
Cp
Command-line Unix ASCII-based charting / plotting tool
Unix
Charts
Graph
Matplotlib
How to set environment variable for everyone under my linux system?
Linux
Unix
Bash
count (non-blank) lines-of-code in bash
Bash
Unix
Count
Lines
Nonblank
How to remove EXIF data without recompressing the JPEG?
Unix
Imagemagick
Jpeg
Exif
UNIX export command
Bash
Shell
Unix
Run php script as daemon process
Php
Linux
Unix
Daemon
How to download a file from server using SSH?
Linux
Unix
Ssh
How to determine the current interactive shell that I'm in? (command-line)
Bash
Unix
Shell
Csh
Tcsh
What does the line "#!/bin/sh" mean in a UNIX shell script?
Shell
Unix
Sh
Shebang
How to strip leading "./" in unix "find"?
Unix
Find
Strip
How to only find files in a given directory, and ignore subdirectories using bash
Bash
Unix
Get exit code of a background process
Linux
Shell
Unix
Process
Command line: piping find results to rm
Unix
Command Line
Find
Rm
How can I use a Python script in the command line without cd-ing to its directory? Is it the PYTHONPATH?
Python
Unix
How can I copy the output of a command directly into my clipboard?
Linux
Shell
Unix
Terminal
Clipboard
How do I find the location of the executable in C?
C++
C
Linux
Unix
Path
How do you tell if a string contains another string in POSIX sh?
Shell
Unix
Concatenating Files And Insert New Line In Between Files
Linux
Unix
Cat
Variable interpolation in the shell
Bash
Shell
Unix
check if directory exists and delete in one command unix
Unix
Save modifications in place with awk
Linux
Unix
Awk
Is it safe to parse a /proc/ file?
C++
C
Linux
Unix
Procfs
Delete files older than 10 days using shell script in Unix
Bash
Shell
Unix
Find
unix diff side-to-side results?
Bash
Unix
Diff
How do I get the path of a process in Unix / Linux
Linux
Unix
Process
Path
Environment
Is mongodb running?
Mongodb
Unix
Database
Nosql
Loop through a comma-separated shell variable
Shell
Loops
Unix
For Loop
Cut
Unix's 'ls' sort by name
Unix
Ls
Convert Unix timestamp to a date string
Bash
Shell
Unix
Unix Timestamp
Search for executable files using find command
Bash
Unix
Terminal
Find
Find Util
How to find the files that are created in the last hour in unix
Unix
Find
Which terminal command to get just IP address and nothing else?
Shell
Unix
Ip Address
don't fail jenkins build if execute shell fails
Linux
Unix
Jenkins
How do I write standard error to a file while using "tee" with a pipe?
Linux
Bash
Unix
Tee
How can I add a help method to a shell script?
Unix
Shell
Force line-buffering of stdout in a pipeline
Unix
Buffer
Pipe
Stdout
Tee
How to cat <<EOF >> a file containing code?
Linux
Unix
Sh
Heredoc
Difference between Real User ID, Effective User ID and Saved User ID
Linux
Unix
Posix
In the shell, what does " 2>&1 " mean?
Bash
Shell
Unix
Redirect
How do I get cURL to not show the progress bar?
Linux
Bash
Unix
Scripting
Curl
How can I programmatically create a new cron job?
Linux
Unix
Cron
Why doesn't "total" from ls -l add up to total file sizes listed?
Linux
Shell
Unix
Command
Prompt
Sorting multiple keys with Unix sort
Linux
Unix
Sorting
File content into unix variable with newlines
Bash
Unix
unix - head AND tail of file
Linux
Bash
Shell
Unix
Scripting
Do you need to use path.join in node.js?
node.js
Windows
Unix
Path
How to select lines between two marker patterns which may occur multiple times with awk/sed
Shell
Unix
Sed
Awk
Pattern Matching
In Python script, how do I set PYTHONPATH?
Python
Linux
Unix
Environment Variables
Only mkdir if it does not exist
Bash
Unix
In Bash, how do I add a string after each line in a file?
Linux
Bash
Unix
Sed
TCP loopback connection vs Unix Domain Socket performance
Sockets
Unix
Tcp
Loopback
Unix Socket
How to print third column to last column?
Linux
Shell
Unix
Multiple Columns
Compare two files line by line and generate the difference in another file
Shell
Unix
Why does ENOENT mean "No such file or directory"?
C
Linux
Unix
Unix - create path of folders and file
Linux
Bash
Shell
Unix
Scripting
How do I get the find command to print out the file size with the file name?
Unix
Command Line
Find
Solaris
How do I pipe or redirect the output of curl -v?
Linux
Unix
Curl
What does "&" at the end of a linux command mean?
Linux
Shell
Unix
Reload .profile in bash shell script (in unix)?
Bash
Shell
Unix
.Bash Profile
How to read a file into a variable in shell?
Shell
Unix
Sh
How can I split a large text file into smaller files with an equal number of lines?
Bash
File
Unix
Unix shell script find out which directory the script file resides?
Shell
Unix
Shell one liner to prepend to a file
Shell
Unix
List of Java processes
Linux
Bash
Unix
Command Line
Is it possible to use "/" in a filename?
Linux
Unix
Directory
Filenames
Slash
Shell Script — Get all files modified after <date>
Unix
Shell
Most tricky/useful commands for gdb debugger
C
Unix
Gdb
Debugging
Dbx
sed or awk: delete n lines following a pattern
Unix
Sed
Awk
How do I set $PATH such that `ssh user@host command` works?
Unix
Shell
Path
Ssh
How to pretty print XML from the command line?
Xml
Unix
Command Line
Find and replace in file and overwrite file doesn't work, it empties the file
Shell
Unix
Sed
Io Redirection
Executing JavaScript without a browser?
Javascript
Unix
Command Line
Scripting
V8
Checking from shell script if a directory contains files
Bash
Unix
Shell
What's the difference between an exclusive lock and a shared lock?
Unix
Locking
What is the difference between SIGSTOP and SIGTSTP?
Unix
Signals
Signal Handling
Find lines from a file which are not present in another file
Unix
Text Files
Exclude a sub-directory using find
Bash
Unix
How does SIGINT relate to the other termination signals such as SIGTERM, SIGQUIT and SIGKILL?
Linux
Unix
Posix
What's the magic of "-" (a dash) in command-line parameters?
Linux
Bash
Shell
Unix
Command Line
Get last field using awk substr
Unix
Awk
Substr
Can you change what a symlink points to after it is created?
Unix
Symlink
What does the number in parentheses shown after Unix command names in manpages mean?
Linux
Unix
Command Line
Manpage
How to use multiple arguments for awk with a shebang (i.e. #!)?
Shell
Unix
Awk
Gawk
Shebang
How do you set your pythonpath in an already-created virtualenv?
Python
Linux
Unix
Virtualenv
How do you use an identity file with rsync?
Unix
Rsa
Rsync
Dsa
Turn a simple socket into an SSL socket
C
Linux
Sockets
Unix
Ssl
Why should eval be avoided in Bash, and what should I use instead?
Linux
Bash
Unix
Eval
how to find host name from IP with out login to the host
Unix
Command Line
Hostname
mkdir's "-p" option
Unix
Command Line
Command Line-Arguments
Directory Structure
What do double-asterisk (**) wildcards mean?
Bash
Unix
Wildcard
Glob
Wildcard Expansion
Multiplication on command line terminal
Bash
Unix
Command Line
Get specific line from text file using just shell script
Linux
Shell
Unix
Sh
What does ^M character mean in Vim?
Unix
Vim
Spinlock versus Semaphore
C++
C
Linux
Unix
Operating System
Unix command-line JSON parser?
Json
Parsing
Unix
Configuration
How does grep run so fast?
Unix
Grep
An efficient way to transpose a file in Bash
Bash
Parsing
Unix
Transpose
How to get a list of file names in different lines
Unix
Ls
OS X: equivalent of Linux's wget
Macos
Shell
Unix
Http Get
How to do a logical OR operation for integer comparison in shell scripting?
Bash
Unix
If Statement
Sh
Why always ./configure; make; make install; as 3 separate steps?
Unix
Makefile
Configure
Make Install
Is there a way to ignore header lines in a UNIX sort?
Unix
Sorting
Command Line
find -exec cmd {} + vs | xargs
Linux
Unix
Command Line
Find
How does this bash fork bomb work?
Bash
Unix
pyvenv-3.4 returned non-zero exit status 1
Python
Unix
Python 3.x
Virtualenv
How to colorize diff on the command line
Unix
Command Line
Colors
Diff
What's the difference between --general-numeric-sort and --numeric-sort options in gnu sort
Unix
Sorting
Replace a string in shell script using a variable
Unix
Shell
Sed
Test if a variable is set in bash when using "set -o nounset"
Bash
Shell
Unix
sed with literal string--not input file
Linux
Unix
Sed
How to run a shell script on a Unix console or Mac terminal?
Linux
Bash
Macos
Shell
Unix
What does 'stale file handle' in Linux mean?
Linux
Unix
Convert decimal to hexadecimal in UNIX shell script
Unix
Shell
Hex
Is file append atomic in UNIX?
Unix
File Io
Posix
Atomic
Grep for literal strings
Unix
Grep
grep for special characters in Unix
Unix
Search
Grep
Special Characters
How to make a python, command-line program autocomplete arbitrary things NOT interpreter
Python
Linux
Unix
Command Line
Autocomplete
Compare two folders which have many files inside contents
Unix
Shell
Diff
Color text in terminal applications in UNIX
C
Unix
Terminal
Can I call a function of a shell script from another shell script?
Shell
Unix
Track the time a command takes in UNIX/LINUX?
Linux
Unix
Command Line
Terminal
Run java jar file on a server as background process
Shell
Unix
Executable Jar
How/When does Execute Shell mark a build as failure in Jenkins?
Shell
Unix
Jenkins
Build
Hudson
How to split a file into equal parts, without breaking individual lines?
Bash
Shell
Unix
Split
How to make an "alias" for a long path?
Linux
Bash
Unix
Scripting
How to send a simple string between two programs using pipes?
C
Unix
Pipe
Sort CSV file by multiple columns using the "sort" command
Csv
Sorting
Unix
shell-script headers (#!/bin/sh vs #!/bin/csh)
Shell
Unix
Resource u'tokenizers/punkt/english.pickle' not found
Python
Unix
Nltk
Is there a way to change the environment variables of another process in Unix?
Linux
Shell
Unix
Gdb
Environment Variables
PostgreSQL: Resetting password of PostgreSQL on Ubuntu
Postgresql
Unix
How to scroll up and down in sliced "screen" terminal
Linux
Ubuntu
Unix
Terminal
Gnu Screen
How to make grep only match if the entire line matches?
Shell
Unix
Grep
Finding empty directories
Bash
Unix
Directory
Unix: How to delete files listed in a file
Linux
Unix
How to Use CCache with CMake?
C++
Unix
Cmake
Ccache
How to grep for the whole word
Unix
Grep
Merging png images into one pdf file
Unix
Pdf
Merge
Png
What are file descriptors, explained in simple terms?
Unix
Operating System
File Descriptor
In Unix, how do you remove everything in the current directory and below it?
Bash
Unix
Directory
Subdirectory
Delete Directory
SVN encrypted password store
Svn
Unix
Encryption
Passwords
Single line sftp from terminal
Unix
Terminal
Sftp
Scp
Please explain the exec() function and its family
C
Unix
Execl
Obtaining a Unix Timestamp in Go Language (current time in seconds since epoch)
Unix
Timestamp
Go
Aborting a shell script if any command returns a non-zero value
Linux
Bash
Unix
Shell
Restarting cron after changing crontab file?
Linux
Unix
Cron
Cron Task
What is the difference between "#!/usr/bin/env bash" and "#!/usr/bin/bash"?
Linux
Bash
Shell
Unix
Shebang
Display two files side by side
Linux
Shell
Unix
Command Line
Gnu Coreutils
Insert the carriage return character in vim
Unix
Vim
Special Characters
Bash command line and input limit
Bash
Shell
Unix
Command Line-Arguments
lsof survival guide
Unix
Sysadmin
Lsof
Should a directory path variable end with a trailing slash?
Unix
File
Variables
Path
Linux/Unix command to determine if process is running?
Linux
Bash
Shell
Unix
Process
Why number 9 in kill -9 command in unix?
Unix
Command
History
Kill
How to truncate long matching lines returned by grep or ack
Grep
Unix
Ack
Identifying and removing null characters in UNIX
Unix
Shell
Null
Special Characters
What's a concise way to check that environment variables are set in a Unix shell script?
Bash
Unix
Shell
What are .a and .so files?
C
Unix
Compilation
Shared Libraries
.A
See what process is using a file in Mac OS X
Macos
Unix
Terminal
Audit
Lsof
Forcing bash to expand variables in a string loaded from a file
Linux
Bash
Shell
Unix
How can I set Bash aliases for docker containers in Dockerfile?
Bash
Unix
Docker
Alias
Dockerfile
Is gettimeofday() guaranteed to be of microsecond resolution?
Linux
Winapi
Visual C++
Unix
Timer
Linux: copy and create destination dir if it does not exist
Linux
Bash
Shell
Unix
Cp
How can I assign a name for a screen?
Linux
Unix
Shell
Gnu Screen
How can I redirect the output of the "time" command?
Shell
Unix
Time
Io Redirection
Rename all files in a folder with a prefix in a single command
Linux
Unix
Rename
Fast Concatenation of Multiple GZip Files
Linux
Unix
Gzip
Compression
Determine the process pid listening on a certain port
Unix
Port
Freebsd
Pid
Make a program run slowly
C++
C
Linux
Unix
Ubuntu
How to set breakpoints on future shared libraries with a command flag
C++
C
Linux
Unix
Gdb
Bash script to receive and repass quoted parameters
Bash
Unix
Is there any simple way to benchmark Python script?
Python
Unix
Shell
Benchmarking
How do I tar a directory without retaining the directory structure?
Linux
Unix
Gnu
Tar
Equivalent of *Nix 'which' command in PowerShell?
Unix
Powershell
Command
'^M' character at end of lines
Sql
Unix
Newline
Line Endings
Os Dependent
What is the purpose of fork()?
C
Unix
Posix
Fork
how to use sed, awk, or gawk to print only what is matched?
Regex
Unix
Sed
Awk
Gawk
How to make a shell script global?
Macos
Shell
Unix
Find directory name with wildcard or similar to "like"
Unix
Directory
Can't su to user jenkins after installing Jenkins
Linux
Unix
Jenkins
Allow user to set up an SSH tunnel, but nothing else
Unix
Ssh
How to execute the output of a command within the current shell?
Bash
Shell
Unix
Pipe
How do you find the original user through multiple sudo and su commands?
Linux
Bash
Unix
Sudo
Su
How to search filenames by regex with "find"
Bash
Unix
What do 'real', 'user' and 'sys' mean in the output of time(1)?
Unix
Time
Benchmarking
How do I recursively grep all directories and subdirectories?
Linux
Unix
Grep
Why is 1/1/1970 the "epoch time"?
Unix
Time
Epoch
Use find command but exclude files in two directories
Linux
Shell
Unix
Find
How to split CSV files as per number of rows specified?
Linux
Unix
Csv
Split
ssh-copy-id no identities found error
Unix
Ssh
Ssh Keys
grep a tab in UNIX
Unix
Grep
How to properly nest Bash backticks
Bash
Shell
Unix
Quoting
Create text file and fill it using bash
Bash
Unix
How to print the number of characters in each line of a text file
Shell
Unix
Sed
Awk
Postgres DB not starting on Mac OSX: ERROR says: connections on Unix domain socket
Macos
Postgresql
Unix
Pid
Pgadmin
How can I send an email through the UNIX mailx command?
Unix
Email
Mailx
rsync not synchronizing .htaccess file
Linux
Shell
Unix
Wildcard
Rsync
Split one file into multiple files based on delimiter
Linux
Unix
Awk
Split
Use and meaning of session and process group in Unix?
Unix
Process
Turning multiple lines into one comma separated line
Linux
Perl
Unix
Sed
Awk
Change the "From:" address in Unix "mail"
Unix
Email
How do I daemonize an arbitrary script in unix?
Perl
Unix
Scripting
Sysadmin
Daemon
What can cause a “Resource temporarily unavailable” on sock send() command
C
Linux
Sockets
Unix
How can I check the first character in a string in Bash or Unix shell?
String
Bash
Unix
Character
Exitstatus
UNIX nonblocking I/O: O_NONBLOCK vs. FIONBIO
C
Network Programming
Unix
Sockets
How to sort the files according to the time stamp in unix?
Unix
Unix Timestamp
How do I run Selenium in Xvfb?
Python
Linux
User Interface
Unix
Selenium
Unix - copy contents of one directory to another
File
Unix
Copy
Directory
cut or awk command to print first field of first row
Linux
Bash
Unix
Awk
Easiest way to strip newline character from input string in pasteboard
Macos
Unix
Shell
Docker CE on RHEL - Requires: container-selinux >= 2.9
Docker
Unix
Rhel
How to count lines of code including sub-directories
Linux
Bash
Unix
Wc
A cron job that will never execute
Unix
Cron
To show only file name without the entire directory path
Shell
Unix
Directory
Ls
What does the 'export' command do?
Shell
Unix
Command
Environment Variables
Delete empty lines using sed
Linux
Unix
Sed
printf anomaly after "fork()"
C
Linux
Unix
Printf
Fork
How do I extract files without folder structure using tar
Linux
Unix
Tar
Bash regex =~ operator
Bash
Shell
Unix
Arrays in unix shell?
Arrays
Bash
Shell
Unix
How to interleave lines from two text files
Unix
Command
Get Unix timestamp with C++
C++
Unix
Timestamp
Uint
Unix standard directory to put custom executables or scripts?
Linux
Shell
Unix
Command Line
Directory Structure
Pipe output of cat to cURL to download a list of files
Unix
Curl
How can I set the last modified time of a file from python?
Python
Unix
Last Modified
How to find file accessed/created just few minutes ago
Linux
Bash
Shell
Unix
Find
How can I remove the last character of a file in unix?
Linux
Bash
Unix
Sed
Looping through the content of a file in Bash
Linux
Bash
Loops
Unix
Io
Why should text files end with a newline?
File
Unix
Text Files
Newline
How can I grep for a string that begins with a dash/hyphen?
Unix
Grep
Escaping
What is the simplest way to SSH using Python?
Python
Linux
Unix
Ssh
How to check if $? is not equal to zero in unix shell scripting?
Shell
Unix
Difference between using "chmod a+x" and "chmod 755"
Linux
Unix
Chmod
How can I get the IP address from a NIC (network interface controller) in Python?
Python
Unix
Networking
Nic
ASCII Library for Creating "Pretty" Directory Trees?
Php
Unix
Tree
Ascii
Going to a specific line number using Less in Unix
Shell
Unix
Search
Less Unix
How can I execute a command stored in a variable?
Shell
Unix
Parameter Expansion
What is special about /dev/tty?
Unix
Using Rsync include and exclude options to include directory and file by pattern
Linux
Unix
Rsync
Darwin
How to run MySQL command on bash?
Mysql
Bash
Unix
Terminal
Special Characters
How can I send the stdout of one process to multiple processes using (preferably unnamed) pipes in Unix (or Windows)?
Windows
Bash
Unix
Shell
Pipe
How do you recursively unzip archives in a directory and its subdirectories from the Unix command-line?
Unix
Recursion
Spaces
Unzip
Bash Scripting - How to set the group that new files will be created with?
Linux
Bash
Unix
Shell
Permissions
Concatenate multiple files but include filename as section headers
Unix
Header
Terminal
Concatenation
Cat
Unlimited Bash History
Bash
Unix
Delete the first five characters on any line of a text file in Linux with sed
Linux
Unix
Sed
Is there a LINQ library for C++?
C++
Linq
Unix
What are good Linux/Unix books for an advancing user?
Linux
Unix
Command Line
How to get a unix script to run every 15 seconds?
Unix
Cron
Command
Sleep
Generate a random filename in unix shell
Unix
Shell
Random
Tcsh
Curl to grab remote filename after following location
Unix
Command Line
Curl
grep --ignore-case --only
Regex
Bash
Unix
Grep
Gnu
Concise and portable "join" on the Unix command-line
Shell
Unix
unix - count of columns in file
Linux
Bash
Shell
Unix
Scripting
Remove part of path on Unix
Shell
Unix
Scripting
Sed
/usr/lib/x86_64-linux-gnu/libstdc++.so.6: version CXXABI_1.3.8' not found
C++
Linux
Unix
How can I tell which Unix shell I am using?
Linux
Shell
Unix
Directory last modified date
Linux
Unix
Ftp
How do I list all the files in a directory and subdirectories in reverse chronological order?
Unix
Find
Ls
How can I run a cron job every 5 minutes starting from a time other than 0 minutes?
Unix
Cron
"which in ruby": Checking if program exists in $PATH from ruby
Ruby
Unix
Path
Limit the output of the TOP command to a specific process name
Macos
Unix
Command Line
Top Command
Why can't Unix programs have signals with meaningful program defined names (rather than USR1, etc)?
Unix
Signals
Crontab run every 15 minutes except at 3AM?
Linux
Unix
Cron
How to open a new file in vim in a new window
Unix
Vim
Why do shell script comparisons often use x$VAR = xyes?
Unix
Shell
Autotools
In Linux, how to tell how much memory processes are using?
Linux
Unix
Memory Leaks
Memory Management
How can I format my grep output to show line numbers at the end of the line, and also the hit count?
Linux
Bash
Unix
Grep
Forking vs Threading
Linux
Multithreading
Unix
Programming Languages
Fork
Comparing Unix/Linux IPC
Linux
Unix
Ipc
Where are core dumps written on Mac?
Macos
Unix
Signals
Coredump
What does EAGAIN mean?
C
Sockets
Unix
Posix
How do I grep for all non-ASCII characters?
Regex
Unix
Unicode
Grep
What is the cleanest way to ssh and run multiple commands in Bash?
Bash
Unix
Ssh
Fastest possible grep
Bash
Unix
Grep
Bash script error: "function: not found". Why would this appear?
Bash
Shell
Unix
Ubuntu
Terminal
Windows command to convert Unix line endings?
Windows
Unix
Batch File
Cmd
Eol
What is double dot(..) and single dot(.) in Linux?
Linux
File
Unix
Directory
Setting environment variables in Linux using Bash
Linux
Bash
Unix
Shell
sed edit file in place
Unix
Sed
Solaris
Extract file basename without path and extension in bash
Linux
Bash
Unix
Filenames
Can I export a variable to the environment from a Bash script without sourcing it?
Bash
Shell
Unix
Environment Variables
Must my pidfile be located in /var/run?
Linux
Ubuntu
Unix
Pid
Finding all files with certain extension in Unix?
Macos
Unix
Search
Terminal
How to extract a single file from tar to a different directory?
Unix
Tar
How to attach a process in gdb
Unix
Gdb
Force "git status" to output color on the terminal (inside a script)
Git
Shell
Unix
Io
Terminal
Windows Equivalent of 'nice'
Windows
Unix
Process Management
How do you introduce unit testing into a large, legacy (C/C++) codebase?
C++
C
Unit Testing
Unix
Legacy
Location of ini/config files in linux/unix?
Linux
Unix
Configuration
Is there a way to edit a symlink without deleting it first?
Unix
Symlink
How to convert DOS/Windows newline (CRLF) to Unix newline (LF) in a Bash script
Linux
Windows
Bash
Unix
Newline
centos: Another MySQL daemon already running with the same unix socket
Mysql
Sockets
Unix
Centos6
echo >&2 "some text" what does it mean in shell scripting
Shell
Unix
Sh
How to instruct cron to execute a job every second week?
Linux
Unix
Cron
Scheduling
How can you untar more than one file at a time?
Unix
Shell
Tar
How do I find all the files that were created today in Unix/Linux?
Linux
Unix
Get Current date in epoch from Unix shell script
Unix
Shell
Epoch
Difference between sh and Bash
Bash
Shell
Unix
Sh
Recursive mkdir() system call on Unix
C
Posix
Unix
Mkdir
Replace the first line in a text file by a string
Linux
Shell
Unix
How to get the primary IP address of the local machine on Linux and OS X?
Bash
Unix
Ip
Ifconfig
How do I escape spaces in path for scp copy in Linux?
Linux
Unix
Ubuntu
Whitespace
Scp
Using the passwd command from within a shell script
Linux
Bash
Unix
Shell
changing chmod for files but not directories
Unix
Grep
Chmod
How to delete only directories and leave files untouched
Unix
Directory
Rm
How to change the sender's name or e-mail address in mutt?
Unix
Mutt
Why does this program print "forked!" 4 times?
C
Linux
Unix
Fork
Systems Programming
Where should I place my global 'gitattributes' file?
Git
Unix
Path
Gitattributes
lsof print numeric ports
Unix
Tcp
Ports
Lsof
Show special characters in Unix while using 'less' Command
Linux
Unix
Command
How do I get bc(1) to print the leading zero?
Bash
Unix
Bc
Reading filenames into an array
Bash
Unix
Cygwin
How to comment out particular lines in a shell script
Shell
Unix
Sh
Is PowerShell ready to replace my Cygwin shell on Windows?
Unix
Shell
Powershell
What's the meaning of a ! before a command in the shell?
Linux
Bash
Shell
Unix
Sh
How to remove files starting with double hyphen?
Bash
Unix
Filenames
linux find regex
Regex
Linux
Bash
Unix
Find
How do I use the nohup command without getting nohup.out?
Unix
Jobs
Zombie process vs Orphan process
C
Unix
Fork
Zombie Process
Delete all broken symbolic links with a line?
Bash
Shell
Unix
Symlink
Best way to find os name and version in Unix/Linux platform
Linux
Unix
Operating System
Version
What characters should be restricted from a Unix file name?
Validation
Unix
File
How do I distinguish between 'binary' and 'text' files?
Unix
Language Agnostic
Ascii
Binaryfiles
File Format
How to remove leading whitespace from each line in a file
Unix
Sed
Awk
Grep
Did I understand /dev/urandom?
Linux
Unix
Random
Cryptography
How to check permissions of a specific directory?
Unix
Directory
How do you run a script on login in *nix?
Linux
Bash
Macos
Unix
Shell
Is there an equivalent to WinAPI's MAX_PATH under linux/unix?
C++
C
Linux
Unix
Posix
What does `set -x` do?
Linux
Bash
Unix
Scripting
How to represent multiple conditions in a shell if statement?
Bash
Shell
Unix
executing shell command in background from script
Bash
Unix
Shell
bash: silently kill background function process
Linux
Bash
Shell
Unix
Scripting
Using grep and sed to find and replace a string
Linux
Shell
Unix
Sed
Grep
Using Bash to display a progress indicator
Bash
Shell
Unix
Progress
How can I list the files in a zip archive without decompressing it?
Linux
Bash
Shell
Unix
Zip
SCP Permission denied (publickey). on EC2 only when using -r flag on directories
Unix
Amazon Ec2
File Permissions
Scp
Unix: what modifier key does "M-" refer to (e.g. M-C)
Unix
Nano
Display current path in terminal only
Unix
Terminal
Path
How do you read a segfault kernel log message
C++
C
Unix
Segmentation Fault
Syslog
What is the meaning of *nix?
Ruby
Linux
Unix
Operating System
Windows equivalent for Unix find command to search multiple file types
Windows
Unix
Command Line
Find
Ls
Filter by process name and log CPU usage
Linux
Unix
Difference between UNIX domain STREAM and DATAGRAM sockets?
Linux
Sockets
Unix
Tcp
Udp
How can I find encoding of a file via a script on Linux?
File
Shell
Unix
Encoding
Use space as a delimiter with cut command
Bash
Unix
Cut
How can I recall the argument of the previous bash command?
Linux
Bash
Unix
Command
practical examples use dup or dup2
C
File
Unix
System Calls
Dup
Generate sha256 with OpenSSL and C++
C++
Unix
Openssl
Sha256
How to grep for the dollar symbol ($)?
Linux
Unix
Grep
How do I add a line break for read command?
Bash
Shell
Unix
Unix sort of version numbers
Unix
Sorting
Why are ports below 1024 privileged?
Unix
Ip
Port
What is the difference between using `sh` and `source`?
Linux
Bash
Shell
Unix
How to use variables in a command in sed?
Unix
Sed
Choosing a static code analysis tool
C
Unix
Testing
How to suppress Terminated message after killing in bash?
Bash
Unix
Shell
How to convert \uXXXX unicode to UTF-8 using console tools in *nix
Linux
Json
Unix
Unicode
Encoding
How to turn off word wrap in iTerm2?
Unix
Terminal
Iterm
Iterm2
How do you extract IP addresses from files using a regex in a linux shell?
Regex
Linux
Bash
Unix
Command Line
Using `date` command to get previous, current and next month
Linux
Bash
Unix
Date
How do you print received cookie info to stdout with curl?
Bash
Unix
Cookies
Curl
Recursively cat all the files into single file
Linux
Bash
Unix
Grep
Cat
How do you kill all Linux processes that are older than a certain age?
Linux
Bash
Unix
Process
Bash or KornShell (ksh)?
Bash
Shell
Unix
Scripting
Ksh
Move top 1000 lines from text file to a new file using Unix shell commands
Unix
Shell
Copy
What's the difference between nohup and a daemon?
Unix
Daemon
how do I zip a whole folder tree in unix, but only certain files?
Unix
Zip
How to capture Control+D signal?
C
Linux
Unix
Signals
How closely are Mac OS X and BSD related?
Macos
Unix
Operating System
Linux Kernel
Kernel
Unix find: multiple file types
Unix
Find
How to read a .man file not on manpath?
Unix
Manpage
Deleting files after adding to tar archive
Bash
Unix
Compression
Tar
How do I get the unix timestamp in C as an int?
C
Unix
Timestamp
Epoch
How to match once per file in grep?
Regex
Perl
Shell
Unix
Grep
How to remove a character at the end of each line in UNIX
Unix
Awk
Sed
Boolean operators ( &&, -a, ||, -o ) in Bash
Bash
Shell
Unix
Boolean
Operators
How to edit binary file on Unix systems
Linux
Unix
Binaryfiles
Hex Editors
Eclipse Editor: How to change file format from Dos to Unix
Java
Eclipse
Unix
Editor
Dos2unix
Preemptive threads Vs Non Preemptive threads
Linux
Multithreading
Unix
Pthreads
How do I know if I'm running a nested shell?
Linux
Bash
Shell
Unix
Diff files present in two different directories
Unix
Shell
Diff
change PATH permanently on Ubuntu
Linux
Unix
Ubuntu
Path
Waiting for background processes to finish before exiting script
Bash
Shell
Unix
Tcl
Grep
How to get pid given the process name
Unix
Ksh
Pid
Ps
How to denote that a command line argument is optional when printing usage
Unix
Command Line
Arguments
How can I write a ESLint rule for "linebreak-style", changing depending on Windows or Unix?
Javascript
Windows
Unix
Eslint
Line Endings
What should we do to prepare for 2038?
Unix
Time
Maintainability
Year2038
Unix ls command: show full path when using options
Shell
Unix
Command Line
Ls
Bash: let statement vs assignment
Linux
Bash
Unix
Pipes in a Git alias?
Git
Bash
Unix
Trim leading and trailing spaces from a string in awk
Shell
Unix
Awk
Is there a way to make mv create the directory to be moved to if it doesn't exist?
Linux
Macos
Unix
Mkdir
Mv
Shell script - remove first and last quote (") from a variable
String
Bash
Shell
Unix
Sed
127 Return code from $?
Process
Unix
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" How does that work?
Linux
Bash
Shell
Unix
Scripting
Remove line of text from multiple files in Linux
Linux
Unix
Command Line
Why does open() create my file with the wrong permissions?
C
Unix
File Io
How does cron internally schedule jobs?
Linux
Unix
Cron
Crontab
Scheduler
Write to file, but overwrite it if it exists
Bash
Unix
How do I set up cron to run a file just once at a specific time?
Linux
Unix
Cron
How to avoid echo closing FIFO named pipes? - Funny behavior of Unix FIFOs
Bash
Unix
Pipe
Echo
How to find files modified in last x minutes (find -mmin does not work as expected)
Linux
Bash
Unix
Gnu Findutils
What is the fastest way to get the value of π?
Performance
Algorithm
Language Agnostic
Unix
Pi
Can you prevent a command from going into the bash shell command history?
Linux
Bash
Unix
Shell
How can I copy a file on Unix using C?
C
Unix
Copy
How do I determine if a web page exists with shell scripting?
Shell
Unix
Converting relative path into absolute path?
Perl
Unix
Shell
Path
Absolute Path
Creating files with some content with shell script
Shell
Unix
Scripting
How to fix npm throwing error without sudo
node.js
Unix
Permissions
Npm
Sudo
.ssh directory not being created
Unix
Ssh
Cygwin
unix sort descending order
Unix
Sorting
Remove all text before colon
R
Unix
Replace
Sed
Awk
How to get first n characters of each line in unix data file
Linux
Unix
Awk
Cut
How to check if the file is a binary file and read all the files which are not?
Shell
Unix
Binaryfiles
How to get PID of process by specifying process name and store it in a variable to use further?
Unix
Process
Pid
Single command to create a file and set its permission
Shell
Unix
File Permissions
Ksh
How to read a .properties file which contains keys that have a period character using Shell script
Linux
Bash
Shell
Unix
unzip password protected zip in unix
Shell
Unix
Unzip
How to attach a file using mail command on Linux?
Linux
Unix
Shell
Email
Converting Date and Time To Unix Timestamp
Javascript
Regex
Unix
Timestamp
How do you do a case insensitive search using a pattern modifier using less?
Unix
Search
Case Insensitive
Less Unix
Why is sin_addr inside the structure in_addr?
C
Sockets
Unix
Replace comma with newline in sed on MacOS?
Macos
Unix
Sed
Commandline hexdump with ASCII output?
Shell
Unix
Apt-get is broken after install Google Cloud SDK on Ubuntu 18.04 LTS
Unix
Ubuntu 18.04
Apt Get
Unixodbc
Google Cloud-Sdk
Get list of static libraries used in an executable
C++
C
Unix
Static
Linker
Why do you need ./ (dot-slash) before executable or script name to run it in bash?
Bash
Shell
Unix
Command Line
Subtract 1 hour from date in UNIX shell script
Shell
Datetime
Unix
Unix socket, SOCK_SEQPACKET vs SOCK_DGRAM
C
Unix
What is the *nix command to view a user's default login shell
Linux
Shell
Unix
What does rf in rm -rf stand for?
Unix
Terminal
Reasoning behind C sockets sockaddr and sockaddr_storage
C
Sockets
Unix
Getting head to display all but the last line of a file: command substitution and standard I/O redirection
Bash
Unix
Pipe
How to make the 'cut' command treat same sequental delimiters as one?
Bash
Unix
Delimiter
Cut
What does "opt" mean (as in the "opt" directory)? Is it an abbreviation?
Linux
Unix
Directory
Terminology
Where can I set environment variables that crontab will use?
Linux
Unix
Environment Variables
Crontab
Getting an error cp: cannot stat when trying to copy files from one folder to another
Bash
Unix
Command Line
Cp
Mv
Where are all my inodes being used?
Linux
Unix
Posix
Inode
Reference for proper handling of PID file on Unix
Locking
Daemon
Unix
How do I untar a subdirectory into the current directory?
Unix
Command Line
Tar
How does the #! shebang work?
Shell
Unix
Scripting
Shebang
Checking if a directory exists in Unix (system call)
C++
C
Unix
Directory
Exists
How to Free Inode Usage?
Linux
Unix
Memory Management
Inode
Unix grep regex containing 'x' but not containing 'y'
Regex
Unix
Grep
Regex Negation
What occurs when a file is `source`-d in Unix/Linux context?
Linux
Unix
Unix pipe into ls
Linux
Unix
Pipe
Ls
Unset an environment variable for a single command
Bash
Unix
Environment Variables
Assigning the output of a command to a variable
Bash
Unix
Sh
Display filename before matching line
Unix
Grep
Slashes and the rsync command
Linux
Unix
Directory
Rsync
Unable to diff files in two separate branches in Git
Git
Unix
Merge
Diff
Opening files in the same folder as the current file, in vim
Unix
Vim
Vi
Dropping root privileges
C
Unix
Root
sometimes my file just freezes in my vi |vim, what happened?
Unix
What is the maximum number of characters for a host-name in Unix?
C
Unix
Max
Hostname
How do I append the UNIX command date to an echo statement
Unix
Date
Echo
Expression after last specific character
Linux
Bash
Shell
Unix
Scripting
How to write a shell script that runs some commands as superuser and some commands not as superuser, without having to babysit it?
Unix
Sudo
How to pipe Node.js scripts together using the Unix | pipe (on the command line)?
Javascript
node.js
Unix
Pipe
Command Line-Interface
What does sed -i option do?
Unix
Sed
Command Line
Option