0% found this document useful (0 votes)
9 views

Linux for AWS Cloud Engineer Guide

Uploaded by

connectykc
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Linux for AWS Cloud Engineer Guide

Uploaded by

connectykc
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Linux for AWS Cloud Engineer

This guide is designed for AWS Cloud Engineers to learn Linux from basic to advanced level.

It covers important theory and 100 commonly used commands that will help you excel in the Linux

environment, particularly for tasks in AWS.

1. Linux Basics

- Introduction to Linux and its file system.

- Basic commands: ls, cd, mkdir, rm, cp, mv.

- Navigating directories and understanding the filesystem hierarchy.

- Using the terminal and understanding the shell.

- Understanding file types: regular files, directories, symbolic links, etc.

2. Intermediate Topics

- File permissions and ownership (chmod, chown, chgrp).

- User and group management (useradd, usermod, groupadd, passwd).

- Process management and monitoring (ps, top, kill, nohup).

- Managing file systems (df, du, mount, umount).

- Networking basics: ip, netstat, ping, ifconfig.

3. Advanced Topics

- Advanced shell scripting (loops, functions, conditionals).


- Performance monitoring and troubleshooting (htop, vmstat, iostat).

- Security practices (firewalls, SELinux, SSH configurations).

- Configuring and managing software on Linux (apt, yum, rpm).

- Automation and configuration management tools (Ansible, Terraform, etc.).

4. 100 Important Commands


1. ls - List directory contents.

2. cd - Change directory.

3. mkdir - Create a new directory.

4. rm - Remove files or directories.

5. cp - Copy files or directories.

6. mv - Move or rename files or directories.

7. touch - Create a new empty file.

8. cat - Concatenate and display file contents.

9. echo - Display a line of text or variable.

10. pwd - Print the current working directory.

11. chmod - Change file permissions.

12. chown - Change file owner and group.

13. ps - Display process status.

14. top - Display Linux processes.

15. kill - Terminate a process.

16. df - Display file system disk space usage.

17. du - Estimate file space usage.

18. find - Search for files in a directory hierarchy.

19. grep - Search text using patterns.

20. wc - Count lines, words, and characters in a file.

21. ifconfig - Display or configure network interfaces.


22. ip - Show/manipulate routing, devices, policy, and tunnels.

23. netstat - Print network connections, routing tables, interface statistics.

24. ping - Send ICMP ECHO_REQUEST to network hosts.

25. ssh - Secure shell to access remote servers.

26. scp - Securely copy files between hosts.

27. curl - Transfer data from or to a server.

28. wget - Retrieve files from the web.

29. yum - Package manager for RedHat-based distributions.

30. apt - Package manager for Debian-based distributions.

31. sudo - Execute a command as another user (superuser).

32. tar - Archive files.

33. gzip - Compress files.

34. bzip2 - Compress files using Burrows-Wheeler.

35. sed - Stream editor for filtering and transforming text.

36. awk - Pattern scanning and processing language.

37. crontab - Schedule tasks to run at specific intervals.

38. systemctl - Control systemd services.

39. journalctl - Query and display logs from systemd.

40. hostname - Show or set the system's hostname.

41. uname - Print system information.

42. lsof - List open files.

43. dmesg - Print bootup messages.

44. lsblk - List information about block devices.

45. fdisk - Partition table manipulator.

46. mount - Mount a file system.

47. umount - Unmount file systems.

48. ssh-keygen - Generate SSH key pairs.


49. adduser - Add a new user to the system.

50. deluser - Remove a user from the system.

51. passwd - Change user password.

52. whoami - Display the current logged-in user.

53. last - Show last logins of users.

54. uptime - Show how long the system has been running.

55. free - Display memory usage.

56. htop - Interactive process viewer.

57. vmstat - Report virtual memory statistics.

58. iostat - Report CPU and I/O statistics.

59. lscpu - Display information about the CPU architecture.

60. lsusb - List USB devices.

61. lsmod - Show the status of modules in Linux.

62. modprobe - Add or remove modules from the kernel.

63. iptables - Administration tool for IP packet filter.

64. firewalld - A firewall management tool.

65. selinuxenabled - Check if SELinux is enabled.

66. selinux - Manage SELinux settings.

67. rsync - Remote synchronization of files and directories.

68. ssh-copy-id - Install your SSH key on a remote server.

69. systemd-analyze - Analyze system boot-up performance.

70. fdisk - Partitioning tool.

71. blkid - Locate/print block device attributes.

72. chroot - Change the root directory.

73. reboot - Restart the system.

74. shutdown - Shut down or restart the system.

75. reboot - Reboot the system.


76. mount - Mount a filesystem.

77. umount - Unmount a filesystem.

78. ldd - Print shared object dependencies.

79. strace - Trace system calls and signals.

80. tcpdump - Command-line network packet analyzer.

81. ss - Utility to investigate sockets.

82. rsyslog - System logging utility.

83. logrotate - Manage log file rotation.

84. sysctl - Configure kernel parameters at runtime.

85. ip route - Show/manipulate the IP routing table.

86. ip addr - Show/manipulate IP addresses.

87. ip link - Show/manipulate network devices.

88. ip netns - Network namespaces.

89. ip tuntap - Configure tun/tap devices.

90. ip rule - Show/manipulate routing policy database.

91. ip maddress - Show/manipulate multicast addresses.

92. hostnamectl - Control hostname settings.

93. tmux - Terminal multiplexer.

94. screen - Terminal multiplexing.

95. nc (netcat) - Utility for reading and writing network connections.

96. telnet - Communicate with another computer via the Telnet protocol.

97. traceroute - Trace the route packets take to a network host.

98. dig - Query DNS servers for information.

99. nslookup - Query DNS to obtain domain name or IP address mapping.

100. who - Show who is logged into the system.

You might also like