
Linux pour les Nuls Advanced Linux Programming Bash Guide for Beginners 3.2.1. Types of variables As seen in the examples above, shell variables are in uppercase characters by convention. 3.2.1.1. Global variables or environment variables are available in all shells. Below is a typical output: 3.2.1.2. Local variables are only available in the current shell. Below is a diff file made by comparing printenv and set output, after leaving out the functions which are also displayed by the set command: 3.2.1.3. Apart from dividing variables in local and global variables, we can also divide them in categories according to the sort of content the variable contains. String variablesInteger variablesConstant variablesArray variables We'll discuss these types in Chapter 10. 3.2.2. Variables are case sensitive and capitalized by default. To set a variable in the shell, use VARNAME="value" Putting spaces around the equal sign will cause errors. Some examples using upper and lower cases, numbers and spaces: 3.2.3. export VARNAME="value" 3.2.4. 3.2.4.1. Table 3-1. 3.2.4.2. or
The Linux Documentation Project: Guides The Linux Documentation Project (LDP) is working on developing good, reliable documentation for the Linux operating system. The overall goal of the LDP is to collaborate in taking care of all of the issues of Linux documentation, ranging from online documentation (man pages, HTML, and so on) to printed manuals covering topics such as installing, using, and running Linux. Here is the Linux Documentation Project Manifesto and Copyright License for LDP works. Translations of LDP works (languages other than English) can be found on the "Non-English Linux Info" links page. Advanced Bash-Scripting Guide This document is both a tutorial and a reference on shell scripting with Bash. Below is a table of translated guides that are available from pub/Linux/docs/ldp-archived/. "An important part of any operating system is documentation, the technical manuals that describe the operation and use of programs.
Installer GNU/Linux en dual boot Linux System Administration and Configuration Basic command line: Also see ntpstat, smbstatus, ifstat, prtstat, pidstat, lpstat, mailstat, sar, cifsiostat, ... GUI/Graphical: List of tools: tools for finding the status of your system Processes execute within their own process environment, they have their own memory, current working directory, priority, process ID, parent process ID and the file access privileges of the user ID under which they execute. The basic Linux monitoring commands such as pstree and ps -auxw and top will inform you of the processes running on your system. Identify the process: pstree -p OR ps -auxw OR top Kill the process: kill <process-id-number> killall <command-name> This will perform an orderly shutdown of the process. A signal may be given to the process. In the previous example, the HUP signal was sent to the process. Identify all known signals: fuser -l Process Monitoring and Management GUI Tools: xosview: Oldie but goodie. Also see the GUI tool QPS. Then install qps: rpm -ivh qps-1.9.7-5.i386.rpm
Préparation d'un disque dur 4k - Funtoo-Quebec De Funtoo-Quebec. Index des trucs et astuces avancés Préparation d'un disque dur 4k Si les avancées technologiques visant à mieux utiliser la surface magnétique des plateaux d'un disque dur ont été considérables depuis ces dernières années (abandon du MFM, Zone Bit Recording, magnétisation perpendiculaire...) et ont permis de conserver dans un espace relativement restreint une capacité de stockage toujours plus grandissante, il y a un petit détail qui lui est resté le même depuis le début des années 1980 : les secteurs tracés sur la surface magnétique des plateaux d'un disque dur ne peuvent chacun stocker que 512 octets de "charge utile". Le coeur du problème est que chaque secteur ne stocke pas que de la charge utile. Les découpages d'un disque dur tel que connu depuis longtemps (en haut) de nouvelle génération utilisant des secteurs physiques de 4k (en bas). Cet article ne concerne que les disques durs qui mentent sur la taille de leurs secteurs physiques (512 octets au lieu de 4096).
3 Linux Tutorial Next: 4 System AdministrationUp: Linux Installation and Getting Previous: 2 Obtaining and Installing If you're new to UNIX and Linux, you may be a bit intimidated by the size and apparent complexity of the system before you. This chapter does not go into great detail or cover advanced topics. Instead, we want you to hit the ground running. We assume very little here about your background, except perhaps that you have some familiarity with personal computer systems, and MS-DOS. However, even if you're not an MS-DOS user, you should be able to understand everything here. And, before we begin: Don't be afraid to experiment. Linux is a multitasking, multiuser operating system, which means that many people can run many different applications on one computer at the same time. On traditional UNIX systems, the system administrator assigns you a user name and an initial password when you are given an account on the system. In addition, each system has a host name assigned to it. to log out. ).