You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: command-line/README.md
+20-9Lines changed: 20 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,15 @@ This tutorial works best if you are using the Bash shell. Linux and macOS come s
10
10
2. Next best option: Install a Linux virtual machine like [VirtualBox](https://www.virtualbox.org) and use the Terminal that comes with it. This takes more time but gives you access to a virtual Linux machine on your PC.
11
11
3. Last resort: Use Windows PowerShell. This has some functionality, as you saw in Appendix A of Shaw. But many of the commands below will not work, including `cd` (by itself), `cd -`, `touch`, `cat` (try `type` or a text editor), `head`, `tail`, and others.
12
12
13
-
### Overview of Part II
13
+
### Overview of Part I
14
14
15
-
#### Setup
15
+
Setup
16
16
17
17
* Open a shell in Terminal (Mac/Linux) or GitBash (Windows)
18
18
* Create a working directory for the course, and a lessons directory inside that
19
19
* Copy the day's lesson from GitHub to your lessons folder
20
20
21
-
#### Basic commands and skills
21
+
Basic commands and skills
22
22
23
23
* Moving between directories
24
24
* Absolute and relative paths
@@ -28,10 +28,12 @@ This tutorial works best if you are using the Bash shell. Linux and macOS come s
28
28
* Tab-completion of commands and paths
29
29
* GUI and command-line text editors
30
30
31
-
#### Customization
31
+
Text editors
32
+
33
+
* GUI text editors
34
+
* Command-line text editors
32
35
33
-
* Text editors
34
-
* Terminal
36
+
Customizing your terminal
35
37
36
38
### Basic commands
37
39
@@ -105,19 +107,28 @@ See the section [The Nano Text Editor](https://github.com/cuttlefishh/python-for
105
107
106
108
### Customizing your terminal
107
109
108
-
See the section [Setting up your bash environment](https://github.com/cuttlefishh/python-for-data-analysis/blob/master/lessons/lesson02.md#setting-up-your-bash-environment) in my course [Python For Data Analysis](https://github.com/cuttlefishh/python-for-data-analysis) for instructions on customizing your bash environment.
110
+
See the section [Setting up your bash environment](https://github.com/cuttlefishh/python-for-data-analysis/blob/master/lessons/lesson02.md#setting-up-your-bash-environment) in my course [Python For Data Analysis](https://github.com/cuttlefishh/python-for-data-analysis) for instructions on customizing your bash environment. More information is in the [GNU Bash Manual](https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Bash-Startup-Files).
109
111
110
-
For example, add this to your `.bash_profile` to have your `rm` command ask before deleting a file:
112
+
For example, add this to your `~/.bash_profile` to have your `rm` command ask before deleting a file:
111
113
112
114
```
113
115
alias rm='rm -i'
114
116
```
115
117
118
+
Add this to your `~/.bash_profile` to color the ouput of `ls`:
0 commit comments