1. rm Command-Remove File or Directory
rm -r folder_name-Delete Folder
rm -rf folder_name-Recursive deletion,force delete
2. SCP Command-Used to copy file between hosts
scp -i ~/.ssh/fpem.pem -r source destination
3. SSH Command-For login into a remote mechine
4. lscpu Command-Get CPU/System Information
lscpu
rm -r folder_name-Delete Folder
rm -rf folder_name-Recursive deletion,force delete
2. SCP Command-Used to copy file between hosts
scp -i ~/.ssh/fpem.pem -r source destination
3. SSH Command-For login into a remote mechine
ssh -i ~/.ssh/pem_file.pem ubuntu@host_system_name
4. lscpu Command-Get CPU/System Information
lscpu
5. Get Memory Information
cat /proc/meminfo
6. Get Memory/CPU Information
top
7. Rename a File
mv old_file_name new_file_name
8. Extract tar File
tar -xvf tar_file_name.tar
cat /proc/meminfo
6. Get Memory/CPU Information
top
7. Rename a File
mv old_file_name new_file_name
8. Extract tar File
tar -xvf tar_file_name.tar
No comments:
Post a Comment