Linux
screaming
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux file search
[转]Linux文件搜索 简述Linux文件搜索 1 、关于搜索; 在Linux文件系统中,搜索概念有两种,一种是搜索文件名,另一种是在一个文件中搜索指定的内容;这两种搜索,我们都简要的介绍一下,但不一定极为专业。想到哪写到哪; 2、通过搜索文件名来查找文件; 有的弟兄经常会说文件都放在哪里了,我怎么查找文件?其实这里说的意思就是通过文件名来查找文件所处的位置转载 2016-06-12 06:59:47 · 1100 阅读 · 0 评论 -
GRUB Boot Loader
Chapter 9. The GRUB Boot Loader 9.1. Boot Loaders and System Architecture9.2. GRUB9.3. Installing GRUB9.4. GRUB Terminology9.5. GRUB Interfaces9.6. GRUB Commands9.7. GRUB Menu Con转载 2016-05-07 17:32:07 · 1093 阅读 · 0 评论 -
GRUB, GRUB2, BURG
GRUB Tthe GRand Unified Bootloader is the software that is loaded by your computer after it turns on (after your computer's BIOS loading screens). GRUB then either automatically boots Ubuntu or g转载 2016-05-07 17:36:33 · 771 阅读 · 1 评论 -
Linux basic knowledge
Linux获取CPU,内存和硬盘信息 本文目的 本文搜集了Linux上常用的获取机器配置信息和实时信息相关命令。这些命令在开发运维相关程序时,比较常用。 CPU CPU位数(32或64): getconf LONG_BITCPU配置信息:cat /proc/cpuinfoCPU实时信息:top -n 1 | grep Cpu | cut -d ',' -f 4 (获取实时C转载 2016-05-07 18:33:24 · 390 阅读 · 0 评论 -
count lines in a file - wc & nl
How to Count Number of Lines in a File in Linux (wc and nl Command Examples) 时间 2013-02-13 20:00:22 The Geek Stuff 原文 http://www.thegeekstuff.com/2013/02/wc-nl-examples/ 主题 Linux Lin转载 2016-05-18 16:02:29 · 766 阅读 · 0 评论 -
View the start/end of a file linux
tail - lets you view the LAST 10 lines in a file head - shows you the FIRST 10 lines in a file by default Introduction There are two very useful commands in Linux which let you see part of a转载 2016-05-18 16:12:10 · 435 阅读 · 0 评论 -
General overview of the Linux file system
3.1.1. Files 3.1.1.1. General A simple description of the UNIX system, also applicable to Linux, is this: "On a UNIX system, everything is a file; if something is not a file, it is a process." A转载 2016-05-18 16:45:21 · 430 阅读 · 0 评论 -
/proc
/proc is very special in that it is also a virtual filesystem. 1.14. /proc /proc is very special in that it is also a virtual filesystem. It's sometimes referred to as a process information pse转载 2016-05-18 17:02:16 · 698 阅读 · 0 评论 -
linux interview questions
Q: – How are devices represented in UNIX? All devices are represented by files called special files that are located in /dev directory. Q: – Tell me the steps to remove the swap file? Firstly转载 2016-05-08 13:49:58 · 561 阅读 · 0 评论 -
File & File system size limitation for Redhat
What are the file and file system size limitations for Red Hat Enterprise Linux? SOLUTION VERIFIED - Updated February 19 2016 at 2:42 PM - English Environment Red Hat Enterprise LinuxO转载 2016-05-21 14:28:06 · 537 阅读 · 0 评论 -
linux/unix rules for naming file and directory
Linux / UNIX: Rules For Naming File And Directory Names by VIVEK GITE on FEBRUARY 17, 2006 last updated DECEMBER 29, 2009 in FEDORA LINUX, FILE SYSTEM, FREEBSD, LINUX, UNIX Can yo转载 2016-05-23 17:54:15 · 421 阅读 · 0 评论 -
Identify Linux File System Type
5 Methods to Identify Your Linux File System Type (Ext2 or Ext3 or Ext4) by RAMESH NATARAJAN on APRIL 18, 2011 Tweet Question: How do I identify my file system type? I like to u转载 2016-05-23 18:09:15 · 1491 阅读 · 0 评论 -
linux file system brief intro
What is a File? File are collection of data items stored on disk. Or, it’s device which can store the information, data, music (mp3 files), picture, movie, sound, book etc. In fact what ever you st转载 2016-05-23 18:11:52 · 381 阅读 · 0 评论 -
Hard Link Vs Soft Link
Hard Link vs Soft Link Monday, November 5th, 2012 | By Napster | 32 Comments Follow @linuxride Once again, one of the very basic question asked in the interviews, What is the difference b转载 2016-05-07 16:37:01 · 538 阅读 · 0 评论 -
split large file linux
In Unix, how can I split large files into a number of smaller files? To split large files into smaller files in Unix, use the split command. At the Unix prompt, enter: split [options] filename转载 2016-06-18 13:25:07 · 422 阅读 · 0 评论 -
linux basic knowledge
全栈必备Linux 基础 标签: Linuxcentosubuntu全栈 2016-09-14 09:13 3064人阅读 评论(2) 收藏 举报 分类: Linux(6) 版权声明:本文为博主原创文章,未经博主允许不得转载。 目录(?)[+] Linux 几乎无处不在,不论是服务器构建,还是客户端开发,操转载 2016-09-17 08:58:52 · 392 阅读 · 0 评论 -
ubuntu linux root password
Ubuntu Linux root Password (Default Password) by VIVEK GITE on SEPTEMBER 16, 2006 last updated DECEMBER 5, 2009 in BASH SHELL, DEBIAN / UBUNTU, FAQ, SECURITY, UBUNTU LINUX, USER MANAGEME转载 2016-09-17 09:05:37 · 686 阅读 · 0 评论 -
/dev/tty /dev/ttyS0
/dev/tty /dev/ttyS0 /dev/tty0区别 2012-05-14 22:41:49 分类: LINUX 1、串行端口终端(/dev/ttySn) 串行端口终端(Serial Port Terminal)是使用计算机串行端口连接的终端设备。计算机把每个串行端口都看作是一个字符设备。有段时间这些串行端口设备通常被称为终端设备,因为 那时它的最大用转载 2016-11-08 16:26:05 · 14434 阅读 · 0 评论 -
kill vs kill -9
Reference: http://bencane.com/2014/04/01/understanding-the-kill-command-and-how-to-terminate-processes-in-linux/ One of my biggest pet peeves as a Linux sysadmin is when I see users, o转载 2016-11-08 20:04:36 · 723 阅读 · 0 评论 -
exit properly shell script
Lately I've been working on a lot of automation and monitoring projects, a big part of these projects are taking existing scripts and modifying them to be useful for automation and monitoring tools. O转载 2016-11-08 20:06:05 · 412 阅读 · 0 评论 -
tcpdump practice
When it comes to tcpdump most admins fall into two categories; they either know tcpdump and all of its flags like the back of their hand, or they kind of know it but need to use a reference for anyt转载 2016-11-08 20:27:57 · 1351 阅读 · 0 评论 -
signals linux
5. Signals The common communication channel between user space program and kernel is given by the system calls. But there is a different channel, that of the signals, used both between user processes转载 2016-11-08 20:37:04 · 564 阅读 · 0 评论 -
linux signals
All about Linux signals Submitted by daper on Tue, 02/03/2009 - 00:33 C Linux Programming In most cases if you want to handle a signal in your application you write a simple s转载 2016-11-08 20:48:35 · 914 阅读 · 0 评论 -
linux interprocess communication
Linux环境进程间通信(二): 信号(上) linux信号机制远远比想象的复杂,本文力争用最短的篇幅,对该机制做了深入细致的分析。读者可以先读一下信号应用实例(在信号(下)中),这样可以对信号发送直到相应的处理函数执行完毕这一过程有个大致的印象。本文尽量给出了较新函数的应用实例,着重说明这些的功能。 2 评论 郑彦兴 (mlinux@163.com)国防科大转载 2016-11-08 20:50:49 · 641 阅读 · 0 评论 -
signals linux
Short Tutorial on Signals in Linux Vahab Pournaghshband Signals Let's examine the case of power failure while a reliable process is running. When the power cable is pulled out, the power does转载 2016-11-08 20:54:11 · 549 阅读 · 0 评论 -
linux evaluate inode
linux文件系统评估之inode 存储系统上线前要做资源评估,通常需要在性能(即iops、带宽等)和容量维度进行业务评估;而具体到本地文件系统存储的容量时,需要根据具体业务对文件系统的可用数据空间和可用inode数进行评估,作者通过工作中一事例对此有了更深刻的认识: 由于系统需求,要将linux服务器A的本地磁盘数据(数据量260GB左右)同步至linux服务转载 2016-05-25 11:28:48 · 447 阅读 · 0 评论 -
inode
文件名 -> inode -> device block 转自: http://www.ruanyifeng.com/blog/2011/12/inode.html http://blog.s135.com/post/295/ http://hi.baidu.com/leejun_2005/blog/item/d9aa13a53b3af6e99152ee7e.html转载 2015-12-01 13:02:10 · 356 阅读 · 0 评论 -
ext3 jornal mode
ext3日志模式 http://blog.sina.com.cn/s/blog_5d4ab4b40100dosx.html ext3支持多种日志模式 ext3 是ext2文件系统的高一级版本,完全兼容ext2,与ext2主要区别便是具有快速更新文件的存储功能。计算机自磁盘上读取或写入数据开始就必须保证文 件系统中文件与目录的一致性,所有日志文件中的数据均以数据块的形式存放转载 2016-05-23 23:45:38 · 328 阅读 · 0 评论 -
centos security & tuning
centos linux安全和调优 第四十一节课 centos linux安全和调优 第四十一节课 上半节课 Linux安全 下半节课 Linux调优 2015-07-01linux安全和调优 [复制链接] --http://www.apelearn.com/bbs/thread-8172-1-1.html 内容概要: 一.转载 2016-05-23 23:47:03 · 553 阅读 · 0 评论 -
Ext2 vs Ext3 vs Ext4
Linux File Systems: Ext2 vs Ext3 vs Ext4 by RAMESH NATARAJAN on MAY 16, 2011 Tweet ext2, ext3 and ext4 are all filesystems created for Linux. This article explains the following转载 2016-05-23 23:47:56 · 976 阅读 · 0 评论 -
ext4 file system
Chapter 6. The Ext4 File System 6.1. Creating an Ext4 File System 6.2. Mounting an Ext4 File System 6.3. Resizing an Ext4 File System 6.4. Backup ext2/3/4 File Systems 6.5. R转载 2016-05-23 23:48:55 · 2335 阅读 · 0 评论 -
ulimit
优化系统资源ulimit《高性能Linux服务器构建实战:运维监控、性能调优与集群应用》 优化系统资源ulimit《高性能Linux服务器构建实战:运维监控、性能调优与集群应用》 假设有这样一种情况,一台Linux 主机上同时登录了10个用户,在没有限制系统资源的情况下,这10个用户同时打开了500个文档,而每个文档的大小为10MB,这时系统的内存资源就会受到巨大的挑战转载 2016-05-25 09:58:58 · 1423 阅读 · 0 评论 -
Linux file system superblock
Unix / Linux filesystem blocks The blocks used for two different purpose: Most blocks stores user data aka files (user data).Some blocks in every file system store the file system’s metadata. So转载 2016-05-25 10:03:42 · 468 阅读 · 0 评论 -
Linux File System brief intro
What is a File? File are collection of data items stored on disk. Or, it’s device which can store the information, data, music (mp3 files), picture, movie, sound, book etc. In fact what ever you st转载 2016-05-25 10:20:21 · 363 阅读 · 0 评论 -
linux partition
The importance of Linux partitions by VIVEK GITE on OCTOBER 1, 2005 last updated DECEMBER 8, 2008 in HOWTO, LINUX, SECURITY, SYS ADMIN, TIPS Disk partitioning is the creation of sep转载 2016-05-25 10:28:15 · 845 阅读 · 0 评论 -
linux fix superblock not found
* Mistakes by Linux/UNIX Sys admin * Buggy device driver or utilities (especially third party utilities) * Power outage (very rarer on production system) due to UPS failure * Kernel bugs (that is w转载 2016-05-25 10:32:50 · 672 阅读 · 0 评论 -
linux file System directory
Similarly files are referred by file name, not by inode number. So what is the purpose of a directory? You can groups the files according to your usage. For example all configuration files are stored转载 2016-05-25 10:40:48 · 361 阅读 · 0 评论 -
linux file System inode
The inode (index node) is a fundamental concept in the Linux and UNIX filesystem. Each object in the filesystem is represented by an inode. But what are the objects? Let us try to understand it in转载 2016-05-25 10:43:18 · 370 阅读 · 0 评论 -
Linux Cache Memory
Linux与Windows不同,会存在缓存内存,通常叫做Cache Memory。有些时候你会发现没有什么程序在运行,但是使用top或free命令看到可用内存会很少,此时查看Linux系统 /proc/meminfo 文件,会发现有一项 Cached Memory: # >> cat /proc/meminfo MemTotal: 16414004 kB MemFree:转载 2015-11-27 23:31:06 · 495 阅读 · 0 评论 -
hard link vs soft link
Inodes are associated with precisely one directory entry at a time. However, with hard links it is possible to associate multiple directory entries with a single inode. To create a hard link use ln转载 2016-05-25 11:38:17 · 536 阅读 · 0 评论
分享