Skip to content

Commit 0388a74

Browse files
committed
chore(00-linux): updated Vagrantfile and curl doc
1 parent 49b99c3 commit 0388a74

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

00-fundamentos-linux/02-trabajando-con-la-cli/01-curl.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ $ curl -O https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg
2929
Si descargamos un fichero grande podemos cortar la descarga y continuarla más adelante utilizando el flag `-C` (`--continue-at <offset>`) con el valor `-` para utilizar el fichero existente:
3030

3131
```shell
32-
## Limitamos la velocidad de descarga a 1Mbps (el fichero pesa 18MB)
33-
$ curl -O --limit-rate 1M https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_1920_18MG.mp4
32+
## Limitamos la velocidad de descarga a 1Mbps (el fichero pesa 15MB)
33+
$ curl -O --limit-rate 1M https://freetestdata.com/wp-content/uploads/2022/02/Free_Test_Data_15MB_MP4.mp4
3434

3535
## Cortamos la descarga con Ctrl + C
3636
^C
3737

3838
## Continuamos la descarga añadiendo "-C -"
39-
$ curl -O --limit-rate 1M -C - https://file-examples-com.github.io/uploads/2017/04/file_example_MP4_1920_18MG.mp4
39+
$ curl -O --limit-rate 1M -C - https://freetestdata.com/wp-content/uploads/2022/02/Free_Test_Data_15MB_MP4.mp4
4040
```
4141

4242
> Si no queremos mostrar barra de progreso al descargar un fichero añadiremos el flag `-s` (`--silent`).

00-fundamentos-linux/Vagrantfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Vagrant.configure(2) do |config|
66
config.vm.define "ubuntu-server" do |server|
7-
server.vm.box = "bento/ubuntu-20.04"
7+
server.vm.box = "bento/ubuntu-22.04"
88
server.vm.hostname = "ubuntu-server"
99
server.vm.network "private_network", ip: "192.168.33.10"
1010
server.vm.provider "virtualbox" do |vb|
@@ -20,7 +20,7 @@ Vagrant.configure(2) do |config|
2020
end
2121

2222
config.vm.define "ubuntu-client" do |client|
23-
client.vm.box = "bento/ubuntu-20.04"
23+
client.vm.box = "bento/ubuntu-22.04"
2424
client.vm.hostname = "ubuntu-client"
2525
client.vm.network "private_network", ip: "192.168.33.20"
2626
client.vm.provider "virtualbox" do |vb|

0 commit comments

Comments
 (0)