Linux commands 1 : Commonly used FILE AND DIRECTORY COMMANDS for daily use and interview
Hello Techies, Unix Knowledge required for Software Testers - Manual and Automate the various UNIX / LINUX processes, So that we can achieve end to end test automation (If we have any Unix processes in your application).We use these command when we work on Git Bash too. So here I am listing all the commands which we use frequently. # List all files in a long listing (detailed) format ls -al # Display the present working directory pwd # Create a directory mkdir directory # Remove (delete) file rm file # Remove the directory and its contents recursively rm -r directory # Force removal of file without prompting for confirmation rm -f file # Forcefully remove directory recursively rm -rf directory # Copy file1 to file2 cp file1 file2 # Copy source_directory recursively to destination. If destination exists, copy source_directory into destination, otherwise create destination with the contents of source_directory. cp -r source_directory destination # Rename or ...