Linux Command

 

  1. File and Directory Operations:

    • ls: List files and directories.
    • cd: Change directory.
    • pwd: Print working directory.
    • mkdir: Create a directory.
    • rm: Remove a file or directory.
    • cp: Copy files and directories.
    • mv: Move or rename files and directories.
    • find: Search for files and directories.

  2. File Manipulation:

    • cat: Concatenate and display file content.
    • head: Display the beginning of a file.
    • tail: Display the end of a file.
    • less: View file content interactively.
    • touch: Create an empty file.
    • grep: Search for patterns in files.
    • sed: Stream editor for text manipulation.
    • awk: Pattern scanning and text processing.

  3. System Information:

    • uname: Print system information.
    • whoami: Print current user.
    • uptime: Show system uptime.
    • free: Display memory usage.
    • df: Show disk space usage.
    • top: Monitor system processes.

  4. Process Management:

    • ps: Display running processes.
    • kill: Terminate a process.
    • pkill: Kill processes based on name.
    • pgrep: Find process IDs based on name.
    • top: Display and manage running processes.
    • nohup: Run a command immune to hangups.

  5. User Management:

    • sudo: Execute a command as the superuser.
    • useradd: Create a new user.
    • userdel: Delete a user.
    • passwd: Change user password.
    • su: Switch user.
    • who: Display who is logged in.

  6. Networking:

    • ifconfig: Display or configure network interface.
    • ping: Send ICMP echo requests to a host.
    • nslookup: Query DNS servers for information.
    • ssh: Secure Shell remote login.
    • scp: Securely copy files between hosts.
    • netstat: Network statistics and connections.

  7. System Administration:

    • apt: Package management (Debian/Ubuntu).
    • yum: Package management (CentOS/RHEL).
    • systemctl: Control system services (systemd).
    • service: Control system services (SysVinit).
    • cron: Schedule tasks to run at fixed times.
    • journalctl: Query the systemd journal.

Comments

Popular posts from this blog

CCNA Router and Catalyst Switch IOS Command Reference

Network Technologies

About myself