News

This project is to implement the linux tree command in C language. The tree is a tiny cross-platform command-line program . The tree command displays the contents of a particular directory in a tree ...
ayushtiwari@Ayushs-MacBook-Air file_system % gcc *.c ayushtiwari@Ayushs-MacBook-Air file_system % ./a.out user@machine / % menu Command List ----- mkdir pathname :make a new directory for a given ...
-printf '%T+ %p\n' - Prints the file’s last modification date and time in separated by + symbol. (Eg. 2015-07-22+13:42:40.0000000000). Here, %p indicates the file name. \n indicates new line. sort | ...
When I started using Linux, the file system was nothing like the folder structures Id been used to on Windows. Ill admit that it took me a while to feel comfortable. However, with time, I realized ...
Spread the loveIn the Linux terminal, displaying the contents of a directory can become quite messy, especially when the directory contains multiple subdirectories. Fortunately, the ‘tree’ command ...
In the realm of Linux command-line tools, few commands are as versatile and widely used as cat.This article dives deep into the capabilities of the Linux cat command, merging insights from multiple ...
As we explained previously, you can search for files based on permissions set for the file with the find command in Linux. Now we will show you how to view the files owned by a particular user. The ...
In the above example, we are renaming the file “mini-course-10.pdf” to “test-1.pdf” using the mv command.Here, the syntax looks like this: mv -v mini-course-10.pdf test-1.pdf. After that, you can ...