In [35]:
from IPython.display import Video

Video("first_linux_assignment.mp4")
Out[35]:
In [2]:
ls /etc/ >> file1.txt
In [3]:
ls /run/ >> file2.txt
In [18]:
cat file1.txt file2.txt > unsorted.txt | sort -r unsorted.txt > reverse.txt
In [24]:
!head unsorted.txt && tail unsorted.txt
acpi/
adduser.conf
alternatives/
anacrontab
apache2/
apm/
apparmor/
apparmor.d/
apport/
appstream.conf
snapd.socket=
sudo/
systemd/
tmpfiles.d/
udev/
udisks2/
user/
utmp
uuidd/
wpa_supplicant/
In [23]:
!head reverse.txt
zsh_command_not_found
wvdial.conf
wgetrc
vdpau_wrapper.cfg
utmp
usb_modeswitch.conf
updatedb.conf
uniconf.conf
ucf.conf
timezone