Ubuntu
文章平均质量分 55
fromcl
这个作者很懒,什么都没留下…
展开
-
Ubuntu配置IP地址
Ubuntu配置IP地址原创 2017-08-10 09:09:03 · 3625 阅读 · 0 评论 -
Ubuntu使用C调用Shell
#include <stdlib.h>#include <stdio.h>#include <iostream>#include <string>using namespace std;/* 执行系统命令,返回命令执行结果字符串*/string get_output_of_cmd(const string &cmd){ in...原创 2017-08-10 11:06:22 · 793 阅读 · 0 评论 -
Ubuntu发送邮件
一、Python版本代码如下:#!/usr/bin/env python3# -*- coding: utf-8 -*-#1、设置邮件地址等等;2、创建邮件内容;3、发送from email import encodersfrom email.header import Headerfrom email.mime.text import MIMETextfrom email...原创 2018-03-07 13:54:00 · 1840 阅读 · 0 评论 -
GitWeb学习笔记
一、GitWeb服务器Ubuntu系统所需软件安装sudo apt-get install openssh-server openssh-client git gitweb apache2二、git配置部分1、在服务器端所需目录下建立一个git仓库:git init --bare sample.git这个时候,在没有gitweb的情况下这个git服务端仓库已经可以使用了,可在客户端上:git cl...原创 2017-11-14 14:15:49 · 6954 阅读 · 0 评论 -
Ubuntu个人笔记,用于Ctrl+F查询
Linux目录结构 目录名称 描述 /bin 存放常用的二进制可执行命令:ls、rm、mkdir、rmdir、gzip、tar、telnet、ftp等 /dev 存放与设备相关的特殊文件,unix与linux将设备当成文件处理 /dev/fdo代表软盘 /dev/cdrom代表光盘 /etc 存放系统管理与配置文件,如LILO的参数、用户的.........原创 2018-04-12 13:22:38 · 2472 阅读 · 0 评论