linux

https://codeanywhere.com/editor/#


sudo apt-get update ///to update
sudo apt install // for install file
sudo apt-get install
ifconfig to kw your device eafpadcommunicate or not
clear to clean screen
apt-get update && apt-get upgrade to update or upgrade your device
uname to know which software
uname -r to know which version of linux rr mean recursive

uname -a a mean all to know all details

history to know the all linux comands

ls for listing to know all current directories
cd .. for catch directory mean 1 time back

cd and ls you are in root directory

cd Desktop/ to go to the folder
touch test to create a file then give file name
touch file_name.format and hit enter to create a file
wd root

rm for remove
rem file_name.txt hit enter to delete the file

mkdir for make folder mk mean make dir mean directory


mkdir folder name hit enter it create a folder

rmdir rm for remove and dir directory

rmdir folder_name hit enter it delete the file

man ls man for manual this command use for to know about all command

cp for copy
cp file name /directory/ hit enter
for example cp teser /home/


ls - l file name to check the permission


chmod for permission
chmod 764 file name follow the video link last part
https://youtu.be/BGjTboXjH28



gcc --version to know gcc version

sudo apt install build -essential
gcc file_name -o new_file_name for compile

./new_file_name to compile

pwd to know which location am i


cat > text_file_name.txt to edit the text write to stop use(ctrl+z)

vi text_file_name to read the text file
:wq to save the file

whoami this return the user name

leafpad .bashrc


sudo su go to root directory


sudo passwd root to change root password(//the password is hide)

su go to root directory


exit for get out from root





apt install git it run only root directory

sudo apt get install install command


ps aux | grep -i apt to kill running program

pwd where are u now

ls -a show evrything


ettercap man in software

rm -f file_name it is usse for foce to remove anyone cant not question you

tar svf folder_name for extract file


gedit to open note pad then click on plan text and select the programming language, then save it file location,then open the file in terminal, the write

gcc - o test file_name.c //For c

g++ - o test file_name.cpp //For C++


mv old_file.extenstion new file.extension // for rename

mv file_name path //for move

apt get-install vim g++ codelite cmake //to install g++ compailer
https://youtu.be/LKLuvoY6U0I

sudo apt-get remove file_name ///to remove


https://www.techinfected.net/2012/05/how-to-write-and-compile-c-program-in-linux.html

sudo apt-install vim
vim file_name.extension
//text editor in terminal

g++ file name.cpp
//to check it work or not or find error

then
./a.out
//to get output


i for start writting
when you have completed your program press "ESC" and type ":wq" to save your code and exit vim editor.

"ESC" and type ":w" for save

Press the ESC key
Type :q!
Press the ENTER key Exit vim without saving changes i.e. discards any changes you made.
:w filename to save

:q to quit

:q! to quit in spite of unsaved changes



sudo poweroff for power off

MOVE file:
mv file_name.extension ~/location
EX: mv test.cpp /Desktop

host -t ns Microsoft.com
//we got all dna name sever from Microsoft.com

host -t mx Microsoft.com
//which mail server use


nmap -T3 -sP 192.168.0-255

nmap -T4 -p 1-1000 192.168.0-255

host -l mx Microsoft.com_which dna server u get



////////////////
install java

Java Installation (PPA) sudo add-apt-repository ppa:linuxuprising/java sudo apt-get update sudo apt-get install oracle-java10-installer Setting up environment variables (make java10 default) sudo apt-get install oracle-java10-set-default

////////////////

theharvester //for know email address host name from Target domain

net-tools //to use ifconfig

https://protonvpn.com/support/linux-vpn-setup/ //how to install vpn in linux

https://vim.fandom.com/wiki/Tutorial linux vim tutorial

https://youtu.be/9vtSvPnCBwo >>hosting solve
https://youtu.be/oxuRxtrO2Ag

https://youtu.be/BGjTboXjH28

Comments

Popular Posts