Day 3 :-  Advanced linux commands

Day 3 :- Advanced linux commands

·

2 min read

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:

  1. find: Searches for files and directories in a directory hierarchy based on various criteria like name, type, size, etc.

  2. grep: Searches for patterns in text files. It's extremely useful for finding specific lines in files or filtering command output.

  3. awk: A powerful text processing tool used for pattern scanning and processing.

  4. sed: Stream editor used for filtering and transforming text.

  5. tar: Used for creating and manipulating archive files (Tape ARchives).

  6. rsync: Efficiently syncs files and directories between two locations, either locally or over a network.

  7. scp: Securely copies files between hosts on a network.

  8. ssh: Secure Shell protocol for securely accessing a remote system.

  9. top: Displays dynamic real-time information about running processes.

  10. htop: An interactive process viewer, providing a more user-friendly interface compared to top.

  11. ncdu: Disk usage analyzer with an ncurses-based interface, allowing you to visualize disk usage and navigate directories.

  12. dd: Copies and converts files or blocks of data with specified input and output formats.

  13. cron: A daemon used to schedule commands or scripts to run periodically at fixed times, dates, or intervals.

  14. at: Executes commands at a specified time.

  15. screen/tmux: Terminal multiplexers that allow you to have multiple virtual terminal sessions within a single terminal window.

  16. lsof: Lists open files and the processes that opened them, helpful for troubleshooting and system analysis.

  17. netstat/ss: Display network-related information such as open sockets, routing tables, interface statistics, etc.

  18. iptables/firewalld: Tools for managing firewall rules on Linux systems.

  19. journalctl: Query and display messages from the systemd journal, which logs system and service activity.

  20. strace: Traces system calls and signals, showing you the interactions between processes and the Linux kernel.

  21. ltrace: Similar to strace, but instead traces library calls.

  22. ping: Sends ICMP Echo Request packets to a specified network host, helping to diagnose network connectivity issues.

  23. traceroute/tracepath: Traces the path packets take to reach a specified destination, showing network hops and latency.