Professional Documents
Culture Documents
Day11 More Commands
Day11 More Commands
Eg: ip addr
ip route
ip address show eth0
bmon:
- bandwidth monitor
- used to display real-time bandwidth consumed by the n/w interface
Eg; bmon
ifstat:
- display IN-OUT packet information of all n/w interfaces
Eg: ifstat
ifdown eth0:
- used to take down a particular n/w interface
ifup eth0:
- used to turn on a n/w interface
ethtool:
- used to display detailed information about n/w interfaces
curl:
- used to communicate with internet through command prompt, terminal
other commands:
alias:
- giving another name to a command
crontab:
- used to schedule a task to get executed in future
Eg: crontab -l
crontab -e
du:
- disk usage
- display the memory usage of a file
Eg: du /home/kali/Downloads
du -h /home/kali/Downloads
pipe(|):
- used to redirect output of a command as input to another command
double redirection(>>):
- > = clear previous data and enter new data into a file
- >> = it appends new data to old data
wc:
- display no of lines
- no of words
- no fo characters
in a file
Eg: wc cat.txt
tee command:
Eg: ls -l
ls -l > ls.txt
ls -l | tee tee_op.txt