Ultimi & popolari
Aiuti & Utilities
Nonostante la sempre maggiore capienza degli hard disk, a volte può essere molto utile recuperare dello spazio erroneamente assegnato ad una partizione. Se, ad esempio, abbiamo assegnato 30G di spazio alla root della nostra linuxbox ed altrettanto alla /home, potrebbe succedere di ritrovarci la home quasi piena e la root con solo 4G occupati su 30. Cosa fare? Nell'articolo viene spiegato come restringere una partizione senza rischiare di perdere dei dati. (icona in licenza LGPL - autore: David Vignoni)
Nei sistemi Linux e possibile scegliere su diversi tipi di file system, ext2, ext3, ext4, ReiserFS, ZFS, XFS, JFS, ecc. Dire quali di questi è il migliore non è argomento che tratteremo in questa sezione, oggi spiegheremo solo come gestire i filesystem, formattare(o meglio dire creare un filesystem), montarla, gestire la swap e altro.
Non molto tempo fa mi e' stato chiesto se fosse possibile montare una partizione Linux direttamente da Linux su un sistema a doppio bootup. Il mio consiglio di avviare da un Linux Live CD sembrava non essere pratico per il caso specifico quindi mi sono messo a cercare e dopo poco ho trovato Ext2Fsd. Il tool in oggetto e' molto rapido da installare e riconosce al volo tutte le partizioni ext2 e ext3. In piu' se proprio fosse necessario e' possible configurarlo in modo che si avvii automaticamente ad ogni accensione del computer. Insomma un programmino utile per chi continua a rimanere ancorato ai vari sistemi operativi proprietari.
Using the GCC compiler Automating builds with make The preceding post, â€œProgramming Environments and Interfaces,â€ provided a high-level view of Linux programming, focusing on the overall development environment and introducing the idioms that give programming on a Linux system its distinctive character. This chapter goes into greater detail and describes some of the tools and toys found on a typical Linux development system. Examining library utilities Exploring source code control The goal of this chapter is not to turn you into a developer in 30 pages or less, but simply to explore some of the variety of tools developers use so you will at least know what they are and what they do. Youâ€™ll also learn how to use some of the programs and utilities. Debugging with GDB
If you are using Linux over a network or from a dumb terminal (a monitor that allows only text input with no GUI support), your shell may be all that you have. You may be used to a windowing environment where you have a lot of programs active at the same time so that you can switch among them as needed. This shell thing can seem pretty limited. Although the bash shell doesnâ€™t include a GUI for running many programs, it does let you move active programs between the background and foreground. In this way, you can have a lot of stuff running, while selectively choosing the one you want to deal with at the moment. There are several ways to place an active program in the background. One mentioned earlier is to add an ampersand (&) to the end of a command line. Another way is to use the at command to run commands in a way in which they are not connected to the shell.
Linux File Systems Versus Windows-Based File Systems Although similar in many ways, the Linux file system has some striking differences from file systems used in MS-DOS and Windows operating systems. There are a few: In MS-DOS and Windows file systems, drive letters represent different storage devices (for example, A: is a floppy drive and C: is a hard disk). In Linux, all storage devices are fit into the file system hierarchy. So, the fact that all of /usr may be on a separate hard disk or that /mnt/rem1 is a file system from another computer is invisible to the user.
Command-Line Recall After you type a command line, that entire command line is saved in your shellâ€™s history list. The list is stored in a history file, from which any command can be recalled to run again. After it is recalled, you can modify the command line, as described earlier. To view your histor y list, use the history command. Type the command without options or followed by a number to list that many of the most recent commands
Although similar in many ways, the Linux file system has some striking differences from file systems used in MS-DOS and Windows operating systems. Here are a few: In MS-DOS and Windows file systems, drive letters represent different storage devices (for example, A: is a floppy drive and C: is a hard disk). In Linux, all storage devices are fit into the file system hierarchy. So, the fact that all of /usr may be on a separate hard disk or that /mnt/rem1 is a file system from another computer is invisible to the user.
Bash Configuration Files File Description /etc/profile Sets up user environment information for every user. It is executed when you first log in. This file provides values for your path, as well as setting environment variables for such things as the location of your mailbox and the size of your history files. Finally, /etc/profile gathers shell settings from configuration files in the /etc/profile.d directory. /etc/bashrc Executes for every user who runs the bash shell, each time a bash shell is opened. It sets the default prompt and may add one or more aliases. Values in this file can be overridden by information in each userâ€™s ~/.bashrc file.
If you have a dual-boot Windows/Linux system, you probably know this problem: you can access files from your Windows installation while you are in Linux, but not the other way round. This tutorial shows three ways how you can access your Linux partitions (with ext2 or ext3 filesystem) from within Windows: Explore2fs, DiskInternals Linux Reader, and the Ext2 Installable File System For Windows. While the first two provide read-only access, the Ext2 Installable File System For Windows can be used for read and write operations.
ZioBudda.net sta crescendo sempre di più, ma mi serve una mano per portare avanti i progetti e per rendere il sito sempre più bello e pieno di informazioni.