Postingan

Menampilkan postingan dengan label windows

How to Map a Network Drive to Windows Machine - net use Command Example

Gambar
Mapping network drive in Windows 10 or other versions of Windows operating system e.g. Windows 7  or Windows 8 is much easier and faster by using the command line than by doing it on Windows Explorer. If you have been working in Windows environment with a bunch of Windows Server 2016 or 2012  servers and your job requires frequent access, copy or paste from the local machine to those remote machines than mapping them as a network drive is the best option. You can use mapped network drive as any other folder which makes the job of copy paste very simple. Though windows provide multiple ways to map a network drive , I prefer to use command line i.e. "net use" command to map my windows network drives. This works in Windows 10 and should work in other versions of Windows operating system as well e.g. Windows 7 or Windows Server 2016 without any fuss. Its way faster than accessing every single node on a network to reach desired fast and In order to use this, you just need to chan...

How to close telnet terminal in Linux and Windows (quit, exit not working)

Gambar
The telnet is one of the most useful Linux networking commands, which is used to check if a server is listening on a particular port and it's whether up and running or not, but it's a little bit tricky to use, especially, if you are not using it on daily basis. Though I have used telnet before, when I use it after a long time, I actually forgot how to close the telnet terminal and how to get out of it. I tried every possible  Linux commands I can think of which is used to close, cancel a command, or exit from VIM editor in UNIX, like Ctrl + C , quit , exit, q! and even the escape character '^]' , only to realize that nothing is working. It may sound silly that an experienced developer cannot even come out of a telnet terminal but this is a true story. What I have noticed in general that, even though we learn new things when our experience grows, we actually forget something equally important as well, particularly if you don't use that thing or command on daily bas...

How to Make and Run batch .bat file in Windows 8

Gambar
batch files and shell scripts are developers best friend, they help to improve productivity a lot. They not only help you to automate boring, time consuming task but also saves lot of time doing and doing them again. Batch file also reduce chances of error, once tested and encourage re-usability by sharing them across team or people with similar needs. Though not every programmer, developer or computer user has mindset to use batch file, something it's too difficult to write, some just not able to fight with initial resistance and many of them are not even aware of batch file. As a Java programmer, you really don't need to learn these stuff, as almost everybody who use windows operating system for more than year, knows about it. Anyway knowing is not enough, main thing is adapting and taking full advantage of them, developing mentality towards scripting, automation and writing batch files. Remember, shell scripting is one of the important skill to get a programming job and more...