Most efficient way of purging of 10TB data from SAN?

Efficiently delete large directory containing thousands of files


eth0: ERROR while getting interface flags: No such device

Why is my ethernet interface called enp0s10 instead of eth0?


How can I run reboot as a normal user without needing to enter a password?

Allowing a user to use sudo without a password


Command substitution declaration syntax in bash - which of these two is better practice?

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


How to notice log file changes with Linux standard tools?


How to run client script on on remote host and get results to the client


Mapping single key (such as 'F1') to multiple keys (such as 'Ctrl+C') in Gnome

Binding single key (such as 'F1') to multiple keys (such as 'Ctrl+C') in Gnome


twitter status updates from command line (via cURL)


How to setup Kiosk type functionality in Linux mint cinnamon?

Debian based system, only one gui program, nothing else


GNU find and masking the {} for some shells - which?


Is it possible to download to files while in a SSH interactive?

Copy a file back to local system with ssh


How to create an upstart process in Ubuntu?

Start tomcat at startup with administrative privileges


difference between "function foo() {}" and "foo() {}"


Keyboard shortcut to copy current command from terminal to clipboard

Share the clipboard between bash and X11


How to create nested directory in a single command?


Why is the first line comment of .sh file necessary?

shell scripts are still working without #!(sha-bang line)


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


Extract given column from comma-separated values with inner commas and quotation marks

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


Set dynamic window title based on command input


How can I screencast purely from the tty?

Typescript -terminal recording into video?


ssh to a specific machine within a network


How to create memory-based disk in linux?

Is there any method to mount a block of memory as a filesystem in linux?


How to recover from a chmod -R 000 /bin?


Script executed from cron doesn't display GUI notifications

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


How to make a custom bash tab completion?


Visualizing ansi color escape codes in log files correctly in Emacs


Staggering the authentication delay on failed `su` or `sudo`

How does one change the delay that occurs after entering an incorrect password?


Ubuntu directory permissions - Sticky bit - Prevent deletion of a file

Is there any way to prevent deletion of certain files from user owned directory?


How do I remove directories that begin with a dot after my server was infected?

What should I check after an unauthorized access?


How does one view what the contents of symbolic link are, instead of the destination?


How to freeze system clock for a wine application?

How to trick a particular command into thinking it is a different date?


How can I filter those "Permission denied" from find output?

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


Read the output of a command into a variable

Storing output of command in shell variable


Network namespaces and scripts seem to break $PATH


Changing Date format and appending to original file


Where is the best place to put custom software?

Where should I put software I compile myself?


Sed error replacing partial string with variable

Replace strings in a file based on a list of strings and a list of corresponding replacements


What is the reason to quote executable code with `.........'?

Where does this convention for quotation marks (`` ...'') come from?


How to recover system when wrongly entered command?

How can I revert a chmod on the etc directory?


alias to make a new directory and go to it

Is there a one-liner that allows me to create a directory and move into it at the same time?


How to define alias only for some directory?

How to set an alias on a per-directory basis?


Taking password from a file while SSH ing into a machine

Shell Script for logging into a ssh server


How can I use screen for training and/or remote assistance?

Sharing a terminal with multiple users (with screen or otherwise)


Access remote services as if local using single SSH connection

Using an already established SSH channel


-bash: cannot create temp file for here-document: Permission denied

Tracking down where disk space has gone on Linux?


How to output a specific paragraph based on a pattern?

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


Bash Script, find file size and compare not running

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


Systemd service that starts and preserves multiple processes


Make dead keys insert both characters if the combination is not recognized

Insert both characters if a dead key combination is not recognized (e.g. 'a → á, 'b → 'b)


How to search for installed packages which have dependancy on Python?

How can I search for packages depending on a exact package?


How can I search history with text already entered at the prompt in zsh?


File Globbing: adding *[Aa]* & *[Bb]* together

How to open or list all files whose name matches two patterns in Bash


How to fetch one file from two paths in unix?


Cant use while loop because it is taking time is there any way faster way to get the final file..in linux

Is there any faster way to get this output file in linux


How to run a command block in the main shell?

What is the difference between the Bash operators [[ vs [ vs ( vs ((?


How to limit a process to one CPU core in Linux?

How can I set the processor affinity of a process on Linux?


Why find -name DIR -exec rm -rf {} + does not remove directories

Why does `find` not delete the files it found?


Creating multiple directories using a parameter in a shell script


What is the difference between "." "./" and "source"?

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


Shell Script (Bash): Omits special characters

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


How can I convert a hard link to a normal file?


Change the way folders are displayed in terminal


Why rejection of password is much slower than acceptance of it?

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


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


How to interpret numerous processes with exact same RAM usage

Why does `htop` show more process than `ps`


Script for login in multiple servers and execute commands and append output in one file

Automatically run commands over SSH on many servers


Shell, howto extract letters from $line1="Test this... test this!", and print one by one


Find and create empty files with the same name in another location


Why can't my `date` deal with timezones?

How to parse ISO8601 dates with linux date command


How to execute a script in shell when a shortcut key is pressed


Gnome screenshot: turn off camera sound *without* admin rights

How can I disable the shutter sound of gnome-screenshot?


Is there any UNIX variant on which a child process dies with its parent?


Can a symlink be edited to link to a different directory or file?


Are there disadvantages/consequences to adding scheduled tasks directly to /etc/crontab instead of using the crontab command?


Find out which application listens to specific key bindings?

Manipulating X key and pointer grabs on the command line


Rename multiple file with no extensions?


Shell string escape for command arguments

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


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

Do redirection operators always open file descriptors in parallel?


What are the shell's control and redirection operators?


Building Kino fails at a module, complaining that it's missing, but it's already installed?

Installing Kino fails with missing file linux/videodev.h


Automatically set group and permissions on files in a folder?

Getting new files to inherit group permissions on Linux


How can I double the newlines in an output stream

How do I add newlines between lines printed on the command line?


Multiseat with one card and two Xorg instance

Multiseat X setup with a single dual head graphics card


How do I find a file with a name which depends on the current date (and a random component)?


What to use instead of `buffer` for 1GB buffer?

Utility to buffer an unbounded amount of data in a pipeline?


How to change the forgotten root password?


New terminal with command and continue using it

How to run xfce-terminal with different commands per tab and keep using the tabs after the commands have returned?


bash if statement troubles [Error==Error]: not found

bash: syntax error near unexpected token `}'


Connection to host closed by remote host. Exit status -1

ssh server: reasons for sudden "Connection closed by remote host"


Can I create a user-specific hosts file to complement /etc/hosts?


Run app on X11 on server without forwarding

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


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

What do the fields in ls -al output mean?


Preferred mount points for internal HDDs

Where in "/" should extra permanent disks be mounted?


Separate Network Traffic on Two Network Interfaces


How do I get screen not to mangle some UTF-8 sequences?

GNU Screen doesn't echo unicode characters correct


In shell script, how to give a variable the value that is shown on the screen?

How do I reuse the last output from the command line?


How do have a directory under which I have all .zsh related files

zsh, modularity,multiple .zsh files and oh-my-zsh


What's the difference between `su -` and `su --login`?

What's the difference between sudo su - and sudo su --


Installing Kali on a USB drive - NOT Live USB or Persistence partition


running script with ". " and with "source "


Can Yum express a preference for x86_64 over i386 packages?

Why does the i386 version of software get installed on an x86_64 system?


Using "<" for input redirection of a file with commands that already handle files


How can I expand the variable inside this sed expression?


What purpose does the colon builtin ':' serve?


Any reason why find does not merge multiple slashes into one?

Why does find print a leading './' if no paths are given?


Manually resized sda1 and OS still uses old size. How would one "refresh" it?

How to extend partition to all unallocated space in a VPS?


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


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

Is it shell portable to run a command on the same line after variable assignment?


equivalent of windows batch echo off in linux

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


How can I check if a gzipped file is empty?


Unable to login to KDC server without password prompt

SSH login without password with kerberos


How do I use sftp to get a directory and all its contents?


How do I turn accented lowercase letters to uppercase? - Using the 'tr' command

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


Proper way of installing puttygen on Amazon Linux

Convert Amazon .pem key to Putty .ppk key Linux


How to get list of touched files between 2 points of time?


How do i use a variable to construct a sequence?

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


Bash Linux random CLI Password generator and `<`


Find all [filename].mp4 and rename [filename].audio

Recursively rename files and directories


How to check how long a process has been running?


Only color files according to file types?

LS_COLORS settings for specific types of files


dircolors: modify color settings globaly


how to see a http reponse message using telnet command?


Using while loop to ssh to multiple servers


Process a file list with space in file names

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


how to select a budget laptop for linux say fedora /ubuntu

