Tag: bash

604 What does 'source' do? 2009-09-24T10:35:48.933

453 Difference between .bashrc and .bash_profile 2010-09-02T14:40:34.913

319 chown is not changing symbolic link 2009-11-09T13:02:39.417

311 How do I detach a process from Terminal, entirely? 2009-03-23T11:59:25.947

308 Go back to previous directory in shell 2010-02-25T06:44:42.983

306 How do I add text to the beginning of a file in Bash? 2011-02-17T03:21:12.893

302 How can I search the bash history and rerun a command? 2009-07-17T19:23:49.733

302 What is the difference between executing a Bash script vs sourcing it? 2009-12-11T15:24:17.607

247 Bash: Iterating over lines in a variable 2011-05-16T12:14:48.887

196 Why does Ctrl + V not paste in Bash (Linux shell)? 2012-05-07T07:44:30.483

194 In bash, how do I escape an exclamation mark? 2010-04-22T18:53:43.307

190 I accidentally typed password into bash command line 2014-04-02T06:42:06.727

189 Using watch with pipes 2010-05-12T19:23:47.857

183 What to do when Ctrl + C can't kill a process? 2011-02-09T08:49:24.897

170 How can I find only the executable files under a certain directory in Linux? 2009-09-10T11:56:56.407

152 Remove a certain line from Bash history file 2012-01-31T15:43:03.290

148 How to ignore certain filenames using "find"? 2012-03-05T23:28:16.087

146 Is it possible to `tail -f` the output of `dmesg`? 2011-05-26T21:55:11.707

141 Where does $PATH get set in OS X 10.6 Snow Leopard? 2009-11-11T18:48:39.547

141 Case insensitive tab completion in Bash 2010-01-01T20:02:33.613

141 How to access Windows folders from Bash on Ubuntu on Windows 2016-04-16T17:33:13.120

129 Add directory to $PATH if it's not already there 2009-09-11T16:19:11.790

126 Bash: Spaces in alias name 2010-02-05T22:35:30.723

125 Execute a command from another directory in bash 2011-04-17T16:05:57.320

124 How to configure PuTTY so that Home/End/PgUp/PgDn work properly in bash? 2010-01-11T16:48:26.380

123 How to delete all files in a directory except some? 2013-01-08T12:17:05.293

120 Git Bash Here in ConEmu 2012-07-27T14:07:21.907

117 Linux Bash Script, Single Command But Multiple Lines? 2012-11-21T03:09:10.843

116 How to remove/reset Windows Subsystem for Linux on Windows Insider Build 14316 2016-04-14T20:35:33.653

113 Does bash have a hook that is run before executing a command? 2010-08-14T11:09:20.117

113 What is the home directory on Windows Subsystem for Linux? 2017-03-04T01:59:01.993

110 Forward SSH traffic through a middle machine 2010-02-11T03:58:31.200

107 How do I make Bash my default shell on Ubuntu? 2009-09-25T12:03:09.683

106 Bash scripting: test for empty directory 2011-10-31T03:47:31.703

106 How can I SSH into "Bash on Ubuntu on Windows 10"? 2016-08-09T14:52:46.110

104 Change default text editor for crontab to vim 2011-05-10T16:13:21.293

104 Display each sub-directory size in a list format using one line command in Bash? 2013-02-19T15:34:27.710

103 How do I reload .inputrc? 2011-02-03T11:31:14.843

102 How do I make ctrl-arrow keys move forward/backward a word at a time in Cygwin bash? 2011-08-10T01:17:28.673

101 How to remove a symbolic link to a directory? 2009-07-20T12:40:03.283

101 looping through `ls` results in bash shell script 2009-08-28T17:03:49.970

99 How to add a mp3 handler to sox? 2012-05-06T07:42:23.290

97 What does the 'rc' in `.bashrc`, etc. mean? 2010-08-07T14:41:17.687

96 How to sort first directories then files etc… when using “ls” in Unix 2010-02-16T13:13:29.423

96 Previous commands wrapped with square brackets in OS X Terminal 2015-09-18T09:15:39.277

96 Windows Linux Subsystem - Accessing Files outside of Ubuntu 2016-06-03T09:32:28.353

94 How can I save the current contents of less to a file? 2011-05-31T09:46:56.050

92 How to get git-completion.bash to work on Mac OS X? 2009-08-29T00:49:19.100

92 How can I change shell in Ubuntu? 2010-03-12T15:12:47.930

