linux和mysql基础指令

Linux中nano和vim读可以打开记事文件。

ifdown ens33

ifup ens33

关闭,开启网络

rm -r lesson1

gcc -o code1 code1.c

编译c语言代码

./code1

执行c语言代码

rm -r dir

删除文件夹

mysql> show databases
    -> ^C
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| online_edu         |
| performance_schema |
| sys                |
| test               |
+--------------------+
6 rows in set (0.08 sec)

展示数据库

mysql> use test;
Database changed
mysql> create table tb_user(
    -> id int comment'编号',
    -> name varchar(50) comment'姓名',
    -> age int comment'年龄',
    -> gender varchar(1) comment'性别'
    -> );

使用test数据库,使用tb_user表。

mysql> desc tb_user;

查看表结构。

课设中遇到的问题:

【异常】JDK21报错NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member fie

[【异常】JDK21报错NoSuchFieldError: Class com.sun.tools.javac.tree.JCTreeJCImport does not have member fie_java: java.lang.nosuchfielderror: class com.sun.to-CSDN博客![icon-default.png?t=N7T8](https://csdnimg.cn/release/blog_editor_html/release2.3.6/ckeditor/plugins/CsdnLink/icons/icon-default.png)https://blog.csdn.net/G971005287W/article/details/133350154](https://blog.csdn.net/G971005287W/article/details/133350154 "【异常】JDK21报错NoSuchFieldError: Class com.sun.tools.javac.tree.JCTreeJCImport does not have member fie_java: java.lang.nosuchfielderror: class com.sun.to-CSDN博客")

相关推荐
-无-为-几秒前
科普文:linux I/O原理、监控、和调优思路
linux·运维·性能优化
屿小夏.7 分钟前
【Linux】Linux常用指令合集精讲,一篇让你彻底掌握(万字真言)
linux·运维·服务器
编程者也15 分钟前
Linux应用开发-第三章Linux的目录IO
linux·服务器·嵌入式硬件
pk_xz12345618 分钟前
如何使用thinkPHP开发
运维·服务器·php
969库库库21 分钟前
MySQL-作业1
数据库·mysql
都适、隶仁ミ29 分钟前
SQL注入工具Sqlmap
linux·网络·数据库·sql·安全·网络安全·系统安全
peterhunter032031 分钟前
Iperf基本用法
linux
Q_hd31 分钟前
【嵌入式】探索嵌入式世界:在ARM上构建俄罗斯方块游戏的奇妙之旅
linux·c语言·arm开发·游戏
菜鸟赵大宝40 分钟前
【Unix/Linux】Unix/Linux如何查看系统版本
linux·unix
阿福不是狗43 分钟前
Python使用总结之应用程序有哪些配置方式?配置方式对比
linux·服务器·python