![]() You can see how to use chmod in details by typing “ man chmod” in the terminal. Permission will manage who can read, write an execute the files and directories. SELECTED_EDITOR="/usr/bin/vi" File Pemissionįiles and directories have permissions. You will see: # Generated by /usr/bin/select-editor This is a hidden file, so it begins with a dot sign. In your home directory you will find a “. For this case, you can do it another way. What if you want to use other text editors that are not detected by MC? Let say you want to use Vi text editor. If you want to change your default editor, just press “ F2” button, choose ‘ sign and type ‘ select-editor’ (without quotes). Then when you press “ F4” button to edit a file, MC will use the text editor that you have chosen. When you run the text editor for the first time, MC will ask you to choose default text editor for you. Highlight the file and press “ F4” to start editing. You also can edit the file when you need. If you want to view the content of a file text, you can highlight the file and press “ F3” key. In console mode, there are many text editors such as vi, joe, and nano. For more details about what MC can do with the files, press “ F9” > File. MC will create a new directory in the current directory. To create a directory, you can press “ F7” key. Here’s a screenshot when you want to Rename a file. When you press “ F6” key, you need to make sure that you add a “ New Filename” for the file in To parameter. Renaming file in other hand is different. Moving file(s) can be done using “ F6” key. Simply highlight the file(s) and press “ F8” key to confirm deletion. Just press OK to commit copy process.ĭeleting file(s) is easier. Generally, you can only focus on the To parameter. MC will ask your confirmation about destination folder ( To), Follow links, Preserves attributes. If you want to copy multiple files, you need to press “ Insert” button for each file you want to copy. To copy file(s) from one directory to another, simply highlight the file and press “ F5” key. Those numbers represent F1 – F10 buttons. At the bottom, you will see there are buttons which prefixed by a number. You can switch between window using the Tab button. Each window will represent an active directory. Those columns are independent window from each other. Copy, Delete, Rename / Move, Create Directory Here’s some features that may be useful for daily basis. MC has many features which are useful for a user or a Linux Administrator. # mc Main Window Midnight Commander Features On RHEL, CentOS and Fedora, you may use this command: # yum install mcĪfter installation is finished, just type “ mc” (without quotes) from console to run it. On Debian, Ubuntu and Linux Mint you may use this apt-get command: $ sudo apt-get install mc Internal viewer and editor are included” How to Install Midnight Commander in Linuxīy default, MC is not installed on a Linux machine. It’s a feature rich full-screen text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell. “GNU Midnight Commander is a visual file manager, licensed under GNU General Public License and therefore qualifies as Free Software. The name is Midnight Commander (later we call it MC). Luckily, Linux has a text based File Manager that works on console environment. In console environment, you have to remember commands / syntax. Just click and drag or press shortcuts to complete your job. You don’t have to remember every syntax / command associated with the files. File Manager will help you and speed up your activities associated with the files. ![]() ![]() On the GUI environment there is a File Manager. When you work with a lot of files on console environment such as moving files or copying files, you may find that your job is tedious.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |