Information and Install Linux on Oracle Virtual Box:
- Setup-Instruction : click here
- Download Virtualbox : check
- Download Linux : Downloads
- Note : Dont forget to eneble windows virtualization technology on Bios
- Best Seller Course : Click here to download
---- check name of environment uname
Version of Linux : Ubuntu,Linux Mint, Kali Linux, CentOS.
pwd
check the current directory.ls
check folder on directoryls -a
show hidden file alsols -l
show details &ls -la
, human readablels -lah
mkdir newFolder
make directory on folder, long foldermkdir -p new/bdh/efgh/twi
rmdir directory_name
delete empty directoryrm -r directory_name
delete not empty directory,rm -i files
delete multiple filestouch file.txt, touch file.py
create any filels *.txt
present file which extention txtmv file.py location
move file to anohrt path also rename in one anothercp file3.txt file4.txt
,cp -r file3 file4
both file content will be same and also copy to another location -locate filename
find any file usingclear
erase the display.echo I am Linux command writer >>file.txt
write something on text filecat file.txt
display those contents like ,cat text1.txt, text2.txt, text3.txt ->all.txt
cat all.txt
see all content in same filenano file.txt
,vi file.txt
to write content on nay file.head file.txt
,tail file.txt
view 10 first or 10 last rowwc file.txt
word and character in fileman --help
Check command and how it work
df -m
check which file contain how much storage.zip file_folder
to zip andunzip
to unzipe file folder.chmod +x file.py
a file on running mode,sudo chmod +x file.py
to give root permission.hostname
,hostname -I
show hostname and ip Address.ping google.com
to check internet connection.sudo halt
to power off and reboot the computer by using the commandsudo reboot
.Ctrl C
stopCtrl Z
forcefully stopuptime
run from how much times.free -h
current storage limitman ps
man file
check details about manual command
ifconfig
to find that installsudo apt install net-tools
ip -a
to check ip and can manipulate by other commands.
sudo
stands for "SuperUser Do". So, if you want any command to be done with administrative or root privileges, you can use the sudo command. For example, if you want to edit a file likeviz. alsa-base.conf
, which needs root permissionssudo nano alsa-base.conf.
,sudo passwd
for change password.sudo apt install file
to install, check updatesudo apt update
do updatesudo apt upgrade
apt stand for advance packet manager tools.sudo apt search
search package and removesudo apt remove filename
id user
check details about usersudo su
to go root userwhich useradd
where we can add usersudo useradd username
add any kind of user --- main user can any sub user group
env
, ->echo $PATH
,alias