Which laptop is most compatible with Linux?


How do I grep the lines based on '.' (dot)?


sort each column(field) in a file separately


How does Grub Stage1, exactly, access/load stage 2?


How do I *reliably* and *simply* get the current shell interpreter name?


How to copy text from vim to an external program?


How to give this permission (-r--rwx-rw-) using CHMOD?

Understanding UNIX permissions and file types


Removing control chars (including console codes / colours) from script output


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


Difference between /usr/bin and /usr/local/bin


How to backup and restore to different hardware in Linux?


No such file or Directory, even if file present and executable

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


How can I print the second to last line of many files into one file?

How to read only the second last line of a file


To get logs in between particular time-stamps along with date using shell script

To get logs in between particular time-stamps using shell script


How to do float operation in Shell script?

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


How to redirect the output of a command to an already existing file without deleting its contents?

What are the shell's control and redirection operators?


How to grep lines between start and end pattern?

Print lines between (and including) two patterns


What is the difference between bash script and shell script

What are the fundamental differences between the mainstream *NIX shells?


Why does this rename operation not work?

Why are square brackets preventing shell expansion?


Explain who command's ':0' value in 4th column's output


Explain who command output in 2nd column


Zip the contents of a folder without including the folder itself


chown command not working as expected. The command fails even though syntax is right


display tty1 on one monitor and display tty2 on second monitor (usb terminal)


Are directory paths stored in UNIX filesystem?

Where are filenames stored on a filesystem?


I can't use the "sudo" command on my server

I changed /etc/sudoers, and now I can't run as sudo


How to turn off stack protector in linux kernel easily?

Disable stack protection on Ubuntu for buffer overflow without C compiler flags


In a bash shell script , how to write a loop that goes trough three values

In a bash shell script, writing a for loop that iterates over string values


bash - aliased command - use original command?

Run a command that is shadowed by an alias


SFTP, SSH Couldn't read packet: Connection reset by peer


Conditions sent over ssh are performed locally, not remotely


free command output: gentoo (redhat?) vs debian

How can I get the amount of available memory portably across distributions?


How to find latest file and delete old files in a group of files in zsh scripting?

Delete all but the most recent n file for each group of files that share the same prefix in a directory


Substitute with `...` multiline output of find command

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


Creating a new file inside awk but in different directory based on input field value


Why does "head /bin/ls" reset the terminal

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


What are the shell's control and redirection operators?


Specifying SSH KexAlgorithms works at CLI but not via ssh_config

options override for openssh client configuration


Compare two files: lines present in one, not in the other, by one column comparison


convert .Xmodmap to custom.xkb file and load it from $HOME directory - customize x keyboard


variable doesn't change after find & while

In bash, read after a pipe is not setting values


Replacing variable containing \ with sed

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


Diff: only compare if file exists, not contents

Compare directories but not content of files


Display output from command and save to file

how to output text to both screen and file inside a shell script?


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


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


Is there a command-line application that combines SSH and SFTP?

Copy a file back to local system with ssh


Why do I need an `;` or newline in `echo hi| { cat; }`?


How can I reset all the bind keys in my Bash?


Wait for stdout stream to finish and then add its contents to a file

Can I make `cut` change a file in place?


Online course that covers Unix/Linux Systems programming


How to check which client is accessing Unix?

How to find the machine from which a user logged into current machine using ssh?


upgrading an O.S. affects which file systems?

back-up: which patitions to back-up before upgrading/reinstalling


Accessing Apache server over the Internet

ssh port forward to access my home machine from anywhere


What is the equivalent of apt-file in portage, if any?

How to find which package provides a file?


How can I set the TTY font size manually in Lubuntu?

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


Redirect all stderr of a console and subsequent commands to a file

Redirect all subsequent commands' stderr using exec


ulimit PICKLE: "Operation not permitted" and "Command not found"


How can I change the default "ens33" network device to old "eth0" on Fedora 19?

RHEL: Creating stable names for network interfaces


Setting up network from a "minimal" CentOS 6.4 install

CentOS no network interface after installation in VirtualBox


batch rename file names including spaces and patterns


What's an alternative to tail -f that has convenient scrolling?


How to route traffic to different interfaces for different ports

Output traffic on different interfaces based on destination port


Renaming all files in a directory while keeping the same initial part of the name

How do I change the extension of multiple files?


Why is sudo not installed by default in Debian?

What packages are installed by default in Debian? Is there a term for that set? Why some of those packages are `automatically installed` and some not?


Resume input from user after file is read

Make program first read from pipe, then from keyboard


Manually generate password for /etc/shadow

How to create SHA512 password hashes on command line


How should I compile a dev package from source?

Installing from source. How to resolve dependencies without destroying the package manager


How to change the width of remote serial console?


Resume bash session in new TMUX or SCREEN?

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


passing filename with spaces to a shell script

Looping through files with spaces in the names?


Which tool can tell me the distribution of Linux that is running when uname is generic?

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


C Shell Array Declaration Syntax, () vs. {}

C Shell Array Declaration Syntax, () vs {}


Permissions not extended to user in minecraft group

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


Udev: running a shellscript that accesses an X display

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


I want to print a line when a user login

What are the different ways that a message can be displayed to a bash shell after a user logs in?


Add a suffix string to end of each line?

Merge files using zipper method / late merge


I want to connect via SSH from Windows Machine to Ubuntu

ssh tunnel on ssh tunnel between Windows and two Linux machines


how to automate Y in a script during an rpm install

How do I force yum to install without prompting the user, using bash?


Merge jq output into a comma separated string

Collapsing a stream of multiple lines into one line


How to find whether system is using systemd and glib specific version in shell script?

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


Passing math equations as parameters to a looping function

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


What part of chmod 770 am I misunderstanding?

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


Find with multiple extension does not work with -exec


Better way to go to background in a running command

How do you send command line apps directly to the background?


What is the setting in bash for globbing, to control whether * matches dot files


BASH variable name containing number issue


Read first file in a list of files within a directory

How do you get the first file in each subdirectory matching a list of file extensions?


ls -l output in /dev directory of Unix/Linux system

Understanding /dev and its subdirs and files


Why does "echo a b c d e | echo" display no result?

Redirecting the content of a file to the command "echo"


ps aux | grep config vs ps aux | grep "confi[g]"

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


Is there an easy way to replace duplicate files with hardlinks?


How to download file from CentOS server on terminal through ssh server

How to copy a file from a remote server to a local machine?


Why doesn't bash expand this variable when I prefix a command with a "one time variable assignment"

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


How to print a horizontal line the size of the terminal with a word in the middle?

How can I print a variable with padded center alignment?


'find' with '-o' and '-exec chown' not working as expected


Add all columns separately in linux if the first column has same entries

Sum of columns for rows containing a specific term


How to use arguments like $1 $2 ... in a for loop?

how to loop through arguments in a bash script


How to find the files have been removed in Shell?

Is there a UNIX command to list all recently removed files from a system


How to read the current terminal content programmatically?

Read the EXISTING content from another terminal


Creating multiple directories using a parameter in a shell script

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


My hard disk is full - how can I determine what's taking up space?

Tracking down where disk space has gone on Linux?


Recover accidentally deleted PHP file which is currently being executed on command line

recovering deleted file held open by apache?


Program for making a complete ISO-image of damaged DVD by multiple readings?

How to rip a scratched DVD-Video? (a "cdparanoia for DVDs")


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

How can I listen to communication between a process and a serial port?


Reserved space for root on a filesystem - why?


Is it possible to use variables in count braces in Bash?


Install specific 32 bit package on 64 bit debian squeeze(6.0)

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


Awk regular expression syntax with number of repetition - different handling between gawk 3 and gawk 4


Any way to recall the file of previous cmd?


Why can I ping IP addresses from 127.0.0.1 to 127.255.255.254?


print line only if number in third field is greater than X

remove lines where a field's value is less than or equal to 3 - sed or awk?


Is hardware support for virtual memory necessary to install Linux Operating system on that hardware (processor)?


List the file permissions of only the current directory

How can I make ls show information about the directory specified only, not info about its sub-files or folder contents?


How do I delete a unfortunately named folder?

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


How to set `umask` for the entire gnome session?


Recursively delete all files with a given extension

How do I recursively delete directories with wildcard?


Change cursor shape (or color) to indicate vi mode in bash


Accidentaly changed the permissions in /


"for file in" numerically instead of alphabetically?

Iterating through folders in numerical order


What is the difference between egrep, fgrep, find and grep commands?

What is the difference between `grep`, `egrep`, and `fgrep`?


What is the appropriate kernel for the i7-4770K CPU?

Why can't I install Debian amd64 in VirtualBox?


Program installed to `/home/username/bin` and added to path... not launching


