ls with only file name
# List ONLY file names of current folder (non recursive) ls -A1
Here is what the above code is Doing:
1. ls -A1
-A, –almost-all
do not list implied . and ..
-1
list one file per line.
# List ONLY file names of current folder (non recursive) ls -A1
Here is what the above code is Doing:
1. ls -A1
-A, –almost-all
do not list implied . and ..
-1
list one file per line.
explorer . # open current folder Here is what the above code is Doing: 1. We’re importing the os module, which contains functions for interacting with the operating system. 2. We’re getting the current working directory, which is the file path that Python is currently looking at. 3. We’re joining the current working directory with…
First create your github repository. Then in Collab, go to file->save a copy in github then select the repository you created and the branch you want ot use Here is what the above code is Doing: 1. Importing the necessary libraries 2. Loading the data 3. Splitting the data into training and testing sets 4….
sudo apt install playonlinux Here is what the above code is Doing: 1. We’re using the sudo command to run the apt command as a superuser. 2. We’re using the install command to install the playonlinux package.
service mysql-server start Here is what the above code is Doing: 1. We’re using the apt-get command to install the MySQL server and client. 2. We’re using the debconf-set-selections command to set the MySQL root password. 3. We’re using the service command to start the MySQL server.
sudo apt install qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils Here is what the above code is Doing: 1. Install the qemu-kvm package, which is the core virtualization package. 2. Install the libvirt-clients and libvirt-daemon-system packages, which provide the libvirtd service and other software that allows you to interact with the virtualization capabilities of the system. 3. Install…
sudo apt-get install audacity Here is what the above code is Doing: 1. We’re using the sudo command to run the apt-get command as the superuser. 2. We’re using the install command to install the audacity package. 3. We’re using the apt-get command to install the audacity package.