You can click on the button bellow to download latest version of ubuntu
Download ubuntu isofollow the instructions to make usb bootable.
shrink a drive or partision
Shut down your computer if its on and then follow the steps below
PrismJS is used as the syntax highlighter here. You can build your own version via their website should you need to.
dsplay the OS name , release and version
uname -srv
lscpu
uptime
clear
su -
It might ask you for root password, so enter it and hit enter.
free
ps
top
kill
date
cal
shutdown
these commands will help us to create,delete,edit,view& rename files.
touch <file-name>
you can create more then one file at a time by typing
touch <firsst-file-name> <second-file-name> <third-file-name>
rm <file-name>
you can delete more then one file at a time by typing
rm <firsst-file-name> <second-file-name> <third-file-name>
nano <file-name>
after this command nono editor will be opened in your terminl and you can write what ever you want.
If you want to go out of nano editor, follow the steps below
cat <file-name>
mv <old-file-name> <new-file-name>
Here we will see to change permissions of files.
chmod 777 <file-name or path>
In aove cammand 777 can be described as
Here we will see some more important commands.
cammand | Purpose |
---|---|
hostname | display system host name |
hostname -i | display ip address of host |
find /path/to/search -name "file or folder name" | used to search a file or folder in a specfic location |
df -h | display a disk space usage |
du <path> | display all files in a specific directory and their size |
du -s <path> | display size of specified directory |
w | display users that are online |
apt-cache search | display list of all packages |
info <command> | online information about a command |
whatis <command> | short description of the command |
type <command> | show tle location of command file |
su - | switch to root while in the shell |
shutdown | shutdowns the system |
alias <short-name="<command>"> | helps to make a command short |
unalias <short name> | remove or delete a saved alias |
reboot | restarts the system |
wc <path to file> | count the number of character, words and lines in a file |