Basic Linux commands
What is Linux?
It is a lightweight and single-rooted operating system whose source code is free. Files are kept within the tree structure directory. It has multiple flavors like Cent OS, Ubuntu, Fedora, Redhat, Debian etc.91 percent of applications are running over the internet on Linux. It is also more secure than Windows OS.
Basic command on Linux
๐ whoami >> to check the current user
๐ ls >> to check files and directories
๐ls -l >> to check the list of files and directories with more details
๐ls -a >> to check all hidden files and directories
๐date >> to check the current date
๐touch >> to create a new file
๐mkdir >> to create a new directory
๐pwd >> to check the current path
๐cd .. >> to go previous directory
๐cd ~ >> to change home directory
๐cd .. /.. >> to go back two directories
๐cd home.ubuntu/my_folder >> to go destination directory
๐echo>> to print something
๐cat >> to write/see content in the particular file
๐rm -r/-rf >> to delete files and directory
๐mv >> to rename and move the file from one directory to another directory
๐cp >> to copy files to one directory
๐man any executable command >> can see detail description of that command
๐adduser \>> to create a new user account
๐userdel -r \>> to delete user account