git commands part 2

git commands part 2

Here you can read part 1. In this part, I will write about working with remote repositories. First create a remote repository. I will create on github. Login to your account and click Start a project Choose name for the repository, if it is public or private and edit any other option you need to. Click Create repository. You will need the repository address. Then click creating a new file. I will create a README.mk Now click Commit new file at the bottom of the screen. You need to scroll…

git commands part 2 Read More

Git – Commands Part 1

Git – Commands  Part 1

git config –global user.email “email” – Your email address to be recorded in any newly created commits. git config –global user.name “username” – Your full name to be recorded in any newly created commits. git init– Initialize a local Git repository in the directory you are git status – Shows the status and any changes Create a README.md as mark down format. Now check again the git status. With red color is the files that are untracked. So we need to add the file to repository with git add README.md…

Git – Commands Part 1 Read More

Ubuntu 18.04 – shell commands check for disk space

Ubuntu 18.04 – shell commands check for disk space

df df – report file system disk space usage or in a more readable format du du – estimate file space usage It estimates the size of all the directories on your system only for your home directory If you want only the total size then THE END!!! Ubuntu 18.04 – shell commands mount and umount Ubuntu 18.04 – shell commands list devices and hardware Ubuntu 18.04 – shell commands find Ubuntu 18.04 – shell commands check for disk space

Ubuntu 18.04 – shell commands check for disk space Read More

Ubuntu 18.04 – shell commands mount and umount

Ubuntu 18.04 – shell commands mount and umount

If you want to access a usb storage device, or any other storage, first you need to mount this device to your filesystem. You need to know the name of the device. If you do not know how to do that, read this post. Then you need to create a mount point. Now you can mount the device to the mount point you created before More information about mount here. Now if you want to unmount this device, you must use umount command THE END!!! Ubuntu 18.04 – shell commands…

Ubuntu 18.04 – shell commands mount and umount Read More

Ubuntu 18.04 – shell commands list devices and hardware

Ubuntu 18.04 – shell commands list devices and hardware

If you want to see all the usb devices/drives and disks then you can use the following commands lsblk list block devices fdisk -l fdisk – manipulate disk partition table dmesg dmesg – print or control the kernel ring buffer lspci lspci – list all PCI devices THE END!!! Ubuntu 18.04 – shell commands find Ubuntu 18.04 – shell commands locate Ubuntu 18.04 – shell commands copy, move and delete items (files/directories) Ubuntu 18.04 – shell commands list devices and hardware

Ubuntu 18.04 – shell commands list devices and hardware Read More