
Linux
文章平均质量分 58
iteye_3260
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux_tar.gz 和tar.bz2 详细解释
大多以tar.gz 和tar.bz2打包软件,大多是通过 ./configure ;make ;make install 来安装的;有的软件是直接make;make install ; 我们可以通过./configure --help 来查看配置软件的功能;大多软件是提供./configure 配置软件的功能的;少数的也没有,如果没有的就不用./configure ;直接make;make...原创 2011-09-16 14:18:35 · 102 阅读 · 0 评论 -
Linux_10 Useful du (Disk Usage) Commands to Find Disk Usage of Files and Dir
via: http://www.tecmint.com/check-linux-disk-usage-of-files-and-directories/ The Linux “du” (Disk Usage) is a standard Unix/Linux command, used to check the information of disk usage of files and...原创 2011-09-16 15:38:05 · 116 阅读 · 0 评论 -
linux_用户及用户组管理
1、添加用户 语 法:useradd [选项] [用户帐号] 参 数: -c 指定一段注释性的描述 -d 指定用户登录的起始目录 -g 指定用户所属的组 -G 用户组,用户组指定用户所属的附加属 -s 指定用户登录的SHELL -u 指定用户的用户号 eg: useradd -u 501 -g 501 -G games -d /home/...原创 2011-11-16 09:40:30 · 165 阅读 · 0 评论 -
linux_各个版本的本地root密码破解方法
via: http://linux.cn/thread-1237-1-1.html这段时间老碰到有人问及各个linux版本的本地root密码破解方法,我这里自己以及在网络上搜集了些资料,希望对看到了这文章而又恰好用得到的技术人员有点帮助: (一)RedHat/CentOS/Fedora 系统密码破解 1.在grub选项菜单按E进入编辑模式 2.编辑kernel 那行最后加上S (或...原创 2013-06-05 10:52:42 · 125 阅读 · 0 评论 -
linux_六点安全方法应用
via: http://linux.cn/thread-2539-1-1.html 很多人觉得微软不够安全,所以很多人选择Linux于是就有很多程序员编写了Linux的相关软件,这么多的软件支持,技术支持,也就导致了很多程序员选择Linux。可程序员的水平不一就导致Linux漏洞。这给了黑客的机会,Linux安全就受到了重视。怎样才能保护好Linux安全呢?一、取消不必要的服务 早期的...原创 2013-06-05 10:59:14 · 125 阅读 · 0 评论 -
linux_ping_mdev
在运行 ping 命令的时候,里面有一项输出叫 mdev,如下所示: ~% ping www.google.ptPING www.l.google.com (72.14.203.103) 56(84) bytes of data.64 bytes from tx-in-f103.1e100.net (72.14.203.103): icmp_req=1 ttl=50 time=8...原创 2013-06-15 09:31:54 · 511 阅读 · 0 评论 -
ubuntu_使用 Ubuntu builder 来构建自己的 Ubuntu发行版
via: http://linux.cn/thread/10859/1/1/Ubuntu builder 是构建ubuntu 发版版本的一款工具软件,你可以选择制作一个自己的发型版本,可选择i386和amd64版本。可选着GNOME或者其他桌面环境。。。Ubuntu Builder 已经更新到 2.4.0,不再支持 Lucid Lynx 和 Oneiric Ocelot,修复了一些 b...原创 2013-06-17 10:09:58 · 221 阅读 · 0 评论 -
linux_查看Linux操作系统使用的Shell类型
1、输入一个系统不认识的命令(如#ig)获得系统提示 aix5.3:/#igksh: ig: not found. 2、#echo $0 (适用:sh/ksh) aix5.3:/#echo $0-ksh 3、#echo $SHELL(用户默认的Shell,但不实时反映当前shell) aix5.3:/#echo $SHELL/usr/bin/k...原创 2013-06-27 10:25:17 · 274 阅读 · 0 评论 -
linux_5 个获取 Linux 主机信息的命令
via: http://linux.cn/thread/10942/1/1/Linux 系统管理员在接手一台新的服务器的时候,如果没有好的交接文档,我们可以得到的主机信息就要靠我们自己了。很多信息是可以直接通过命令从主机上获得的,下面就和大家分享 5 个获取 Linux 主机信息的命令。(注:我使用的是 Ubuntu 13.04)1. 查看或改变 Linux 主机名的命令$ ho...原创 2013-06-27 11:37:55 · 280 阅读 · 0 评论 -
linux_grep
1. grep简介grep (global search regular expression(RE) and print out the line,全面搜索正则表达式并把行打印出来)是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。Unix的grep家族包括grep、egrep和fgrep。egrep和fgrep的命令只跟grep有很小不同。egrep是grep的...原创 2013-07-01 10:06:39 · 82 阅读 · 0 评论 -
linux_cmd_find
1、find命令find命令是一个无处不在命令,是linux中最有用的命令之一。find命令用于:在一个目录(及子目录)中搜索文件,你可以指定一些匹配条件,如按文件名、文件类型、用户甚至是时间戳查找文件。下面就通过实例来体验下find命令的强大。1.1、find命令的一般形式man文档中给出的find命令的一般形式为:find [-H] [-L] [-P] [-D debugo...原创 2013-07-22 09:12:02 · 131 阅读 · 0 评论 -
linux_install jdk
via: http://my.oschina.net/acmfly/blog/88476Install the JDKDownload he 32bit or 64bit Linux "compressed binary file" - it has a ".tar.gz" file extension i.e. "[java-version]-i586.tar.gz" for ...原创 2013-08-02 15:34:54 · 107 阅读 · 0 评论 -
CentOS_VMware下网络配置三种方式:
via: http://www.linuxidc.com/Linux/2010-12/30958.htm VMware下CentOS网络配置三种方式:BRIDGE:相当于主机和虚拟机连接到同一个hub上,虚拟机要和主机配置到同一网段上1.配置ip等信息/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0BOOTPROTO=no...原创 2015-06-11 16:43:30 · 104 阅读 · 0 评论 -
CentOS_vncserver configuration
via: http://www.ha97.com/4634.html 一、安装相应桌面环境与vnc服务端和客户端:# yum groupinstall "GNOME Desktop Environment"(CentOS 5.x安装GNOME桌面环境)# yum groupinstall "X Window System" "Desktop"(CentOS 6.x安装GNOME桌面...原创 2015-07-02 14:00:25 · 118 阅读 · 0 评论 -
Win7_安装CentOS
via: http://www.linuxidc.com/Linux/2014-04/100032.htm 1、难点介绍:(1)Linux系统能识别Windows下FAT32文件系统,不能识别NTFS文件系统,所以在Linux安装时,选择任何sda都不行,FAT32可以(2)FAT32文件系统单个文件不能超过4G(3)CentOS 6.4文件大于4G结论:在Win7下使用...原创 2015-07-02 14:32:56 · 99 阅读 · 0 评论 -
CentOS_网卡自动启动配置等ifcfg-eth0
via: http://ypf3027.iteye.com/blog/2009925CentOS6.4 下的ifcfg-eth0的配置详情: [root@Jeffery]# vi /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0TYPE=EthernetUUID=5ff155a4-9a33-4224-8ae0-706...原创 2015-07-07 17:36:04 · 125 阅读 · 0 评论 -
Linux_>/dev/null
ref: http://dongwei.iteye.com/blog/322702 shell中可能经常能看到:>/dev/null 2>&1 命令的结果可以通过%>的形式来定义输出 /dev/null 代表空设备文件> 代表重定向到哪里,例如:echo "123" > /home/123.txt1 表示stdout标准输...原创 2015-08-05 17:55:32 · 133 阅读 · 0 评论 -
Linux_kill
kill – send a signal to a process其实kill就是给某个进程id发送了一个信号。默认发送的信号是SIGTERM,而kill -9发送的信号是SIGKILL,即exit。exit信号不会被系统阻塞,所以kill -9能顺利杀掉进程。当然你也可以使用kill发送其他信号给进程。killall – kill processes by name即,通过指定进...原创 2015-08-14 16:14:35 · 225 阅读 · 0 评论 -
Linux_杀死进程的N种方法
via: http://blog.youkuaiyun.com/andy572633/article/details/7211546 linux下杀死进程的N种方法 把ps的查询结果通过管道给grep查找包含特定字符串的进程。管道符“|”用来隔开两个命令,管道符左边命令的输出会作为管道符右边命令的输入。$ ps -ef | grep firefoxsmx 1827 ...原创 2015-08-14 16:43:36 · 99 阅读 · 0 评论 -
Linux_wc
via: http://blog.hehehehehe.cn/a/17301.htm wc命令用来打印文件的文本行数、单词数、字节数等(print the number of newlines, words, and bytes in files)。在Windows的Word中有个“字数统计”的工具,可以帮我们把选中范围的字数、字符数统计出来。Linux下的wc命令可以实现这个 功能。使...原创 2015-08-19 10:29:37 · 99 阅读 · 0 评论 -
LInix_Ubuntu开机出现grub rescue> 终端模式修复方法
ref: http://www.linuxidc.com/Linux/2012-07/65249.htm Ubuntu 开机出现 grub rescue> 终端模式修复方法 1. 先使用ls命令,找到Ubuntu的安装在哪个分区: grub rescue>ls 会罗列所有的磁盘分区信息,比方说: (hd0),(hd0,msdos3...原创 2015-09-04 15:35:02 · 200 阅读 · 0 评论 -
Linux_home的迁移
如果 想要将home分区更迁移的话,只需修改fstab文件fstab 是一个简单却重要的配置文件,它掌管着 Linux 系统的磁盘挂载。只要是添加在 fstab 文件中的磁盘分区,都会在 Linux 启动时自动挂载。使用管理员权限编辑 /etc/fstab。sudo gedit /etc/fstab按照“UUID+挂载点+文件系统+挂载参数+备份参数+检查参数”的格式,将新创建的分区...原创 2015-09-04 16:16:47 · 262 阅读 · 0 评论 -
linux_11 个很少人知道但很有用的 Linux 命令
via: http://linux.cn/thread/11931/1/1/1. sudo !!命令没有特定输入sudo命令而运行,将给出没有权限的错误。那么,你不需要重写整个命令,仅仅输入'!!'就可以抓取最后的命令。·········10········20········30········40········50········60········1....原创 2013-11-17 10:44:57 · 124 阅读 · 0 评论 -
linux_20 Netstat Commands for Linux Network Management
via: http://www.tecmint.com/20-netstat-commands-for-linux-network-management/netstat (network statistics) is a command line tool for monitoring network connections both incoming and outgoing as we...原创 2013-11-17 10:59:40 · 133 阅读 · 0 评论 -
linux_35 Practical Examples of Linux Find Command
via: http://www.tecmint.com/35-practical-examples-of-linux-find-command/The Linux Find Command is one of the most important and much used command in Linux sytems. Find command used to search and lo...原创 2013-11-17 11:19:11 · 94 阅读 · 0 评论 -
linux_18 Tar Command Examples in Linux
via: http://www.tecmint.com/18-tar-command-examples-in-linux/ The Linux “tar” stands for tape archive, which is used by large number of Linux/Unix system administrators to deal with tape drives b...原创 2013-11-17 11:29:49 · 147 阅读 · 0 评论 -
linux_ 25 Useful Basic Commands of APT-GET and APT-CACHE for Package Management
via: http://www.tecmint.com/useful-basic-commands-of-apt-get-and-apt-cache-for-package-management/ This article explains how quickly you can learn to install, remove, update and search software p...原创 2013-11-17 11:36:28 · 150 阅读 · 0 评论 -
linux_十个鲜为人知的 Linux 命令 - Part 2
via: http://linux.cn/thread/11931/1/1/ 12. <空格> 命令你在终端上键入的每个命令都会记录到history,也能用history命令重新调用。如何骗过history 命令呢?呵呵,你可以轻而易举地做到。在终端,只需要在键入命令之前输入一个或多个空格,这样你的命令就不会被记录了。让我们体验一下吧,先在终端尝试五个常见的 Li...原创 2013-11-18 09:28:12 · 96 阅读 · 0 评论 -
linux_ubuntu解压zip乱码
via: http://blog.sina.com.cn/s/blog_86969a7e01012e0a.html1. zip 文件乱码解决在windows上压缩的文件,是以系统默认编码中文来压缩文件。由于zip文件中没有声明其编码,所以linux上的unzip一般以默认编码解压,中文文件名会出现乱码。 1.1 通过unzip行命令解压,指定字符集unzip -O CP93...原创 2013-11-18 09:29:19 · 121 阅读 · 0 评论 -
linux_Switching From Windows to Nix
via: http://www.tecmint.com/useful-linux-commands-for-newbies/ 2. Command: lsblkThe “lsblk” stands for (List Block Devices), print block devices by their assigned name (but notRAM) on the stand...原创 2013-11-18 10:23:45 · 91 阅读 · 0 评论 -
linux_13 Basic Cat Command Examples in Linux
via: http://www.tecmint.com/13-basic-cat-command-examples-in-linux/ General Syntaxcat [OPTION] [FILE]...1. Display Contains of FileIn the below example, it will show contains of /etc/passwd...原创 2013-11-18 10:34:23 · 111 阅读 · 0 评论 -
linux_20 Advanced Commands for Middle Level Linux Users
via: http://www.tecmint.com/20-advanced-commands-for-middle-level-linux-users/ 21. Command: FindSearch for files in the given directory, hierarchically starting at the parent directory and mov...原创 2013-11-18 10:42:59 · 161 阅读 · 0 评论 -
linux_12 Practical Examples of Linux grep Command
via: http://www.tecmint.com/12-practical-examples-of-linux-grep-command/ grep is a powerful file pattern searcher that comes equipped on every distribution of Linux. If, for whatever reason, it i...原创 2013-11-19 19:59:47 · 173 阅读 · 0 评论 -
linux_10 Most Dangerous Commands – You Should Never Execute on Linux
via: http://www.tecmint.com/10-most-dangerous-commands-you-should-never-execute-on-linux/ 1. rm -rf CommandThe rm -rf command is one of the fastest way to delete a folder and its contents. But ...原创 2013-11-21 19:13:08 · 149 阅读 · 0 评论 -
linux_How Do I Access or Mount Windows/USB NTFS Partition in RHEL/CentOS/Fedora
via: http://www.tecmint.com/how-do-i-access-or-mount-windows-ntfs-partition-in-linux/ Sometimes it may happens in some stage, you may have to access data on a Windows partition,USB device or any ...原创 2013-11-21 19:17:12 · 145 阅读 · 0 评论 -
linux_11 Cron Scheduling Task Examples in Linux
via: http://www.tecmint.com/11-cron-scheduling-task-examples-in-linux/ In this article we are going to review and see how we can schedule and run tasks in the background automatically at regular ...原创 2013-11-21 19:31:19 · 131 阅读 · 0 评论 -
linux_A Guide to Kill, Pkill and Killall Commands to Terminate a Process in Linu
via: http://www.tecmint.com/how-to-kill-a-process-in-linux/ Linux Operating System comes with Kill command to terminate a process. The command makes it possible to continue running the server wit...原创 2013-11-21 19:34:02 · 139 阅读 · 0 评论 -
linux_20 MySQL (Mysqladmin) Commands for Database Administration in Linux
via: http://www.tecmint.com/mysqladmin-commands-for-database-administration-in-linux/ mysqladmin is a command-line utility the comes with MySQL server and it is used by Database Administrators to...原创 2013-11-21 19:42:36 · 171 阅读 · 0 评论 -
linux_查看已安装程序
rpm -qa |grep name_of_software //rpm下 一、Ubuntu中软件安装方法1、APT方式(1)普通安装:apt-get install softname1 softname2 …;(2)修复安装:apt-get -f install softname1 softname2... ;(-f Atemp to correct broken d...原创 2013-11-25 15:40:11 · 157 阅读 · 0 评论 -
linux_如何在Linux上配置基于Web的网络流量监控系统
via: http://linux.cn/article-2285-1.html 当你在本地网络监控网络流量,根据流量大小、监控平台/接口、数据库类型等等,可以有许多不同的选择。ntopng是一套开源(遵循GPLv3协议)网络流量分析解决方案,提供基于web界面的实时网络流量监控。支持跨平台,包括Linux和MacOS X。ntopng类似于RMON远端网络监控代理,具有内置的Web...原创 2013-11-26 13:48:21 · 120 阅读 · 0 评论