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: commands/linux.ipynb
+25-70
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,5 @@
1
1
{
2
2
"cells": [
3
-
{
4
-
"cell_type": "markdown",
5
-
"metadata": {},
6
-
"source": [
7
-
"This notebook was prepared by [Donne Martin](http://donnemartin.com). Source and license info is on [GitHub](https://github.com/donnemartin/data-science-ipython-notebooks)."
8
-
]
9
-
},
10
3
{
11
4
"cell_type": "markdown",
12
5
"metadata": {},
@@ -40,9 +33,7 @@
40
33
{
41
34
"cell_type": "code",
42
35
"execution_count": null,
43
-
"metadata": {
44
-
"collapsed": false
45
-
},
36
+
"metadata": {},
46
37
"outputs": [],
47
38
"source": [
48
39
"!df -h"
@@ -58,9 +49,7 @@
58
49
{
59
50
"cell_type": "code",
60
51
"execution_count": null,
61
-
"metadata": {
62
-
"collapsed": false
63
-
},
52
+
"metadata": {},
64
53
"outputs": [],
65
54
"source": [
66
55
"!du -h ./"
@@ -76,9 +65,7 @@
76
65
{
77
66
"cell_type": "code",
78
67
"execution_count": null,
79
-
"metadata": {
80
-
"collapsed": false
81
-
},
68
+
"metadata": {},
82
69
"outputs": [],
83
70
"source": [
84
71
"!du -sh ../"
@@ -94,9 +81,7 @@
94
81
{
95
82
"cell_type": "code",
96
83
"execution_count": null,
97
-
"metadata": {
98
-
"collapsed": false
99
-
},
84
+
"metadata": {},
100
85
"outputs": [],
101
86
"source": [
102
87
"!du -csh ./"
@@ -119,9 +104,7 @@
119
104
{
120
105
"cell_type": "code",
121
106
"execution_count": null,
122
-
"metadata": {
123
-
"collapsed": false
124
-
},
107
+
"metadata": {},
125
108
"outputs": [],
126
109
"source": [
127
110
"!wc -l < file.txt"
@@ -137,9 +120,7 @@
137
120
{
138
121
"cell_type": "code",
139
122
"execution_count": null,
140
-
"metadata": {
141
-
"collapsed": false
142
-
},
123
+
"metadata": {},
143
124
"outputs": [],
144
125
"source": [
145
126
"!grep -c \".\" file.txt"
@@ -155,9 +136,7 @@
155
136
{
156
137
"cell_type": "code",
157
138
"execution_count": null,
158
-
"metadata": {
159
-
"collapsed": false
160
-
},
139
+
"metadata": {},
161
140
"outputs": [],
162
141
"source": [
163
142
"!split -l 20 file.txt new"
@@ -173,9 +152,7 @@
173
152
{
174
153
"cell_type": "code",
175
154
"execution_count": null,
176
-
"metadata": {
177
-
"collapsed": false
178
-
},
155
+
"metadata": {},
179
156
"outputs": [],
180
157
"source": [
181
158
"!split -l 802 -a 1 file.csv dir/part-user-csv.tbl-"
0 commit comments