file – Page 2 – POFTUT

Linux ulimit Command Tutorial

Linux kernel provides some configuration about system-related limits and maximums. These are like maximum file handler count, maximum file locks, maximum process count, etc. These limits are used to stay in a safe area and do not bottleneck system performance. But sometimes these limits should be decreased or increased. ulimit is used to change these limits … Read more

Windows Ren Command Tutorial with Examples To Rename Files and Folders

Windows ren command is used to rename files and folder. ren command provides command line renaming in MS DOS or cmd.exe. Rename File The most simple usage of ren command is renaming one file. In this example we will provide the source or original file name and destination or new file name. Original file name is myfile and new … Read more

Linux touch Command Tutorial with

Linux touch command is used to create files and change files date time related attributes like access time etc. Creating empty files is most popular use case by the way. In this tutorial we will look how to use different features of touch command. Create Empty File The most popular usage of touch command is creating empty files. … Read more

File Operations, Open, Write, and Close Files In C

While learning C programming language one of the most exciting parts is writing and reading a file. Because these operations create something on the operating system we can see which is different from other examples. In this tutorial, we will look at different aspects of file operations. stdio.h Library As we know C provides different … Read more

Git – File Operations

Normal file operations like deleting, moving, changing file name can be done in git. Removing File A tracked file can be removed liked below. $ git rm LICENSE   rm ‘LICENSE’ $ git status On branch master Changes to be committed:  (use “git reset HEAD <file>…” to unstage)        deleted:    LICENSE rm removes file After remove operation … Read more

Linux Bash If-Else Conditionals Tutorial with Examples

Linux Bash If-Else Conditionals Tutorial with Examples

If-Elif operators are used to designing the flow of the bash script. We can change the flow according to given conditions with If-Elif . If-Else is one of the most used keywords or structures in Bash in order to make a different execution path according to the situation. For example, if given process ID or programs executes … Read more

How To Make Directory in Python?

Python provides different functions and libraries for operating system related operations. Creating new directory or directories is very popular thing amongst developers. In this tutorial we will look how to create and make directory in PYthon. Using OS Library with Mkdirs Function Python provides os library which is mainly used for Operating system related operations. We … Read more

Windows Copy Operation With Xcopy Command Tutorial With Examples

Windows have different tools and commands to copy file, folders and subfolders. Xcopy is one of the most popular copying command. Xcopy comes builtin with all Windows operating systems. In this tutorial we will look different usage types and examples of Windows xcopy command. Help Help about xcopy command can be get with the following. $ xcopy … Read more

Winmerge Tutorial With Examples To Visual Patch, Diff, Merge

Linux operating system have different tools to find diff and create patches. Windows operating system do not provide any builtin tool for these operations. But there is a 3 party application which can be used easily and freely called Winmerge. Download and Installation The winmerge tool can be downloaded from following link. https://downloads.sourceforge.net/project/winmerge/stable/2.14.0/WinMerge-2.14.0-Setup.exe After download is … Read more

What Is Windows Sysinternal?

Windows experts named Mark Russinovich and Bryce Cogswell have started writing simple but useful tools in 1996. They are provided these tools in those books related to Windows system internals. These tools became popular and released by them. They can be downloaded from a lot of alternative locations but their official repository is provided below. … Read more