
Linux
screaming
这个作者很懒,什么都没留下…
展开
-
signals linux
Short Tutorial on Signals in LinuxVahab PournaghshbandSignalsLet'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 · 491 阅读 · 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, 2011TweetQuestion: How do I identify my file system type? I like to u转载 2016-05-23 18:09:15 · 1290 阅读 · 0 评论 -
linux/unix rules for naming file and directory
Linux / UNIX: Rules For Naming File And Directory Namesby VIVEK GITE on FEBRUARY 17, 2006 last updated DECEMBER 29, 2009in FEDORA LINUX, FILE SYSTEM, FREEBSD, LINUX, UNIXCan yo转载 2016-05-23 17:54:15 · 331 阅读 · 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 EnvironmentRed Hat Enterprise LinuxO转载 2016-05-21 14:28:06 · 457 阅读 · 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 · 479 阅读 · 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 · 649 阅读 · 0 评论 -
General overview of the Linux file system
3.1.1. Files3.1.1.1. GeneralA 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 · 382 阅读 · 0 评论 -
View the start/end of a file linux
tail - lets you view the LAST 10 lines in a filehead - shows you the FIRST 10 lines in a file by defaultIntroductionThere are two very useful commands in Linux which let you see part of a转载 2016-05-18 16:12:10 · 377 阅读 · 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/主题 LinuxLin转载 2016-05-18 16:02:29 · 686 阅读 · 0 评论 -
Linux basic knowledge
Linux获取CPU,内存和硬盘信息本文目的本文搜集了Linux上常用的获取机器配置信息和实时信息相关命令。这些命令在开发运维相关程序时,比较常用。CPUCPU位数(32或64): getconf LONG_BITCPU配置信息:cat /proc/cpuinfoCPU实时信息:top -n 1 | grep Cpu | cut -d ',' -f 4 (获取实时C转载 2016-05-07 18:33:24 · 330 阅读 · 0 评论 -
GRUB, GRUB2, BURG
GRUBTthe 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 · 659 阅读 · 1 评论 -
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 · 338 阅读 · 0 评论 -
linux file search
[转]Linux文件搜索简述Linux文件搜索1 、关于搜索;在Linux文件系统中,搜索概念有两种,一种是搜索文件名,另一种是在一个文件中搜索指定的内容;这两种搜索,我们都简要的介绍一下,但不一定极为专业。想到哪写到哪;2、通过搜索文件名来查找文件;有的弟兄经常会说文件都放在哪里了,我怎么查找文件?其实这里说的意思就是通过文件名来查找文件所处的位置转载 2016-06-12 06:59:47 · 1032 阅读 · 0 评论 -
linux interprocess communication
Linux环境进程间通信(二): 信号(上)linux信号机制远远比想象的复杂,本文力争用最短的篇幅,对该机制做了深入细致的分析。读者可以先读一下信号应用实例(在信号(下)中),这样可以对信号发送直到相应的处理函数执行完毕这一过程有个大致的印象。本文尽量给出了较新函数的应用实例,着重说明这些的功能。2 评论郑彦兴 (mlinux@163.com)国防科大转载 2016-11-08 20:50:49 · 603 阅读 · 0 评论 -
linux signals
All about Linux signalsSubmitted by daper on Tue, 02/03/2009 - 00:33 C Linux ProgrammingIn most cases if you want to handle a signal in your application you write a simple s转载 2016-11-08 20:48:35 · 823 阅读 · 0 评论 -
signals linux
5. SignalsThe 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 · 502 阅读 · 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 · 1252 阅读 · 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 · 349 阅读 · 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 · 649 阅读 · 0 评论 -
/dev/tty /dev/ttyS0
/dev/tty /dev/ttyS0 /dev/tty0区别 2012-05-14 22:41:49分类: LINUX1、串行端口终端(/dev/ttySn) 串行端口终端(Serial Port Terminal)是使用计算机串行端口连接的终端设备。计算机把每个串行端口都看作是一个字符设备。有段时间这些串行端口设备通常被称为终端设备,因为 那时它的最大用转载 2016-11-08 16:26:05 · 13937 阅读 · 0 评论 -
ubuntu linux root password
Ubuntu Linux root Password (Default Password)by VIVEK GITE on SEPTEMBER 16, 2006 last updated DECEMBER 5, 2009in BASH SHELL, DEBIAN / UBUNTU, FAQ, SECURITY, UBUNTU LINUX, USER MANAGEME转载 2016-09-17 09:05:37 · 616 阅读 · 0 评论 -
linux basic knowledge
全栈必备Linux 基础 标签: Linuxcentosubuntu全栈2016-09-14 09:13 3064人阅读 评论(2) 收藏 举报 分类:Linux(6) 版权声明:本文为博主原创文章,未经博主允许不得转载。目录(?)[+]Linux 几乎无处不在,不论是服务器构建,还是客户端开发,操转载 2016-09-17 08:58:52 · 348 阅读 · 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 · 361 阅读 · 0 评论 -
GRUB Boot Loader
Chapter 9. The GRUB Boot Loader9.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 · 1030 阅读 · 0 评论 -
Hard Link Vs Soft Link
Hard Link vs Soft LinkMonday, November 5th, 2012 | By Napster | 32 Comments Follow @linuxrideOnce again, one of the very basic question asked in the interviews, What is the difference b转载 2016-05-07 16:37:01 · 467 阅读 · 0 评论 -
Linux Hard link and Symbolic link
linux hard link and symbolic link 2012-04-09 15:36:53分类: LINUXLinux链接分两种,一种被称为硬链接(Hard Link),另一种被称为符号链接(Symbolic Link)。默认情况下,ln命令产生硬链接。 【硬连接】硬连接指通过索引节点来进行连接。在Linux的文件系统中,保存在磁转载 2016-05-07 16:32:57 · 405 阅读 · 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 · 557 阅读 · 0 评论 -
linux partition
The importance of Linux partitionsby VIVEK GITE on OCTOBER 1, 2005 last updated DECEMBER 8, 2008in HOWTO, LINUX, SECURITY, SYS ADMIN, TIPSDisk partitioning is the creation of sep转载 2016-05-25 10:28:15 · 775 阅读 · 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 · 326 阅读 · 0 评论 -
Linux file system superblock
Unix / Linux filesystem blocksThe 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 · 423 阅读 · 0 评论 -
ulimit
优化系统资源ulimit《高性能Linux服务器构建实战:运维监控、性能调优与集群应用》优化系统资源ulimit《高性能Linux服务器构建实战:运维监控、性能调优与集群应用》假设有这样一种情况,一台Linux 主机上同时登录了10个用户,在没有限制系统资源的情况下,这10个用户同时打开了500个文档,而每个文档的大小为10MB,这时系统的内存资源就会受到巨大的挑战转载 2016-05-25 09:58:58 · 1373 阅读 · 0 评论 -
ext4 file system
Chapter 6. The Ext4 File System6.1. Creating an Ext4 File System6.2. Mounting an Ext4 File System6.3. Resizing an Ext4 File System6.4. Backup ext2/3/4 File Systems6.5. R转载 2016-05-23 23:48:55 · 2236 阅读 · 0 评论 -
Ext2 vs Ext3 vs Ext4
Linux File Systems: Ext2 vs Ext3 vs Ext4by RAMESH NATARAJAN on MAY 16, 2011Tweetext2, ext3 and ext4 are all filesystems created for Linux. This article explains the following转载 2016-05-23 23:47:56 · 873 阅读 · 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 · 502 阅读 · 0 评论 -
ext3 jornal mode
ext3日志模式http://blog.sina.com.cn/s/blog_5d4ab4b40100dosx.htmlext3支持多种日志模式 ext3 是ext2文件系统的高一级版本,完全兼容ext2,与ext2主要区别便是具有快速更新文件的存储功能。计算机自磁盘上读取或写入数据开始就必须保证文 件系统中文件与目录的一致性,所有日志文件中的数据均以数据块的形式存放转载 2016-05-23 23:45:38 · 285 阅读 · 0 评论 -
inode
文件名 -> inode -> device block 转自:http://www.ruanyifeng.com/blog/2011/12/inode.htmlhttp://blog.s135.com/post/295/ http://hi.baidu.com/leejun_2005/blog/item/d9aa13a53b3af6e99152ee7e.html转载 2015-12-01 13:02:10 · 321 阅读 · 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 · 319 阅读 · 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 · 315 阅读 · 0 评论 -
linux evaluate inode
linux文件系统评估之inode 存储系统上线前要做资源评估,通常需要在性能(即iops、带宽等)和容量维度进行业务评估;而具体到本地文件系统存储的容量时,需要根据具体业务对文件系统的可用数据空间和可用inode数进行评估,作者通过工作中一事例对此有了更深刻的认识: 由于系统需求,要将linux服务器A的本地磁盘数据(数据量260GB左右)同步至linux服务转载 2016-05-25 11:28:48 · 386 阅读 · 0 评论 -
Difference Between Hard & Soft Links
The difference between hard and soft linksBy Lew PitcherI participate in about 30 usenet newsgroups, and in a virtual LUG, and a number of questions keep coming up. I've answered a few of thes转载 2016-05-07 16:26:42 · 310 阅读 · 0 评论