随笔分类 -  Linux

上一页 1 2
Linux查看所有用户用什么命令
摘要:用过Linux系统的人都知道,Linux系统查看用户不是会Windows那样,鼠标右键看我的电脑属性,然后看计算机用户和组即可。 那么Linux操作系统里查看所有用户该怎么办呢?用命令。其实用命令就能很轻松的查看到Linux系统有哪些用户。 1、Linux里查看所有用户 (1)在终端里.其实只需... 阅读全文
posted @ 2014-06-03 14:23 Rosepotato 阅读(350) 评论(0) 推荐(0)
Jenkins User on Apt-Get Install Installation
摘要:转自:http://stackoverflow.com/questions/6234016/jenkins-user-on-apt-get-install-installationQUESTION:I just installed Jenkins on my Ubuntu server via th... 阅读全文
posted @ 2014-05-20 14:49 Rosepotato 阅读(426) 评论(0) 推荐(0)
User is not in the sudoers file. This incident will be reported
摘要:On using the sudo command if we see the errorThis means that the user as whom we have logged in and are trying to run the command "sudo" does not have... 阅读全文
posted @ 2014-05-20 14:47 Rosepotato 阅读(326) 评论(0) 推荐(0)
disable-linux-firewall-under-centos-rhel-fedora
摘要:http://www.cyberciti.biz/faq/disable-linux-firewall-under-centos-rhel-fedora/ 阅读全文
posted @ 2014-05-19 18:15 Rosepotato 阅读(201) 评论(0) 推荐(0)
linux关机和重启的命令[转]
摘要:如果你很急着关机或者重启话,那么关机就是init 0,重启就是init 6或者rebootLinux中常用的关机和重新启动命令有shutdown、halt、reboot以及init,它们都可以达到关机和重新启动的目的,但是每个命令的内部工作过程是不同的,下面将逐一进行介绍。1. shutdownsh... 阅读全文
posted @ 2014-05-19 17:40 Rosepotato 阅读(195) 评论(0) 推荐(0)
How to install JDK (Java Development Kit) on Linux
摘要:This tutorial will guide you on how to install JDK (Java Development Kit) on Linux. Since I use Centos 5.4 x86_64 in everyday life, this guide is show... 阅读全文
posted @ 2014-05-19 17:03 Rosepotato 阅读(1100) 评论(0) 推荐(0)
linux 压缩/解压命令大全
摘要:.tar解包:tar xvf FileName.tar打包:tar cvf FileName.tar DirName(注:tar是打包,不是压缩!)———————————————.gz解压1:gunzip FileName.gz解压2:gzip -d FileName.gz压缩:gzip FileN... 阅读全文
posted @ 2014-05-19 15:25 Rosepotato 阅读(218) 评论(0) 推荐(0)
Linux系统信息查看命令大全
摘要:Linux系统信息查看命令大全最近看了一些Linux命令行的文章,在系统信息查看方面学到不少命令。 想起以前写过的一篇其实Linux这样用更简单, 发现这些系统信息查看命令也可以总结出一篇小小的东西来了。另外这里还有非常多的命令, 可以作为参考。系统# uname -a ... 阅读全文
posted @ 2014-05-19 14:42 Rosepotato 阅读(210) 评论(0) 推荐(0)
Difference between 2>&-, 2>/dev/null, |&, &>/dev/null and >/dev/null 2>&1
摘要:Reference link:http://unix.stackexchange.com/questions/70963/difference-between-2-2-dev-null-dev-null-and-dev-null-21up vote3down votefavorite5Just lo... 阅读全文
posted @ 2014-05-05 15:07 Rosepotato 阅读(341) 评论(0) 推荐(0)
查看Linux服务器网络状态
摘要:ifconfig用来显示所有网络接口的详细情况的,如:ip地址,子网掩码等。ethx是以太网网卡的名称。配置文件在/etc/sysconfig/network-scripts/ifcfg-eth0中DEVICE="eth0"HWADDR="00:0C:29:68:C0:8C"NM_CONTROLLED="yes"ONBOOT="yes" 设置为yes则开机的时候启动网卡,no为开机时不启动网卡BOOTPROTO=dhcp dhcp设置为动态获取IP,static则设置为静态获取Ip#IPADDR=192.168.1 阅读全文
posted @ 2014-03-31 15:34 Rosepotato 阅读(3248) 评论(0) 推荐(0)
linux mount 命令详解
摘要:命令格式: mount [-t vfstype] [-o options] device dir 其中: 1.-t vfstype 指定文件系统的类型,通常不必指定。mount 会自动选择正确的类型。常用类型有: 光盘或光盘镜像:iso9660 DOS fat16文件系统:msdos Windows 9x fat32文件系统:vfat Windows NT ntfs文件系统:ntfs Mount Windows文件网络共享:smbfs UNIX(LINUX) 文件网络共享:nfs 2.-o options 主要用来描述设备或档案的挂接方式。常用的参数有: loop:用来把... 阅读全文
posted @ 2013-09-23 14:42 Rosepotato 阅读(244) 评论(0) 推荐(1)
Linux下which、whereis、locate、find 命令的区别
摘要:转自http://312788172.iteye.com/blog/730280我们经常在linux要查找某个文件,但不知道放在哪里了,可以使用下面的一些命令来搜索。这些是从网上找到的资料,因为有时很长时间不会用到,当要用的时候经常弄混了,所以放到这里方便使用。 which 查看可执行文件的位置 whereis 查看文件的位置 locate 配 合数据库查看文件位置 find 实际搜寻硬盘查询文件名称 1、which 语法: [root@redhat ~]# which 可执行文件名称 例如: [root@redhat ~]# which passwd /usr/bin/passwd whic 阅读全文
posted @ 2013-07-29 16:05 Rosepotato 阅读(241) 评论(0) 推荐(0)

上一页 1 2