Top Terminal Commands I Use For Productivity
The whole point of development is solving problems. But very often we Developers overlook our very own problems which we face while developing the products/solutions to these problems. One such classic solution example for boosting productivity is use of keyboard for most of our tasks. This is done using what we call the Terminal. Use Terminal can drastically improve your performance and workflow. Once you're comfortable you will never look back to the old way of opening a folder, deleting a file etc. Okay enough talk let me share the top 10 commands I use for improving my productivity as a Developer. Many of them might seem obvious while some are new and might help you in your workflow.
1] pwd , cd , mkdir , rmdir , ls
These are regular commands for regular operations which we normally do with a File Explorer
pwd
- Shows Present Working Directory
ls
- List all files in Current Directory
cd folder_name
- Change Current Directory
mkdir folder_name
- Make New Directory
rmdir folder_name
- Remove Directory
cp source/file.name ../destination/folder
- Copy File
mv source/file.name ../destination/folder
- Move File
2] The code command (For VS Code Users)
code filename.txt
Opening a file in VS Code
code .
or code filepath/project
Opening current folder or specific folder in Vs Code
3] ipconfig
Used to get the local ip address which i use to test my apps on other devices on the same network like mobile/tablets.
Admin@Kunal O: Practicals
❯ ipconfig
Windows IP Configuration
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 13:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 14:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Ethernet 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2409:4112:4cb5:83b1:946c:b8ef:66e5:3895
Temporary IPv6 Address. . . . . . : 2409:4112:4cb5:83b1:c0:9fd:1589:98e3
Link-local IPv6 Address . . . . . : fe80::942c:b8ef:66e5:3895%13
IPv4 Address. . . . . . . . . . . : 192.168.142.245
Subnet Mask . . . . . . . . . . . : 255.255.245.0
Default Gateway . . . . . . . . . : fe80::ac24:54ff:fec6:817f%13
192.148.012.14
I will keep adding to the list as I explore new commands that can help in daily productivity.
I hope you learned something new today if you did then please share this post with your friends who might find this useful aswell. Have any questions? Feel free to connect with me on LinkedIn Twitter @singhkunal2050. You can also write me here.
Happy Coding 👩💻!