Ubuntu: Not able to relate free -lh output with top command ouput

free / top difference. Does free show virtual memory?


variable content is different than the output of the assigned command

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


Not able to change default group for user with `sudo usermod -g`

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


How to route "single ip" to different interfaces


Defining aliases for a certain directory

How to set an alias on a per-directory basis?


Recursively cleanup all folders and sub-folders in a folder that have no files in them

How to remove all empty directories in a subtree?


How to parallelize the for loop while scp the files?

Using while loop to ssh to multiple servers


Renaming files with numbers to corresponding 1-n numbers in order


If a directory is a file, can I see the contents of that file?

Simple way to see the content of directories in Linux/UNIX file systems


if 2 commands with same filename exists in PATH variable, which will get executed?

Does a duplicate entries in a PATH variable revoke the precedence given by the first entry?


Create shorcuts in a terminal to navigate between folders

Quick directory navigation in the bash shell


Why is "./" used when executing a program?

Why do we use "./" (dot slash) to execute a file in Linux/UNIX?


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


Shell variable $_ not behaving as expected


Timestamping each line of a file with a date taken from the file itself


What is the difference between "&&" and ";" when chaining commands

What are the shell's control and redirection operators?


Is there a way to append a header to a "grepped" output?

How to grep a specific line _and_ the first line of a file?


How can you determine which process scheduler is being used?

Which process scheduler is my linux system using?


Smaller size of CIFS mounted Directory than the file

why ls reports a huge file and du does not?


How do some tools (e.g. nano , less) manage to leave no content in terminals after exit?

clear full-screen in script and get the previous prompts after exiting script


how to capture return status of each command from a Shell script with multiple commands


Most efficient method to empty the contents of a file


Grep every string inside specific X string

How to find/grep what is between string1 and string2?


How to point to network interface from other inteface configuration in /etc/network/interface

What is the best way to add a permanent route?


Quick way to include a directory path when calling mv?

Quickest way to rename files, without retyping directory path


Get list of ZSH commands from ~/.zsh_history with regex separator and multiline fields

Export Command History into a Shell Script


Variable from concatentation of variables

Use a variable reference "inside" another variable


How can I create a file with multiple lines from the command-line?

How to create a simple .txt (text) file using terminal?


How do I restore default owner of files in /var/ directory?

How to restore default group/user ownership of all files under /var?


What is the fastest way to view images from the terminal?

Options to show images when on the console


What exactly do we mean when we say we are using Linux?


How to create a list file of some files?


How to stop .bashrc from running sub-command in alias at startup?

Why doesn't my command work when aliased?


Iterate over array which name is in another variable in bash

Indirect return of all elements in an array


Can't get Intel HD 5500 graphics to work with Debian


what is the difference between starting a command with nohup and &?


is the shell a frontend to the terminal?

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


Why the size of an empty directory in Linux is 4KB?

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


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


how to install any linux distribution from existing ubuntu

How to boot from iso with Grub2/Burg boot loader


Rename files by incrementing a number within the filename


Why do my SATA devices show up under /proc/scsi/scsi?


Command for creating a directory and navigating into it directly?


Corresponding 7zip command for unzip -p -a


Modify background jobs and/or notify on job completion post-launch

Basic job control: stop a job, add a job onto the stack, and `fg`


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


How to treat strings with spaces as a whole in bash?

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


Can I use variables inside {} expansion without `eval`?


Removing Installation Done outside the Package Manager


transpose columns to rows in a spreadsheet


How to reload media parttion table after dd


How to output the directory structure to Json format

Convert output of tree command to json format


Possible to get SMS/text message notification when process ends or is killed?


Two errors when running ssh in a bash script


Why does "redirect to a file" is executed as user, even with sudo?

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


SSH connection refused from inside my LAN


fsck.ext4 is running in the background at 0% CPU. Is it done?

How do I check the progress of Badblocks if it's running in the background?


How to remove prefix from multiple files in a directory


convert C style comments to C++ style using sed


Getting all IPs of devices connected to the same router


Why does parallel doesn't work using '{}' but '--'?

Why does (GNU?) parallel fail silently, and how do I fix it?


RPM command stuck/FREEZE when installing RPM file


How to move a file to another directory, as soon as it is created, in linux?

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


Start aplication in local desktop from remote SSH

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


How to find missing files with sequential names?

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


How to make a terminal window open at a certain location by default

How do I start all shell sessions in a directory other than $HOME?


How can I increase the number of inodes in an ext4 filesystem?


what is the meaning of "-m state --state RELATED,ESTABLISHED"?


Temporarily reduce physical RAM size in Redhat 5 for testing

Restricting memory area for linux kernel


Convert all text in a file to uppercase using sed and interested to use range operator

Convert all text from uppercase to lowercase and vice versa?


Subtract two dates using Shell Scripting


Automatically rerun something with sudo if root needed

Prompt for sudo password rather than give access error


What does it mean when a private VM page is none of `rwx`?

Shared library mappings in /proc/pid/maps


How to assign file names with space to another variable without losing the separator

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


sed - simple regular expression replacement not replacing

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


Running a python script 200,000 times in parallel using bash


What is the barebones simplest way to recursively rename one extension to another?


Bash - PS1 not Updating With Proper Hostname after Hostname Change in Script


Getting file crtime under ext4 file system


Passing timestamp variable from shell to gawk


grab text by pattern with start and end tag in multiple lines

Search for a string and print everything before and after within a range


Is there any useful purpose for directories with permissions -w-?

Folder with ONLY write permission is useless... right?


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


Environment variable assignment followed by command

Is it shell portable to run a command on the same line after variable assignment?


SSH - Is it possible for an SSH session to take complete control of the client?


Storing whitespace in a shell script variable


Wireless interface only reachable when ethernet cable plugged in

wlan is first brought to life when ethernet is plugged in


Why ln -s creates relative broken links?

Create a symbolic link relative to the current directory


LVM devices not showing in initrd but working on boot

USB flash-drive with hard-coded partition


How to get hard disk information on linux terminal?

How to list disks, partitions and filesystems in Linux?


Print start and end between two patterns excluding end of range

How do I display all the characters between two specific strings?


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


How can i remove duplicates from the output of tshark output

How to remove duplicate lines inside a text file?


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


How do I achieve this task of creating a shared folder and controll newly created files

Make all new files in a directory accessible to a group


Tried to install Nvidia drivers, now I can only boot to tty

Fedora won't boot after installing Nvidia drivers


How to make xkb settings stick after restart


Can I see images and watch movies inside the terminal emulator


How do I echo a string with multiple spaces in bash "untouched"?

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


Move FreeBSD installation to smaller HDD

can 'dd' be used to clone to a smaller HDD, knowing that partitions will need editing?


how to get or reflect the name of the bash function which is called?

How to determine callee function name in a script


Compare 1st column of the 1st file and 2nd column of the 2nd file and get the the output as following

Compare 1st column of the 1st file and 2nd column of the 2nd file and matching


How to compare (using greater than and less than symbols) strings using awk

How to compare the strings using < (Greater than symbol)


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


How can convert characters into characters that'll produce beep noises?


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


Why does Linux not allow `cat`ing a directory?

When did directories stop being readable as files?


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


Why can I delete a file that doesn't belong to me?

Why is rm allowed to delete a file under ownership of a different user?


How to add pattern to bash completion (for unzip)?


What are the shell's control and redirection operators?


Which are the (Bash) shell special parameters/variables?


Not enough disk space: remove first n lines of text file without copying the file

Is there a way to modify a file in-place?


Question about behavior of control key shortcuts


BASH How to save the output of rm -vri to a var

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


Remove directories sequentially vs. simultaenously in background

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


Loop mount over an array (name has a space)

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


/usr/bin/find invocation doesn't work when used with command substitution


How can I make it so that all new users created in the future will have a specific file copied?

How do I set a user's default .bashrc file?


Process `zsh` function with util that only recognizes commands


What's the difference between sudo su - and sudo su --


sed command not working with search string

How to get all lines between first and last occurrences of patterns?


SSH session through OpenVPN cuts off / locks up after a few lines


Estimate file space usage on a device (not in a directory)


Using date variable with wget --post-data

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


How to prevent: `CIFS: Unknown mount option "defaults"`?

Do you need to specify the "defaults" option in fstab?


Printing every Nth line out of a large file into a new file

How do I display the nth result of an ls command?


Retrieve Nth records from a file until end of file is reached


find locations for a given sentence under a directory

Find files containing keyword and show only the file path and the line number


Renaming a bunch of files with date modified timestamp at the end of the filename?


Why must I use tabs instead of spaces in heredocs?

How to indent an heredoc inside an heredoc the right way?


How do I drop root privileges in shell scripts?


