
Linux
文章平均质量分 66
skypeGNU
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Cut Command Examples
About cut Cut out selected fields of each line of a file. Cut command can be used to display only specific columns from a text file or other command outputs.Syntax[skypeGNU@localhost ~]$ cut原创 2013-10-13 12:43:12 · 1186 阅读 · 0 评论 -
关于 /proc/mounts
现在的 Linux 系统里一般都有这么三个文件:/etc/fstab,/etc/mtab,和 /proc/mounts,比较容易让人迷惑。简单解释一下。This file provides a list of all mounts in use by the system:rootfs / rootfs rw 0 0 /proc /proc proc rw,nodiratime原创 2013-10-30 11:35:54 · 11691 阅读 · 0 评论 -
ps aux
要对进程进行监测和控制,首先必须要了解当前进程的情况,也就是需要查看当前进程, 而ps命令(Process Status)就是最基本同时也是非常强大的进程查看命令.使用该命令可以确定有哪些进程正在运行和运行的状态、进程是否结束、进程有没有僵尸、哪些进程占用了过多的资源等等.总之大部分信息都是可以通过执行该命令得到的.ps 为我们提供了进程的一次性的查看,它所提供的查看结果并不动态连续的原创 2013-11-06 09:59:23 · 873 阅读 · 0 评论 -
禁止root通过SSH远程登录
SSH默认开启的端口是22, 但是出于安全的考虑,通常建议修改它。修改默认端口号:修改SSH服务的配置文件 :/etc/ssh/sshd_config, 找到 #Port 22 这一行,取消Port前的#注释,并将端口22改成其他值(1024-65535)。手动编辑或者 sed -i -e 's/^#Port *22/Port 3000' /etc/ssh/sshd_c原创 2013-11-11 11:06:21 · 1189 阅读 · 0 评论 -
Putty的全屏与退出
最近使用Putty被坑了一下下,偶然全屏后不知道如何恢复,O__O"…Putty有全屏模式,有单击标题栏,在弹出菜单中有fullscreen选项。全屏模式看起来挺不错。 但是退出全屏模式的方式有点特别。Esc不起作用。Alt+Enter也不起作用。只有勉强用 Win + D来退出。。。神奇的事情发生了: 要退出全屏的时候需要把鼠标移到左上角,然后单击鼠标左键原创 2013-12-04 14:35:24 · 16040 阅读 · 0 评论 -
Linux查看系统硬件信息
NAME lspci - list all PCI devicesSYNOPSIS lspci [options]DESCRIPTION lspci is a utility for displaying information about PCI buses in the system and devices con原创 2013-12-18 19:06:30 · 946 阅读 · 0 评论 -
利用SecureCRT上传、下载文件(使用sz与rz命令)
借助securtCRT,使用linux命令sz可以很方便的将服务器上的文件下载到本地,使用rz命令则是把本地文件上传到服务器。其中,对于sz和rz的理解与记忆我用了如下的方法(很多时候容易搞混):sz中的s意为send(发送),告诉客户端,我(服务器)要发送文件 send to cilent,就等同于客户端在下载。rz中的r意为received(接收),告诉客户端,我(服务器)原创 2013-12-18 20:31:18 · 3315 阅读 · 1 评论 -
CentOS 5 及 6 上安装 Grub
如何在 CentOS 5 或 6 上安装或重装 Grub 开机程序。如果你的开机程序曾被毁坏或破坏 —— 譬如安装了不兼容的操作系统 —— 你必须重新安装 Grub 开机程序。安装 Grub 涉及三个步骤:创建 /boot/grub/grub.conf 配置文件。在 /boot/grub 安装 Grub 文件。安装 Grub 开机程序。转载 2014-01-17 17:08:03 · 1735 阅读 · 0 评论 -
Sort Command Examples
In Unix-like operating systems, sort is a standard command line program that prints the lines of its input or concatenation of all files listed in its argument list in sorted order. Sorting is done ba原创 2013-10-13 19:43:48 · 1246 阅读 · 0 评论 -
Linux引导流程
Kernel内核的作用:第一点:硬件驱动(内核中保存了许多驱动程序)在操作系统的层面上识别硬件。第二步启动一个init进程。init是第一个可以存在的进程,它的PID恒为1,但它也必须向一个更高级的功能负责:PID为0的内核调度器(kernel scheduler),从而获得CPU时间。分配CPU时间进行进程切换。 固件时钟和软件时钟同步:非常重要的一点hwclock命令 和 dat原创 2013-08-24 21:52:30 · 809 阅读 · 0 评论 -
Linux 引导流程 之 GRUB
GNUGRUBIntroductionGNU GRUB is a Multiboot bootloader. It was derived from GRUB, the GRand Unified Bootloader,which was originally designed and implemented by Erich Stefan Boleyn.Briefly, a bo原创 2013-08-25 14:19:43 · 1491 阅读 · 0 评论 -
Linux 重定向
1、 基本概念(这是理解后面的知识的前提,请务必理解) a、 I/O重定向通常与 FD有关,shell的FD通常为10个,即 0~9; b、 常用FD有3个,为0(stdin,STDIN_FILENO 标准输入)、1(stdout,STDOUT_FILENO标准输出)、2(stderr,STDERR_FILENO标准错误输出),默认与keyboard、monitor、monitor关联;原创 2013-08-14 17:53:40 · 918 阅读 · 0 评论 -
在VMware Workstation 5.5 上安装CentOS-5.8
宿主机环境:操作系统 Microsoft Windows XP Professional 5.1.2600 (WinXP RTM)虚拟机 VMware-workstation-5.5.9-126128 安装系统: CentOS-5.8-x86_64-bin-DVD-1of2.isoCentOS-5.8-x86_64-bin-D原创 2013-09-23 16:04:17 · 3016 阅读 · 0 评论 -
tr Command Examples
NAME tr - translate or delete charactersSYNOPSIS tr [OPTION]... SET1 [SET2]DESCRIPTION Translate, squeeze, and/or delete characters from standard input, writing to st原创 2014-02-16 18:13:06 · 917 阅读 · 0 评论