lnlidawei

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 48 下一页

2023年11月22日

摘要: os: ubuntu2204 -- 配置和常用脚本 一、配置(/etc/profile) 1 [wit@on:null]$ cat /etc/profile 2 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1) 阅读全文
posted @ 2023-11-22 03:08 lnlidawei 阅读(172) 评论(0) 推荐(0)

2023年11月21日

摘要: os: fedora38 -- config 一、~/.basrc 1 [wit@fedora ~]$ cat ~/.bashrc 2 # .bashrc 3 4 # Source global definitions 5 if [ -f /etc/bashrc ]; then 6 . /etc/b 阅读全文
posted @ 2023-11-21 01:41 lnlidawei 阅读(32) 评论(0) 推荐(0)

2023年11月19日

摘要: caipiao: 数据从一个数据库转移到另一个数据库(新旧数据库:表的结构不同;PHP) 一、php源代码 1 [wit@fedora dlt]$ cat dltlibs_backup.php 2 #!/usr/bin/env php 3 4 5 <?php 6 7 8 9 10 // insert 阅读全文
posted @ 2023-11-19 01:20 lnlidawei 阅读(38) 评论(0) 推荐(0)

2023年11月18日

摘要: php_mysql: dlt - 数据库操作 一、数据库的建立和数据插入 1、数据库建立 1 DROP DATABASE `tmp`; 2 3 4 CREATE DATABASE IF NOT EXISTS `tmp`; 5 6 7 USE tmp; 8 9 10 CREATE TABLE IF N 阅读全文
posted @ 2023-11-18 08:57 lnlidawei 阅读(29) 评论(0) 推荐(0)

摘要: php_mysql: PHP 格式化输出数据 一、php 源程序 1 [wit@fedora mysql]$ cat php_mysql 2 #!/usr/bin/php 3 4 5 <?php 6 7 8 9 10 // filename = php_mysql 11 12 13 14 15 fu 阅读全文
posted @ 2023-11-18 08:19 lnlidawei 阅读(35) 评论(0) 推荐(0)

2023年11月13日

摘要: os: fedora39 -- 配置和脚本 一、全局配置信息(/etc/basrc) 1、PS1配置(/etc/bashrc) 1 PS1="[${PROMPT_BRACKETS:+[}\[\e[${PROMPT_COLOR:-32}m\]\u@\h\[\e[0m\]:\[\e[${PROMPT_D 阅读全文
posted @ 2023-11-13 20:03 lnlidawei 阅读(317) 评论(0) 推荐(0)

2023年11月11日

摘要: python3: dlt - 数据结构2 一、源程序 1 [wit@fedora null]$ cat test.py 2 #!/usr/bin/env python3 3 4 5 6 7 # file_name = test.py 8 # python_verion = 3.11.1 9 10 1 阅读全文
posted @ 2023-11-11 08:22 lnlidawei 阅读(56) 评论(0) 推荐(0)

2023年11月10日

摘要: python3: dlt - 数据结构 一、程序: 1 [wit@fedora null]$ cat test.py 2 #!/usr/bin/env python3 3 4 5 6 7 # test this script 8 def msg(): 9 print("\nhello, python 阅读全文
posted @ 2023-11-10 21:23 lnlidawei 阅读(65) 评论(0) 推荐(0)

2023年11月7日

摘要: os:ubuntu2204 -- 删除“旧内核”脚本 一、ubuntu删除旧内核: 1、查询内核信息: 1 [wit@on:null]$ sudo dpkg --get-selections | grep linux 2、删除旧内核: 1 [wit@on:null]$ sudo apt purge 阅读全文
posted @ 2023-11-07 03:43 lnlidawei 阅读(272) 评论(0) 推荐(0)

2023年11月1日

摘要: os_config: fedora38 ~ bash config 1. bash config (~/.bashrc) 1 [wit@fedora null]$ cat ~/.bashrc 2 # .bashrc 3 4 # Source global definitions 5 if [ -f 阅读全文
posted @ 2023-11-01 17:35 lnlidawei 阅读(17) 评论(0) 推荐(0)

上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 48 下一页