How to run Google Chrome or Chromium on a remote ssh session?

How to forward X over SSH to run graphics applications remotely?


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


What is the command to list specific hardware components?

Getting information on a machine's hardware in Linux


File permissions changed but group user can't write in them

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


Recursively list files with file names, folder names and permission


Can't find command, although it is in the PATH

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


bash - What do the brackets in if-statements do?

What is the difference between the Bash operators [[ vs [ vs ( vs ((?


find items only in a list of directories


How to check if given server is DNS server or Not?

How can I check if my DNS server is working?


Tar: Extract only files (not sub-directories)

How to extract specific file(s) from tar.gz


How do I send all information in /var/adm/message file to a remote system?


Exit php script somehow, but keep it running

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


redirect bash script output to a log file from within the script itself

Redirect all subsequent commands' stderr using exec


Why do some commands 'hang' the terminal until they've finished?


How to find the file corresponding to a pipe opened by a process?


ANSI escapes in Pash prompt are displayed as garbage in Gnome terminal


Why can't a group member create a file in a directory with 760 permissions?

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


CSH - How to check if input is NOT number


Which lines do change after a sync in /proc/meminfo ?

Can I watch the progress of a `sync` operation?


How do you parse through a subdirectory where the path contains spaces?

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


SSH into multiple remote machines through ssh tunnel

SSH tunnel through middleman server - how to connect in one step (using key pair)?


Shell Script for logging into a ssh server


Why does "$ sudo echo 'yo' " work even though echo is a shell built in function?


How can a bash script write its standard output from within a pipeline?

Print a message from the left-hand side of a pipe


What has priority - owner/user vs group permission?

Precedence of user and group owner in file permissions


How to search for files with immutable attribute set?


recommended storage location for multiple users

Who should own files shared by a group and where should they go


how to execute a bash script without typing ./

Why do we use "./" (dot slash) to execute a file in Linux/UNIX?


How to change the kernel max PID number?

What is the maximum value of the Process ID?


How can the integrity of Debian's debian-keyring package be verified?

"no public key available" on apt-get update


Granting access permission to normal user to a logical volume of a volume group

Give a specific user permissions to a device without giving access to other users


osx server, windows client, running emacs opens it on server not client


How can I make a psf font for the console from a otf one?

Convert .bdf/.pcf font to .psf(u) for using as consolefont?


Cannot boot Linux Mint after installing Windows (First) and Linux Mint (Second)


What does it mean to be "sh compatible"?


provide password for script begin called inside another script

Why does cron silently fail to run sudo stuff in my script?


What elements affects the key pairs generated by ssh-keygen?

Why I can't connect to VPS after changing OS from CentOS to Ubuntu?


What is the difference between the built in echo command and /bin/echo?


How to check ssh secret and public key validability in local command line

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


zsh Interpret/ignore commands beginning with '#' as comments

Allowing comments in interactive zsh commands


Executing a program gives No such file or folder error

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


sed append a text with many lines after matching of multiple strings while the text remains many lines in sed command

sed append after a line containing multiple unordered strings


What steps to add a user to a system without using useradd/adduser?


Can't detect second Monitor DVI Debian Jessie

Installing Debian on Kaby Lake machine: difficulties with X.org


Shell Script Execution with Bash and without bash on command line

What does it mean to be "sh compatible"?


How to remove a folder that starts with “$”?

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


zsh history: comment out dangerous commands: `#`


Error: Can't open display: localhost:0.0 but :0.0 works

Cygwin X doesn't work with DISPLAY localhost:0 on windows 10


How to make variable be taken into account

Pass shell variable as a /pattern/ to awk


Submitting non-interactive jobs over ssh

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


umask value for group users to get read, write and execute permissions

Why doesn't umask change execute permissions on files?


Getting all files that have been modified on a specific date


Is there a way to rename all files in a directory?

How do I change the extension of multiple files?


How would I sort a file numerically when some lines are single-digits and others are double-digits?

sorting filenames numerically when they have non-numeric prefix


Why am I being prompted for a sudo password when I specified "NOPASSWD" in my /etc/sudoers file?

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


How to read simultaneously from two files and print them line by line, bash?

How to interleave the lines of two or more files?


How can I delete a folder with lots of subfolders fast?


How to determine in a shell script whether the distribution I am on is Debian-based?

Does Linux Mint have /etc/debian_version?


What does "deb8u3" in the version number of debian mean?

Why do some Debian packages have a "+deb7u2" suffix?


How is path to an executable set if script is in PATH

How does lookup in $PATH work under the hood?


How can I identify on linux how many sockets/cpus are installed on the hardware?

How to know number of cores of a system in Linux?


remove all duplicates from a text file without sort


Why doesn't CD .. throw an error but other incorrect commands do? How to have it give me an error?

Why can Shell builtins not be run with capital letters but other commands can?


How to use sed with many extra characters in path?

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


How do I add text to the beginning of a file with a new line

How to insert text before the first line of a file?


Default preference of executable over built-ins with the same name

How to force a Bash word to reference an alias, function, file, etc?


how do i redirect output from tailf & grep to a file


Ask for a password in POSIX-compliant shell?


How to determine which init system is used?


ls: show file size with thousand separator

Output ls -l size field with digits grouped by thousands?


Does 'rm .*' ever delete the parent directory?


Arch Linux keeps printing out weird characters in tty

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


How do I find out the exact name of a utility?

How do I find a command if I don't know its name?


Do any commands exist that would let me copy the last line of the previous output to my clipboard?

Shell command to put recent line of output onto current command line


selecting a field when you cannot count from the start

How to cut (select) a field from text line counting from the end?


Append to the name of each file in directory


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


Is `~/Documents` a relative or an absolute path?


How to read one filesystem from a whole disk image file?


Unix - Delete folder with strange characters using inode or similar

Delete/repair files with weird permissions/owner/group


How can I concatenate all files in a directory together in one command line operation?

Concatenate specific files into one single file


Security implications of forgetting to quote a variable in bash/POSIX shells


"ls" (or other) command to get the *complete* date time on AIX 7.1


Can I use an if statement to detect if bash and dash are being run interactively?

How to check if a shell is login/interactive/batch


I had a folder full of files, then I used "sudo mount" to mount a Windows samba share. Where did the files go?

Access to original contents of mount point


Creating a user valid for a given time period?

How can I create automatically expiring user accounts?


Tmux key-bind like to use the windows/super for my meta key in Tmux Without X

How do I bind the tmux prefix to a Super?


Using root account to give sudo priviledges for a wordpress install


~/.bash_profile not executed upon login, but ~/.profile is


Resize vdi size doesn't work as supposed

Virtualbox: OS cannot use the new extended disk space (.vdi)


How to set up wireshark with correct permissions

Can't get Wireshark to run as user on CentOS


ssh key doesn't work for one server but works for another

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


What does the "rc" stand for in /etc/rc.d?


How do I grep for multiple patterns with pattern having a pipe character?


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


How can the output of ldd be checked to see of they exist on a different system or not?

Is there a way to determine what packages or libraries should be loaded to support an executable?


How do I select all the hidden files in the console?

how to glob every hidden file except current and parent directory


Variable that is varying itself processing

creating variable using variable value as part of new variable name


how to fix "sudo: apt-repository: command not found" in Deepin distro

How to add repository from shell in Debian?


How to insert text before the first line of a file?


How to save only the rows containing redundant content using awk?

How do I print all lines of a file with duplicate values in a certain column


Non-ASCII printable characters in sshd banner


How to append previous line to next line in a file if first character of a line is |

concatenate lines based on first char of next line


How can I check which application opens a file by extension?

Find the default application for a certain extension


Bash script failing with unknown option due to space in argument

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


How do I wait for networking before running a script?

Debian - how to run a script on startup as soon as there is an internet connection ready for use?


Let Transmission running on the server, independently of SSH session

Execute remote commands, completely detaching from the ssh connection


trying to search inside chmod with command

find all commands with wh, find by part of keyword in man page


zsh .zprofile / .zlogin not being sourced on gdm login?

Why GNOME Display Manager always read .profile?


How to restore the partition layout for GPT disk

How to copy the partition layout of a whole disk using standard tools


What makes a distribution GNU and are there Linux distributions, that are not GNU?


Why do *nix filesystems support file names with newlines?


Replace multiple strings with different set of mapped strings


Is TTY only a metaphor in modern day Linux systems?

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


How do I stop Debian from overwriting /etc/resolv.conf and overwriting my VPN's nameservers?

How to stop dhclient from updating resolvconf on Debian?


How can I repeat the last command in shell without filling up history?


What is the sequence loading linux kernel module on startup? How priority is set to them?


-bash: /usr/sbin/useradd: Input/output error — What does this mean?


How to avoid unnecessary deletion and recopying of moved folders when using rsync?

Any way to sync directory structure when the files are already on both sides?


bash file permission error while appending to a file

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


How to create a sequence with leading zeroes using brace expansion


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


Bash: How to get different color for the command line and its output?

How do I stop a bash shell PS1 color to stop at the end of the command?


What is the significance of the "wheel" group?

Where did the "wheel" group get its name?


How to combine arithmetic expansion and brace expansion?

In bash, is it possible to use an integer variable in a brace expansion


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

Sharing an X server (session) across computers


tmux: shared session, one user in a pane, another in another pane, two different cursors


Why does df show Available 0 when 1K-blocks minus Used is greater than 0?

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


Command to print few consecutive lines from middle of a file


How do you get a count of all file extensions on a hard drive using the gnu+linux terminal?

recursive statistics on file types in directory?


Is there way to replace value of symbolic link?


Where does Chrome gets its list of certificate authorities from?


Wrapping a command that includes single and double quotes for another command


How to pass argument with spaces to a shell script function?

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


how to pass a value to a variable that in a other variable

How to read value of variable, where the name of variable is the value of another variable


How do you move all files (including hidden) from one directory to another?


Set persistent permissions for /var/log/boot.log

What program specifically sets /var/log/boot.log to 644 perms in RHEL/Centos 6?


How do I route traffic through specific interface for a specific process


Disable bash's cache of executables in the path

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


Top show high CPU on process but idle on load average

How does load average work with modern CPU's?


Domain name resolution tool not specific to DNS


Transposing rows into columns in absence of few rows using AWK


Print lines of a file between two matching patterns

How to select first occurrence between two patterns including them


unpacking tarball with hard links on a file system that doesn't support hard links

How do I dereference links when extracting from a tar file?


How to add a new line after the "test message1" using sed?

How to insert text after a certain string in a file?


Ubuntu upgrades blocked due to insufficient disk space for linux-image

Correct way to delete unnecessary files from /boot directory (Ubuntu)


How to renew an expired keypair with gpg


What does it mean "Everything in the Linux is file"


Is there a command to list the users which user or root has created?

list users who are all created by current user in linux


How can I list all man pages that have certain text without displaying contents?

How to search the whole manual pages on Linux?


Moved .mov to wrong directory and now it is a Unix Executable File

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


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


How to accumulate values of each two rows across a line in linux?

How to sum up values of each two rows across their line in linux


Simple efficient concatenation of CSV files

How to concatenate a variable number of csv, removing their header rows?


What is the default root password for a Toshiba Chromebook 1?

How to gain sudo access after powerwashing (factory resetting) my computer?


Why is find not listing matching files when preceded by an asterisk(*)?


Quick way to delete a line from an extremely large file

Is there a faster way to remove a line (given a line number) from a file?


How to convert an special hex character from an html page in bash?

Decoding URL encoding (percent encoding)


Can rsync be used to make only hard links, not copies?

rsync --link-dest not working as expected with symlinks


Passing contents of a file on the command line

Passing arguments from a file to a bash script


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


What is the real-world use of the bg command?


How do I know where to put things in linux?


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


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


Reset admin password in Cent OS 7 from grub

How to change the forgotten root password?


How can I zero the unused blocks on my filesystem in order to minimize the compressed disk image size?

Clear unused space with zeros (ext3,ext4)


I want a shell scripts to delete ALL files in a dir, BUT NOT dir

How to remove all the files in a directory?


Creating a new FTP user and giving him only the right to 1 folder

Limit FTP access only to the /var/www with vsftpd


Attempting to compile any kernels, even vanilla ones, yields a certification error (continued from last thread)

Attempting to compile kernel yields a certification error


Run command 2 regardless of whether command 1 succeeds or not

Bash - how to run a command after the previous finished?


7zip and Move Files with Spaces in Bash Script


How can I determine the OS within .bash_profile?

How can I reliably get the operating system's name?


Replicate a complex partition structure with LUKS and LVM volumes

How to copy the partition layout of a whole disk using standard tools


What means a number of links > 1 for directories?

How to find all the links to a directory


how to compare a decimal value with a integer in shell scripting?

How to compare to floating point number in a shell script


Completely buffer command output before piping to another command?

How can I make iconv replace the input file with the converted output?


shell script edited on windows displays unexpected error message

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


Shellshock - not vulnerable with bash version 4.1?


grep randomly appearing and disappearing in ps aux (ps aux | grep python)


How do I auto complete a command from the command history?

Command-line completion from command history


Can't mkdir events No space left on device - EC2 Linux

How can I increase the number of inodes in an ext4 filesystem?


shell for loop with find with filenames containing spaces

Looping through files with spaces in the names?


Copy specific file type keeping the folder structure


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


Uncompressing .tar.gz archive to specific directory

How do I extract with tar to a different directory?


bash syntax error near unexpected token `(' - but everything looks like it should work


Time required to do pipe output to head/tail

Are Linux utilities smart when running piped commands?


Did the shellshock bash fix break basic command line tools like echo and cat?

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


Showing all pages at once with man command


generate password that is random length between 8 - 16 ( i have the generator but its not dynamic)

how to shuffle characters of strings in bash?


Output to be saved in file named same as the input file

Modify a file without creating another file


combining find with other commands: when to use -exec and when to use pipe?

find -exec + vs find | xargs: which one to choose?


How to escape single quotes correctly creating an alias


Is there a difference between `;` and `&&` and `|`?

What are the shell's control and redirection operators?


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


Trying to multiply a float in bash not working

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


I have moved a zipped file to a directory which does not exist

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


Redirect stderr to a file, but create only if any stderr happened?

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


Using bash's "source" command return error though it successfully read config file

command not found and syntax error near unexpected token


Why are these values not appending correctly when appended to the pipeline?

Piping for loop output prevents local variable modification


How can I backup directory and files including all sub directory and files using shell script?

creating a tar archive without including parent directory


How do I perform an action on all files with a specific extension in subfolders in an elegant way?


How to automatically feed two arguments to program after startup?

How to pass password to mysql command line


Sudo, Virtualbox, and Permission issues. (The Good, The Bad, The Ugly)

Why can't root on one machine change nfs mounted content from another machine?


OSX 'env python' returns different interpreter than 'python'

How to add home directory path to be discovered by Unix which command?


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


How is the data in /proc/* gathered, and how reliable is it?

How frequently is the proc file system updated on Linux?


How can I selectively modify the lines in a file where the modifications depend on analyzing the select lines as a whole rather than individually

How to make `column -t` ignore lines with specific characteristics?


Shell Script for logging into a ssh server


bash script to login to multiple Linux servers and collect the output of multiple commands through ssh

Automatically run commands over SSH on many servers


Compare two files with first column and remove duplicate row from 2nd file in shell script


Find and rename files (including directories) whose filenames contain space

Looping through files with spaces in the names?


Is `dd` really necessary to clone a disk?

dd vs cat -- is dd still relevant these days?


Does jobs list only background and stopped jobs?

Are background jobs and foreground jobs always in running state?


quotes generated by another Bash script not treated like quotes inside original script

Execute string with variables as command


How can I save output of my script to different directory in txt or pdf format

What is the correct name for the ">" command


How do I remove all but the file name (with no extension) from a full file path?

Stripping directory paths to get file names


How to change/remove paste on middle click?

How can I turn off "middle mouse button paste" functionality in all programs?


Why space is being counted as newline in shell script?

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


How to track an alias definition in Bash?

How can I find a rogue alias declaration?


SSSD For Authentication & SAMBA For File Sharing

Authentication mechanism to connect to Windows AD in Linux?


Marking a command as a variable in order to be reused within piped or separate commands

Reusing pipe data for different commands


How does grep 'know' where it is redirected when using --color=?


The common practice to share file for all users on the same machine?


accepting the return value into another variable


Linux: id: cannot find name for group ID 999

Error message id: cannot find name for group ID after logging in


How do I prepend a line read from STDIN with an epoch timestamp?

Prepending a timestamp to each line of output from a command


Redirect input to several different output files

Splitting text files based on a regular expression


How do I connect to wifi using only the command line in Manjaro?

All commands that should be used to connect to wifi in command line


Switching language from French to English in Solaris 8


/var/log/messages contains series of ^@ char


How to append character to the end of line using SED?

Appending word at the end of line with sed


Asterisk: SIP and IAX registration failed on remote connection

Asterisk and NAT: SIP and IAX registration failed on remote connection behind NAT


Replacing pattern only when it matches a whole word

How can I find and replace only if a match forms a whole word?


Is it possible to duplicate the behavior of 'tail -f /var/log/maillog' with systemctl status?


Cannot open GUI editors in superuser mode

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


Is it possible to pass environment variables from child to parent in user space?


Removing a directory (that contains subdirectories) from a directory that has sticky bit

Giving group permissions to other user's files


How to extract file from tar.gz archive to different directory in bash

How do I extract with tar to a different directory?


How to find where an environment variable is defined?

How to determine where an environment variable came from?


When attempting to open an application over X11 forwarding over SSH, why is a local instance of the application opening?

Running Firefox in an Ubuntu VM over SSH opens host machine's Firefox


/usr/bin/env as a shebang - and its security implication

What is the difference if I start bash with "/bin/bash" or "/usr/bin/env bash"?


Determining what process is bound to a port


What is the difference between square brackets and double parentheses in Bash?

What is the difference between the Bash operators [[ vs [ vs ( vs ((?


What is the difference between $* and $@?


Mosh: Retain backscroll beyond terminal window height

Use Mosh without giving up local scrollback / history?


UBUNTU + extract filesystem.squashfs for editing

How to install squashfs-tools on Ubuntu?


ksh:Get files created on specific date in directory

Getting all files that have been modified on a specific date


zip a directory that name start with `-`

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


Efficient way to print lines from a massive file using awk, sed, or something else?


Is there a mechanism to run a "service" by a non-root user?

Keep processes running after SSH session disconnects


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


Having trouble uncompressing a few files


How is replaceable text shown in a terminal?

Use the command bar in bash without I/O?


How exactly do I create a sed script and use it to edit a file?

The way to use `/usr/bin/env sed -f ` in shebang?


What does * next to the file name mean in the output of ls?

What do the symbols displayed by ls -F mean?


Get exit status of process that's piped to another


How to take effect `usermod` command without logout and login

How to allow to run su instantly after I added the user to the appropriate group


Need small distro without a desktop or windows manager, just to run a single graphical app

How can I build a custom distribution for running a simple web browser?


Why does "logging out" of a session activate a newly added supplementary group?

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


How can I configure syslog.conf file, to log iptables messages in a separate file?


Why does du report a size of 0 for some non-empty files on a HFS+ partition?


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


Could Autorun Virus, affect my PC via Wine?

Does installing and using Wine open up your Linux platform to Windows viruses?


Why do I see myself twice when I run the who command?


Faster way to delete large number of files

Efficiently delete large directory containing thousands of files


Why linux is a monolithic kernel, while you can load/unload modules (e.g. drivers)?

How does Linux kernel compare to microkernel architectures?


How to prevent tmux from reading .profile/.zprofile/.bash_profile


In Bash scripting, what's the meaning of " $! "?


Fix broken apt: insserv: Service killprocs has to be enabled to start service single


How to transfer local files using PuTTY via ssh to remote server?


export env variables programmatically, via stdout of command

How to set multiple env variables from stdout pipe


What is wrong with parsing the ls command ?

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


Pipe all input and output of terminal to file

How to log whatever I enter in terminal to file


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


How can I interact with my home router via a device on the local network using ssh?


Explain the "@" symbol in this permissions example


How to install with pacman in ArchLinux without asking the user y/n?

Pacman option to assume "yes" to every question?


Using bash "&" operator with ";" delineator?

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


mounting iso image: message "block device is write protected, mounting read-only"!


Why do forked processes sometimes appear with brackets [] around their name in ps?

What do the brackets around processes mean?


create an alias that runs a command with string replacement from arguments


How can the order of execution in the shell as it relates to redirection be upset about 1 time out of a 1000 on my system?

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


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


How can I know how much space software takes?

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


For loop in Unix : including files from sub directories

Looping through files with spaces in the names?


Need a command sequence that will move files from one directory to another based on a particular year?


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


Is there something wrong with df output?

ext4: How to account for the filesystem space?


The amount of time since the system was last booted

How long system has been awake / running / since restart


Can I copy a folder with a progress bar?

How can I move files and view the progress (e.g. with a progress bar)?


Non-lexicographic sort based on particular column of file which is tab separated

Sort order to order this list in a specific order


Remove whitespace and parentheses in filenames with sed

how can I rename multiple files by removing a character or string?


The merits of a partitionless filesystem


How can I clean out duplicate entries from my PATH?

Remove duplicate $PATH entries with awk command


CentOS 7 SystemD Script with additional Command

How to implement policy conform systemd custom actions on Debian?


How to view the updates first before installing them in Ubuntu?

List available updates but do not install them


Command for creating a directory and navigating into it directly?

Is there a one-liner that allows me to create a directory and move into it at the same time?


ext4 to btrfs conversion: Can I pause, reboot the system and then resume the conversion?

ext4 to btrfs conversion: how many times the whole volume will be read during the process?


How could I know my server's operating system?

How can I tell what version of Linux I'm using?


How can I make "Press any key to continue"


How to grep for two words with a tab in between them

Why does my grep expression need to use $'string' to match tab characters?


How do I find block of text, from a text file, containing a specific string

Search for a string and print everything before and after within a range


du -sh and df -h are giving different output

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


Does 'rm .*' ever delete the parent directory?


Where do people use the "Here document" on UNIX systems?

How do you use output redirection in combination with here-documents and cat?


what is the significance of the "7" in "man 7 regex"?


Why can't I create directories under /root as a member of root?

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


Why can't I ping my cloud server IP running Nginx from my windows box?

Apache server at new AWS EC2 instance is not reachable


Cleanly swap all occurences of two strings using sed


How to locate exactly that executable, which will be run if it's name entered in command line?


Give user2 read only permission to user1's subdirectory

Give read-only access to specific folders?


grep the exact block of lines (content of file1) from file2

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


How to check disks at startup (alternative to chkdsk c: /f on Windows)

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


Understanding permissions properly for cp

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


Remove injected code from all php files in directory on Ubuntu


running commands consecutively in a bash

Executing commands consequtively on multiple folders


What command(s) can I use in a terminal to find a program that does a particular thing?

Tricks and tips for finding information in man pages


combine two file data having same column 1 but different col 2 values

How to merge two files based on the matching of two columns?


multiple files rename - filenames patterns


Should I be concerned with large (deleted) files in lsof?

Find and remove large files that are open but have been deleted


How can I recover from a `chmod -x chmod`?


Volume size larger using fdisk, but not df

Why is there a mismatch between size reported by LVM and the size reported by df -h?


Ubuntu Server monitor goes to sleep in 10 minutes

Ubuntu Server Continuously "goes to sleep"


Shell: mutual piping of STDIN/STDOUT of two commands

How to make bidirectional pipe between two programs?


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


How does tar deal with hardlinked files?


How to change the color of different files in ls

What causes this green background in ls output?


centOS: full file system backup and restoration

rsync all files of remote machine over SSH without root user?


Sed: Replace ANY IP address with 127.0.0.1

Replace arbitrary characters in the middle of an IP address string with sed


How do I escape a sub-directory name with an ampersand in it?


Sound indicator for when a script temporarily stops? For example, to fill in data or passwords?

How can I play a sound when script execution is ready?


How can I execute notify-send from root?


Using apropos command with -a to search multiple keywords on CentOS 7


Linux permission denied when make log message into file

sudo permission denied but su grants permission


How do you get descriptions of the available `shopt` options?


Bash perform variable expansion of string

Tool to create text files from a template


How to use as argument the characters + , - , x , / in a script

unix test when to use eq vs = vs == in test commands?


Check if multiple directories exist with bash script


How to run a script on screen lock/unlock?


Why are Terminals rendered in fixed width blocks

Why do VT100 terminals use only fixed-width fonts?


Can I specify a custom command before launching interactive bash session?

How to keep Bash running after command execution?


Overwrite a portion of a file w/o modification to the unmodified content


Pipe the result of a cut command to curl

How to pipe the result of 'date' command to 'mv' command


How to disable logging of wpa_supplicant into syslog


How do i make sure my partition is mounted automatically?


Securely wiping RAM with sdmem at shutdown

How to have Linux wipe/randomize/sanitize RAM at shutdown?


I want to output certain rows froms a spreadsheet to a different file, if they contain a number which is one higher than in the cell above


Fork Bomb: Why Piping Output Into Another Copy of Fork Bomb works if no Output is returned?


What situations exist where Bash variables should not be double quoted?


What is the full path for the pkill command?


How do I process text before I hand it over to enscript? (Or how do I print UTF8 Mutt messages to PDF?)


How does x86 / x64 binary compatibility work on Linux?

64-bit kernel, but all 32-bit ELF executable running processes, how is this?


@ERROR: chdir failed but directory exists


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


How to replace one package with another using yum?

Is there a way to install and remove packages in a single yum command?


Why is Linux load average reported as the exponential moving average?

Why isn't a straightforward 1/5/15 minute moving average used in Linux load calculation?


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

How to create SHA512 password hashes on command line


How do programs detect home directory (other than $HOME)

Isn't $HOME supposed to be the location of the user's home directory?


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


List all directories that do NOT have a file with a given file name inside


What is the correct name for the ">" command


Run Comand on all files (folders ad subfolders)

How do I run a command on multiple files


What does the parenthesis mean in a command description like "mklost+found(8)"


How to prevent screen from terminating once process ends

Prevent GNU screen from terminating session once executed script ends


Clone directory tree structure and copy files to the corresponding directories modified after a specific date


Bash vulnerability CVE-2014-6271 (Shellshock) fix on Debian 6.0 (Squeeze)

Legacy Debian versions and Bash Shellshock


NFS umount fails to find directory in /proc/mounts


ssh settings `permitopen="localhost:4000"` does not limit remote port forwarding

How can I limit ssh *remote* port forwarding?


How to trick a command into thinking its output is going to a terminal


What is the severity of the new bash exploit (shellshock)?

What does env x='() { :;}; command' bash do and why is it insecure?


Directories showing up in green(executable) even after removing execute permission for all

What causes this green background in ls output?


CVE-2014-6271 Bash Vulnerability example


Why does "ls | wc -l" show the correct number of files in current directory?

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


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


How to list disks, partitions and filesystems in Linux?

How do I find out what hard disks are in the system?


How to change to normal user in the command line when logged in as the root user?

How to switch between users on one terminal?


I am trying to find a better/easier way to count alphabetic characters in a file or shell variable

Count how many lines start with which characters


How to escape wildcard in path when using sudo -u <username> command

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


chroot: failed to run command ‘/bin/bash’: No such file or directory

"No such file or directory" on an executable, yet file exists and ldd reports all libraries present


Print lines between (and including) two patterns


Is there a way to execute the second-to-last command that started with a given string?

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


Copy a file to a directory that doesn't exist with only one command (Linux)

How can I copy a file and create the target directories at the same time?


Find files containing one string but not the other

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


Can I convert an existing LVM VG to a stripe (RAID0 eq)?

Convert a single-drive LVM volume to a striped volume across 3 drives


What did Ken Thompson mean when he said, "I'd spell creat with an 'e'."?


Is it possible triggering a script with a change of amount of files in a directory?

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


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


What is the difference between $* and $@?


How can I access a linux box at home in my browser at work?


Aligning the third word with 20 spaces from the beginning of the second word


How do I know all IP related to the wireless LAN in ubuntu 14.04?

Equivalent of iwlist to see who is around?


Can bash run a command when I hit enter on an empty line?

tell if last command was empty in PROMPT_COMMAND


Matching many pattern in file listing command ls?

How to open or list all files whose name matches two patterns in Bash


Go to line of file where number of lines minus "n"

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


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


find action not working for specific search

Got less output with print0 option on find?


Some puzzles of how to close file descriptors on sh or bash


Passing arguments from a file to a bash script


What is the :0 terminal in the who command's output?

What does the `who` command result `root :0` mean?


How can I get a specific line from a file?


Difference between "." and "./" while setting the environment variables using export?

What is the difference between ./script and . ./script?


How do I route traffic between eth0:0 and eth0

Converting Linux into a Router- Traffic from eth0:0 to eth0


How does sed -e '/./{H;$!d;}' -e 'x;/AAA/!d;' works to print paragraph

GREP / SED or AWK: Print entire paragraph in a file on pattern match


How to troubleshoot high load, when there are no obvious processes

Why load is high despite the fact that neither CPU or disk is overused


What is the purpose of "~" in the command "sed 's~ ~~g'"?


Remmina doesn't work with keyboard when connected remotely


Add xinput to the start up secuence of LXDE


return the numeric value of a indexed variable rather than its name

Shell, Concatenating 2 strings to reference a 3rd variable


How to find the full path of a file from my Desktop in Centos?

How to unpack a downloaded tar.bz2 archive?


HISTTIMEFORMAT modification. In /etc/bash.rc or /etc/profile?

Permanent Environment Variable for all users


Cannot remove file on NTFS partition, event as root

"no such file or directory" message when deleting a file that exists on NTFS


accessing stdin/stdout of a process started in another tty

How can I control an existing remote shell?


Permission issues when doing system backup using rsync

Execute remote commands, completely detaching from the ssh connection


bash script var not changed after the loop

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


Bash command to open a system's terminal

What is the most portable method of launching a terminal emulator?


How to make putty to not break my session after some time?


Self complied version of GCC overwriting package installed version


What is the language that appears on the first line of a script?

Does the shebang determine the shell which runs the script?


How to find the type of an img file and mount it?


How to determine which process is creating a file?


What do square brackets mean without the "if" on the left?

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


Mac OS X Darwin: how to reset admin password?


How could I remember how to use redirection?


Automatically save bash command history in screen session

Preserve bash history in multiple terminal windows


Remove All Packages from task-kde-desktop [Debian Stable/9]


I get "bash: ...: No such file or directory" even though the executable is there

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


How can I set up multiseat/separate X sessions with gnome 3?

Can one PC be used by two users at the same time via dual-monitor?


How do you know what development packages to install before compiling a program from source?

Get list of required libraries when installing something from source


Difference between executing multiple commands with && and ;

What are the shell's control and redirection operators?


Is there a difference between ./script and bash script?

Different ways to execute a shell script


How to find the most popular word in the text in a text file through the linux terminal


Debian how to install downloaded program


Remount squashfs root filessytem read-write


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


How to read the man page for a bash builtin?

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


Why does a new directory have a hard link count of 2 before anything is added to it?


How to view WIFI devices names and signal strength

Connecting to wifi network through command line


How to make grep return value without comma


Writing a bash script on a new box, Escaping Code

"cat" command: how to automatically escape everything that might be a violation?


Difference between open file & open STDIN, when to use each


Postpone unimportant OS updates on Fedora (dnf)

dnf equivalent of "yum update --security"


How do I extract specific URLs from an HTML file

How to parse hundred html source code files in shell?


How do I adjust the format of GNOME's digital clock to an advanced custom format?

Is there a way to adjust the formatting of the date/time in the GNOME 3 login screen and desktop?


Why doesn't INotify work with `/etc/mtab` or `/proc/mounts`?


How is sudo interrupted in xterm on Ctrl-C?

What are the responsibilities of each Pseudo-Terminal (PTY) component (software, master side, slave side)?


What does "is hashed" mean when using the type command?


Is there a way to know which files are being created, read or updated by running app?


Can I read the public SSH key of another user?


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


passwordless ssh setup without user directory

ssh into an account which has no home directory


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


Why doesn't `date +%F_%T` work in crontab?

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


Deleting symbolic links - Logics and how to

What is a symbolic link made from? Understanding the structure of symlinks


Searching for a string in all .txt files

How to search text throughout entire file system?


bash -c in subshell gives EOF parsing error

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


How to fix my terminal prompt being out by a character?

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


How to keep the field separator when printing $0 with awk


How to protect/secure the "sudo" log_input/log_output logs?

How to log commands within a "sudo su -"?


What is the difference between micro-kernel and monolithic-kernel?

How does Linux kernel compare to microkernel architectures?


How to set-up mac-like accents input on Linux?

Select characters by holding down a key in Linux (like in OSX)


grep: memory exhausted on big file when using pipe


awk accepting variable supplied by dollar sign in cshell


How to create an interactive bash script to collect arguments for a command in linux?


Why does GNU find suppress printing -prune'd directories when another "-or" test is applied?

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


How to recursively add zeroes to a file name


Why are both write and execute permissions on a directory necessary to be able to delete files?

Write-only permission for a directory doesn't allow to rename (move) files inside?


First argument of bash is different when parameter is passed or not


What is the difference between $* and $@?


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


Spaces in variable assignments in shell scripts


How do I find which external drive a folder is mounted from?


How to set a path variable without root acess?

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


Why can't I install bc on my Raspberry Pi?

E: Package '<any package>' has no installation candidate


Accessing a Linux box for forget username and password

How to change the forgotten root password?


How to keep my Debian system with the latest packages?


Can't give myself NOPASSWD privelege for chmod/chown

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


How to detect the desktop environment in a bash script?


How can I retrieve the permissions of a file in a certain format?

Convert ls -l output format to chmod format


Bash: redirect command argument completion

How do I redirect command completion output?


systemd: user service starts at boot with target default/graphical but not multi-user

Why doesn't my systemd user unit start at boot?


What's the fastest way of writing 1s to a hard disk?

How can I put a bit mask on /dev/zero so that I can get bytes other than zero?


What is the icon between settings and lock-screen in Gnome3?


Read file permission denied despite sufficient permissions

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


Finding the last character of a file and adding a string after that?


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


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


Functions in ~/.bash_profile not found in an interactive shell


How to search for a package with pacman?

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


404 Not Found when installing updates on Kali Linux

What should be in the sources.list for Kali Rolling Linux?


Getting only the name of the session in screen?

How can I add the session name to my screen status display?


How can I move indented lines to the end of the previous line?

Replace new line + 4x space to new line in stdout


Execute command on multiple severs in parallel using shell script

Automatically run commands over SSH on many servers


Linux/bash does not execute the executable that "which" tells me


How to sort shell history by recency and remove duplicates?

How can I remove duplicates in my .bash_history, preserving order?


basic linux executable path does not show up


Search For a Word and Replace It In Entire File Using Egrep

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


remove lines with sed that follow a particular line


How to run bash script on ssh authentication failed?


find and copy exec command not recursive

How to use `find -exec` to execute command in directory of found file (not current directory)?


AWK/SED Remove a specific latex command from the text AND closing bracket behind it


Why total RES doesn't match used memory in top command?

Correctly determining memory usage in Linux


How to easily build your own Linux Distro?


Add new line character in a text file using sed


grep inverted match on the file and not on a line by line match

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


The first occurence of the first two columns

Remove lines based on duplicates within one column without sort


What is the difference between Virtual Terminal and Pseudo Terminal?

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


Still alive, still alive after kill -9 / SIGKILL


Looping through files with spaces in the names?

Why is looping over find's output bad practice?


How to whitelist an URL in Privoxy (with a little regexp)


What are the advantages of building tools/libs from source?

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


Place windows from remote machine on my local machine desktop?

Transfer X from monitor to remote machine


Split gz file and decompress individually

Splitting gzip-file into smaller gz-files without recompressing


Why $JAVA_HOME does not persist on a mac?

How to permanently set environmental variables


What's the best way to take a segment out of a text file?


Why a combination of tail+grep+cut doesn't work?


Print from first instance text A to first instance of text B

How to select first occurrence between two patterns including them


What happens when I open and read from /proc?

What happens when I run the command cat /proc/cpuinfo?


`find -type l` matches file while `-type l -o -type f` does not, but only with explicit `-print`


Trying to modify the .profile file but it is missing

What is the difference between .profile and .bash_profile and why don't I have a .profile file on my system?


compare two csv files and fetch matching data

compare two columns of different files and print if it matches


Handling arguments in specified order in /usr/bin/printf or Bash printf

Print arguments to printf in no particular order


Redirection using file descriptors - specific example


Ignore a command as process itself while using grep on processes

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


Rename a bunch of files, changing several substrings

Find all [filename].mp4 and rename [filename].audio


printf thousand separator not working on MacBook


How to run a program, redirect its output and display the output on the screen?

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


Pass shell variable as a /pattern/ to awk


Executing the same command with different arguments in parallel

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


Disable keyboard but still allow reading from it


Why does `find` sometimes find my file, sometimes not


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


New lines in EOF multiline text produce errors in sed command using Unix shell

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


How do you detach the 2nd screen from within another screen?


Preserve systemctl colors while redirecting to a file

How to trick a command into thinking its output is going to a terminal


Getting access to incrementing extension of file (as a integer variable)


ZSH mapfile, how can I get the bash behaviour?

Is there a reason why the first element of a Zsh array is indexed by 1 instead of 0?


Appending content to file gives permission denied error

How to run a command that involves redirecting or piping with sudo?


Replacing pattern after nth match is found on each line?

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


How do I get a list of all the available keyboard layouts in X.org?

List all valid kbd layouts, variants and toggle options (to use with setxkbmap)


How can I copy a file from one server to another with the help of an intermediate server?


Mac logs Network and remotely (what do the logs look like)

How to know when and which user logged into the system under Mac OS X? Last is not enough!


How come when x=abc, [[ $x > 123 ]] && echo yes || echo no returns yes?

Are <=,>=, <,>, ==, !=, &&, and || used for arithmetic expressions or conditional expressions?


How to export an environment variable from .sh file in zsh?

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


Bash misinterpreting a sed statement to rename files


Linux: How to find the device driver used for a device?


How to remove a (group) of softwares that depend on one another?

Can I use grep matches to execute command?


Is it possible to make a .tar.gz file directly from stdin? Or, I need to tar together already gzipped files


find words with all vowels in order from a file


What's the difference between "dir" and "ls"?


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


How do I diff the outputs of two commands?


Why some strings are quoted with double backticks and double single quotes in man pages?

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


Obtaining information about system hardware

Getting information on a machine's hardware in Linux


How to limit 1 connect per 5 seconds? (IPTABLES)

How to limit 1 connection per 5 seconds? (IPTABLES)


Emptying a file for root user does not work

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


"Can't cd to /home/user" when sourcing a script

No such file or directory but I can see it!


Export commands works in interactive mode, but produces error message in script

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


How to recursively delete a dir after find

How to delete directories based on `find` output?


How to find public ip for a freebsd system

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


What is the difference between /dev/sda and /dev/hda?


how to `echo` 'formatted' man page of some command to text file

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


resolv.conf + is it necessary to defined the domain in resolv.conf

How to enable hostname resolving in Debian?


Rename file with the name from a variable


Prevent Debian from auto-enabling systemd services at package post-install

Conditionally enabling systemd files through Debian packaging


Is it possible to get which process changed my file

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


Command line shortcuts for changing directory

Quick directory navigation in the bash shell


CLI: How to set a folder's permissions the same as existing adjacent folders?

Clone ownership and permissions from another file?


What is the difference between HAL and udev?

What's the difference between udev and hald?


Block all but specified range of ip's input to an specific port

Whitelist source IP addresses in CentOS 7


How to add persist shell ulimit settings on Mac?

How to persistently control maximum system resource consumption on Mac?


Listing line number of results in `find` and `ls`


How does one inspect the directory structure information of a unix/linux file?


X Forwarding over SSH when switching users

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


What happens when writing to a device driver?

What happens when I run the command cat /proc/cpuinfo?


Can I set a text color for the prompt or text I type to to be different from text generated. using bash konsole

Customizing bash shell: Bold/color the command


Is insecure to give users permissions to apps in /opt?


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


Difference between "-" and "--" prefixed command line parameters?

Single dashes `-` for single-character options, but double dashes `--` for words?


Unable to update hostname output for Ubuntu Server (on Digital Ocean)

Editing /etc/hosts and /etc/sysconfig/network doesn't chane the hostname


What does ${1+"$@"} mean in a shell script, and how does it differ from "$@"?


df reports 100% full filesystem, du shows only 25% used even though there's no unlinked file

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


Why does reboot and poweroff require root privileges?

How does the power button shut the computer down without root permission?


Why am I still being asked for an ssh password when I'm using private key authentication?


Given the permissions, owner and group of a file, what's the algorithm that determines whether a given user can read/write/execute a file?

Precedence of user and group owner in file permissions


How to prompt a password automatically in Unix Shell script?

SSH login with clear text password as a parameter?


Why are filenames that start with a dot hidden? Can I hide files without using a dot as their first character?


udev working with SYMLINK but not with NAME

Is there a way to change device names in /dev directory?


What are the shell's control and redirection operators?


Tunneling multiple ports through a single port

SSH tunnelling with multiple dynamic port forwardings


How to inform man about number of columns in non interactive mode?

How to make man(1) use the entire terminal width?


How to get a process uptime under different OS?


ssh to remote machine using shell script

Shell Script for logging into a ssh server


Displaying and updating a counter in bash


Check if $REPLY is in a range of numbers


BSD sed: Replace only the Nth occurrence of a pattern

How to replace only the Nth occurrence of a pattern in a file?


Is there an equivalent of javascript Math.min() in bash/bc etc.?

Is there a unix command that gives the minimum/maximum of two numbers?


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


How to quickly cd to a command's directory after used the 'which' or 'type'

Output of which command used for input to cd


What can I know about this part of code?


What will happen if I put #!/bin/bash inside a script but use ksh for the script?

Does the shebang determine the shell which runs the script?


How to forward X over SSH to run graphics applications remotely?


Installing dependencies as a non root user

How to install program locally without sudo privileges?


Keeping a process running on server even SSH is closed

Keep processes running after SSH session disconnects


Is it possible to make zcat output text even if it's uncompressed?

Is there a tool that combines zcat and cat transparently?


how to loop through arguments in a bash script


Sort and uniq format to thousand separator


Compare two files and return a true or false value

How to compare two different files line by line in unix?


How to set the process won't be terminated when the terminal stops

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


shell or python script to transpose rows to columns


"error while loading shared libraries: libopenal.so.1" while installing Drox Operative

Running a 32-bit application in Debian Wheezy 64 bits: Missing libraries