The tail command in Linux is a powerful tool used for displaying the end of a file. By default, it…
Browsing: file
The `/etc/shadow` file in a Linux system stores password information for user accounts. It is a secure file that is…
In Python, you can use the `open()` function to open a file in append mode, which allows you to add…
Reading a file line by line is a common task in many shell scripts, as it allows you to process…
SFTP (SSH/Secure File Transfer Protocol) is a network transmission standard used to transfer, access, and manage files over a remote…
The “chattr”, short for change attribute, is a command-line utility in Linux used to change attributes of a file e.g…
If you’re looking for files that are larger than 10MB, 100MB or 1GB, the find command can be very helpful.…
Right file permission is the most crucial part of the Linux system management. A file with permission 777 is open…
Sometimes you may be required to write or append multiple lines to a file. You can use multiple methods to…
SFTP (SSH File Transfer Protocol) is secured protocol to transfer files between local and remote server. To required SSH server…