92 How can I do a recursive find and replace from the command line? 2012-05-24T18:56:46.333

91 Is there a shortcut to mkdir foo and immediately cd into it? 2010-06-15T14:22:06.017

90 Where to find the .bashrc file on Mac OS X Snow Leopard and Lion? 2010-05-30T21:03:42.050

88 How to pipe command output to other commands? 2010-09-16T13:40:08.950

88 How can I resolve the error "cannot execute binary file"? 2012-06-12T21:26:53.477

86 how to expand aliases inline in bash? 2011-02-19T09:43:48.277

86 Get home directory by username 2012-10-06T15:17:31.963

85 How to: Unlimited Bash/shell history? 2010-05-04T12:01:13.163

84 tar: Exiting with failure status due to previous errors 2010-07-29T07:17:55.313

84 how do I echo $something >> file.txt without carriage return? 2012-03-01T08:25:33.467

83 What does export do in BASH? 2010-06-16T20:02:37.657

83 Mac OS X .bashrc not working 2011-02-12T13:58:17.023

83 Finding files which contain a certain string using find (1) and grep (1) 2013-07-02T09:24:45.720

82 How to unalias a minus? 2017-03-02T10:01:20.273

81 Copy a directory on Unix 2010-12-15T15:45:40.463

81 List files bigger than filesize specified 2011-01-15T14:59:12.650

81 How do I get the output and exit value of a subshell when using "bash -e"? 2011-12-01T13:22:25.967

80 When to use Bash and when to use Perl/Python/Ruby? 2012-04-21T02:37:02.067

80 Is redirection with `>>` equivalent to `>` when target file doesn't yet exist? 2018-07-23T08:42:56.713

79 How do I change the language of the Linux subsystem in Windows 10 (WSL)? 2016-08-03T05:14:42.853

77 How to gzip multiple files into one gz file? 2011-03-29T01:22:26.120

77 How can Homebrew print a beer mug in Terminal? 2013-01-18T04:54:46.533

77 Why would you `cat /dev/null > /var/log/messages`? 2014-12-06T19:40:17.323

76 Show only current directory name (not full path) on bash prompt 2009-10-25T21:38:55.423

76 Linux command to repeat a string n times 2009-12-22T03:02:54.930

75 How to keep only every nth line of a file 2012-03-03T17:20:17.047

74 How do I enter a literal tab character in a bash shell? 2011-11-28T16:04:02.520

74 Does rm -rf follow symbolic links? 2012-01-25T16:39:39.260

74 Substitution in text file **without** regular expressions 2012-05-09T15:00:43.013

73 How do I get ls --color=auto to work on Mac OS X? 2010-09-02T14:53:59.177

73 How do I perform commands in another folder, without repeating the folder path? 2013-05-17T12:22:17.030

71 Set the title of the terminal window to the current directory 2009-12-07T18:27:01.753

71 Windows 10 Ubuntu Bash Shell: How Do I Mount Other Windows Drives? 2016-08-16T22:45:29.793

70 Check if any of the parameters to a bash script match a string 2010-09-08T19:28:14.553

70 Find out if user name exists 2011-09-16T07:28:07.387

69 cURL: how to suppress strange output when redirecting? 2010-08-07T17:32:58.987

69 Messed up my .bash_profile remotely, can't ssh back in 2019-11-23T18:02:11.490

68 push/pop current directory? 2011-01-11T18:34:28.537

68 How to rehash executables in $PATH with bash 2012-10-22T08:57:13.093

67 How to create and format a partition using a bash script? 2011-09-05T21:38:11.687

66 What is Git Bash for Windows anyway? 2016-03-16T14:27:10.483

66 Where is the C drive in the WSL? 2016-08-02T04:24:13.007

65 bash watch command with colors preserved 2010-03-29T19:00:04.377

65 .bashrc not sourced in iTerm + Mac OS X 2011-08-07T02:01:26.903

64 Why is . not in the path by default? 2010-06-25T05:25:28.147

64 How to list printer names acceptable for use with lpr? 2010-08-18T16:23:22.873

64 Continuously re-execute a command when it finishes in Bash 2011-11-27T11:41:12.420

63 Run or send a command to a tmux pane in a running tmux session 2012-10-24T11:57:01.310

62 Monitoring a file until a string is found 2011-04-13T20:38:57.810

62 How to join/merge many mp3 files? 2011-07-23T21:19:26.970