`
jimode2013
  • 浏览: 37624 次
社区版块
存档分类
最新评论
文章列表
INSTALLING NODE.JS IS a painless process.Since its conception, one of its goals has been maintaining a small number of dependencies that would make the compilation or installation of the project very seamless. This chapter describes the installation process for Windows, OS X, and Linux systems. Fo ...
  Chapter 4. Composing Objects So far, we've covered the low‐level basics of thread safety and synchronization. But we don't want to have to analyze each memory access to ensure that our program is thread‐safe; we want to be able to take thread‐safe components and safely compose t ...
[root@localhost network]# service network restart Restarting network (via systemctl): Job for network.service failed. See 'systemctl status network.service' and 'journalctl -xn' for details. [FAILED] [root@localhost network]# systemctl s ...
先查询firefox的插件是要放在那个目录下面: [test@localhost ~]$ rpm -ql firefox /usr/bin/firefox /usr/lib64/firefox /usr/lib64/firefox/LICENSE /usr/lib64/firefox/application.ini /usr/lib64/firefox/browser/blocklist.xml /usr/lib64/firefox/browser/chrome /usr/lib64/firefox/browser/chrome.manifest /usr/lib64/fir ...
  [root@localhost wpa_supplicant]# service NetworkManager status Redirecting to /bin/systemctl status NetworkManager.service NetworkManager.service - Network Manager Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled) Active: active (running) since Mon 2014-11-17 01 ...
磁盘文件系统(filesystem) 整颗磁盘的组成主要有: 圆形的磁盘盘片(记录数据); 机械手臂,与在机械手臂上的磁盘读取头(可擦写磁盘盘片上的数据); 主轴马达,可以转动磁盘盘片,让机械手臂的读取头在磁盘盘片上读写数据。 磁盘盘片的物理组成(假设此磁盘为单盘片): 扇区(Sector)为最小的物理储存单位,每个扇区为 512 bytes; 将扇区组成一个圆,那就是磁柱(Cylinder),磁柱是分割槽(partition)的最小单位; 整个磁盘的第一个扇区最重要,里面有:(1)主引导扇区(Master boot record, MBR)及分区表( ...
Linux 最强大的功能是网络功能 Linux 是一套非常稳定的操作系统  
无法用yum安装wireless-tools   [root@localhost wireless_tools.29]# yum install -y wireless-tools Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: mirrors.aliyun.com * updates: mirrors.aliyun.com No package wireless-tools a ...
bash 的环境配置文件 login 与 non-login shell login shell:取得 bash 时需要完整的登陆流程的,就称为 login shell。举例来说,你要由 tty1 ~ tty6 登陆,需要输入用户的账号与密码,此时取得的 bash 就称为『 login shell 』; non-login shel ...
Bash Shell 的操作环境:路径与命令搜寻顺序   命令运行的顺序: 以相对/绝对路径运行命令,例如『 /bin/ls 』或『 ./ls 』; 由 alias 找到该命令来运行; 运行 bash 内建的 (builtin) 命令; 运行搜寻$PATH到的第一个命令来。 举例来说,你可以下达 /bin/ls 及单纯的 ls 看看,会发现使用 ls 有颜色但是 /bin/ls 则没有颜色。 因为 /bin/ls 是直接取用该命令来下达,而 ls 是使用『 alias ls='ls --color=tty' 』命令别名! 如果想要了解命令搜寻的顺序,其实透过 type - ...
Bash Shell 的操作环境: 路径与命令搜寻顺序   以相对/绝对路径运行命令,例如『 /bin/ls 』或『 ./ls 』; 由 alias 找到该命令来运行; 由 bash 内建的 (builtin) 命令来运行; 透过 $PATH 这个变量的顺序搜寻到的第一个命令来运 ...
命令别名与历史命令: 在 Linux 里面,使用 clear 来清除屏幕。 命令别名配置: alias, unalias   [root@www ~]# alias lm='ls -al | more' [root@www ~]# alias rm='rm -i' [root@www ~]# alias alias cp='cp -i' alias l.='ls -d .* --color=tty' alias ll='ls -l --color=tty' alias lm='ls -l | more' alias ls='ls ...
什么是变量? 让某一个特定字符串代表不固定的内容 变量的可变性与方便性   图 2.1.1、程序、变量与不同用户的关系 如上图所示,由于系统已经帮我们规划好 MAIL 这个变量,所以用户只要知道 mail 这个命令如何使用即可, mail 会主动的取用 MAIL 这个变量,就能够如上图所示的取得自己的邮件信箱了!(注意大小写,小写的 mail 是命令, 大写的 MAIL 则是变量名称!) 影响 bash 环境操作的变量   环境变量通常以大写字符来表示! 脚本程序设计 (shell script) 的好帮手   图 2.1.2、变 ...
管理整个计算机硬件的是操作系统的核心 (kernel),这个核心是需要被保护的! 所以一般使用者就只能透过 shell 来跟核心沟通,以让核心完成我们的工作。   硬件、核心与 Shell 让计算机播放声音: 硬件:『声卡芯片』; 核心管理:操作系统的核心可以支持这个芯片组,提供芯片的驱动程序; 应用程序:需要使用者输入发生声音的命令!   图 1.1.1、硬件、核心与用户的相关性图示 shell只是提供给用户操作操作系统的一个接口,因此sell其实就是软件。命令,包括 man, chmod, chown, vi, fdisk, mkfs都是独立的应用程序, 但是 ...
The Adapter Pattern's role is to convert one interface into another. The Adapter Pattern converts the interface of a class into another interface the clients expect.Adapter lets classes work together that couldn't otherwise because of incompatible interfaces. This acts to decouple the client from ...
Global site tag (gtag.js) - Google Analytics