Contents :-
Advanced commands in linux
Linux offers a plethora of advanced commands beyond the basic ones like ls, cd, mkdir, etc. These advanced commands provide powerful functionalities for various system administration tasks, file manipulation, networking, and more. Here's a list of some advanced commands in Linux:
find: Searches for files and directories in a directory hierarchy based on various criteria like name, type, size, etc.
grep: Searches for patterns in text files. It's extremely useful for finding specific lines in files or filtering command output.
awk: A powerful text processing tool used for pattern scanning and processing.
sed: Stream editor used for filtering and transforming text.
tar: Used for creating and manipulating archive files (Tape ARchives).
rsync: Efficiently syncs files and directories between two locations, either locally or over a network.
scp: Securely copies files between hosts on a network.
ssh: Secure Shell protocol for securely accessing a remote system.
top: Displays dynamic real-time information about running processes.
htop: An interactive process viewer, providing a more user-friendly interface compared to top.
ncdu: Disk usage analyzer with an ncurses-based interface, allowing you to visualize disk usage and navigate directories.
dd: Copies and converts files or blocks of data with specified input and output formats.
cron: A daemon used to schedule commands or scripts to run periodically at fixed times, dates, or intervals.
at: Executes commands at a specified time.
screen/tmux: Terminal multiplexers that allow you to have multiple virtual terminal sessions within a single terminal window.
lsof: Lists open files and the processes that opened them, helpful for troubleshooting and system analysis.
netstat/ss: Display network-related information such as open sockets, routing tables, interface statistics, etc.
iptables/firewalld: Tools for managing firewall rules on Linux systems.
journalctl: Query and display messages from the systemd journal, which logs system and service activity.
strace: Traces system calls and signals, showing you the interactions between processes and the Linux kernel.
ltrace: Similar to strace, but instead traces library calls.
ping: Sends ICMP Echo Request packets to a specified network host, helping to diagnose network connectivity issues.
traceroute/tracepath: Traces the path packets take to reach a specified destination, showing network hops and latency.