It is a command that allows creating a file with particular content we use the file name with particular re-direction symbol for creating the file with contains. We use a ctrl+d key to saw the content into the files.
this is a pen
Cat command also used to display the contains a particular file.
cat ∅ <file name>↵
It is a command that creates a copy of the particular file into another file.
cp∅<old file name>∅<new file name>
CP anna kanna↵
It is a command that deletes the file from the system memory this command also help to delete the directory without removing the content of the directory. We use rm-r to delete the directory without empty in this we pass to create the directory of the file name. We can also use the wild care character for deleting more than 1 file at a time.
eg: rm kanna↵
for the directory:
It is a command that allows changing the location of particular file or directory. We can also re-name the content of a directory. We use absolute path for moving the content.
mv∅<old content name>∅<new contents name>
mv∅<old abs.path>∅<new abs path>
mv anna kanna↵
It is a command that allows combining more than 1 file contains and display in a particular order in this we pass 2 files name and the display the content in a particular order.
Join∅<first file name>∅<second file name>
It is a command that allows displaying the content of the file as page by page.
It is a command that displays the content of a file as line by line. We press any key or enter for next line and space bar for next page.
It is a command that displays the content on the base of given line number from the top of the file in this we pass-line number display the contents of the files.
Head∅-line number∅<file name>
Head -3 anna↵
It is a command that displays content of the file from the bottom of the file on the base of given line number.
Tail∅-line number∅<file name>
Tail -3 anna↵
The commands are used to manage the user instructions and execute the particular statement. Linux system also provides GUI feature to control the user commands. That is known as Nautilus, it is a graphical file system browser that provided the path of the GNOME desktop. It can run in any of the modes as general purpose and browser. The commands like file creation, directory and other processing processes with graphical icons. It provides a window to display the content and easily navigate within between them. We can click on the icon like button, menus, option and perform a particular task and return output or window. We can display the folder icon and easily manipulate the files and other components using nautilus. It also supports networking process and its related communication details. Nautilus can display preview the file and icons, image text file, sound, video file etc.
1. Using the main menu:
The operating system provides the main icon to defined the applications and its related details. The GNOME desktop provides the main menu to display the application list. We can open this files or application through this menu. The operating system also controlled by the option which is available in the desktop menu.
Determining File Contents:
The files contain the different type of data like text, HTML, shell scripting, mailbox etc are ASCII format and the compressed file executable file images are represented in binary a command ‘file’ is used to determine the feature of particular file like HTML text etc.