Linux Essentials Introducción Filesystem Basics

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 16

Linux Essentials

Introducción Filesystem basics

Hecho por:
Juan Esteban Sossa
Ficha: 1822971
Instructor:
Alejandro Arias

Centro de Servicios y gestión empresarial


Teleinformática
Medellin
2019
Iniciando sesión.

La secuencia de teclas “CTRL-ALT-F1” hasta “CTRL-ALT-F6”


permite.
Comando who

Comando ls
[elvis@station elvis]$ ls /etc/sysconfig/rhn

[elvis@station elvis]$ cat /etc/hosts


[elvis@station elvis]$ ls /etc/sysconfig/rhn > lsout.txt

[elvis@station elvis]$ cat lsout.txt


[elvis@station elvis]$ ls /usr -- [elvis@station elvis]$ ls -l /usr

[elvis@station elvis]$ ls --size /usr/


[elvis@station elvis]$ ls –s /usr/

[alice@station student]$ pwd


Directorios /homem, /tmp, /bin, /usr/bin, /etc, /root y /.

/var y /var/www
[hogan@station hogan]$ which cp, [hogan@station
hogan]$ which Mozilla, [hogan@station hogan]$ which cd y
hogan@station hogan]$ which fdisk

[julius@station julius]$ ls
[julius@station julius]$ pwd > results.txt
[julius@station julius]$ ls
results.txt
[julius@station julius]$ echo Hello > greetings.txt
[julius@station julius]$ echo How are you >> greetings.txt
[julius@station julius]$ cat greetings.txt
Hello
How are you

Copiando archivos con cp:


Moviendo archivos con mv:

Eliminando archivos con rm:


Comando ls -R

Comando mkdir y rmdir.


[elvis@station elvis]$ ls
[elvis@station elvis]$ mkdir public_html
[elvis@station elvis]$ls
public_html

[elvis@station elvis] mkdir -p work/images/advertising


[hogan@station hogan]$mkdir /home/prueba
[hogan@station hogan]$ rm /home/prueba/

File [OPTIONS] [FILE...], cat [OPTIONS] [FILE...], more


[OPTIONS] [FILE...], less [OPTIONS] [FILE...], head [OPTIONS]
[FILE...] y tail [OPTIONS] [FILE...]
Nano es un editor de texto de línea de commandos.

Gedit es un editor de texto en modo gráfico

You might also like