当前位置:首页 » 矿机知识 » linux矿机系统BTM

linux矿机系统BTM

发布时间: 2021-09-01 14:51:30

❶ 如何设置Linux系统中Terminal字体颜色

方法一:

1、在~/.bash_profile文件中添加LS_COLORS

export LS_COLORS='no=00:fi=00:di=01;33:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;35:*.cmd=01;35:*.exe=01;35:*.com=01;35:*.btm=01;35:*.bat=01;35:*.sh=01;35:*.csh=01;35:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:'

2、source ~/.bash_profile即可

方法二:

1、拷贝/etc/DIR_COLORS文件为当前主目录的 .dir_colors

cp /etc/DIR_COLORS ~/.dir_colors

2、修改~/.dir_colors中DIR对应的颜色

vim ~/.dir_colors

第59行:DIR 01;34(01:粗体,34:蓝色)

修改为:DIR 01;33(01:粗体,33:黄色)

解释

1、文件类型
1)直接用,有以下几种:
no NORMAL, NORM 全局默认
fiFILE 普通文件
di DIR 目录
lnSYMLINK, LINK, LNK 链接
piFIFO, PIPE 管道
doDOOR Door
bdBLOCK, BLK 块设备
cdCHAR, CHR 字符设备
orORPHAN 目标不存在到符号链接
soSOCK 套接字Socket
suSETUID 属主setuid有效的文件
sgSETGID 属组setuid有效到文件
twSTICKY_OTHER_WRITABLE Directory that is sticky and other-writable ( t,o w)
owOTHER_WRITABLE Directory that is other-writable (o w) and not sticky
stSTICKY Directory with the sticky bit set ( t) and not other-writable
exEXEC Executable file (i.e. has ‘x’ set in permissions)
miMISSING Non-existent file pointed to by a symbolic link (visible when you type ls -l)
lc LEFTCODE, LEFT Opening terminal code
rc RIGHTCODE, RIGHT Closing terminal code
ecENDCODE, END Non-filename text
2)扩展名通过“.”加上扩展名
*.extension Every file using this extension e.g. *.jpg
2、效果的具体代码如下
* 效果列表:
00 默认
01 加粗
04 下划线
05 闪烁
07 反显
08 隐藏
* 颜色列表:
31~37分别表示前景色为红、绿、橙、蓝、紫、青、灰
90~97分别表示前景色为深灰、淡红、淡绿、黄色、淡蓝、淡紫、青绿、白色
40~47分别表示背景色为黑、红、绿、橙、蓝、紫、青、灰
100~106分别表示背景色为深灰、淡红、淡绿、黄色、淡蓝、淡紫、青绿

❷ 我的Linux系统刚恢复了一下 ,开机oracle就不能开启监听了 这是为什么

检查下权限ls -lrt /u01/app/oracle/proct/10.2.0/db_1/network/log

❸ 怎么增加linux 的环境变量

1、直接用export命令:
#export PATH=$PATH:/opt/au1200_rm/build_tools/bin
查看是否已经设好,可用命令export查看:
[root@localhost bin]# export
declare -x BASH_ENV="/root/.bashrc"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTSIZE="1000"
declare -x HOME="/root"
declare -x HOSTNAME="localhost.localdomain"
declare -x INPUTRC="/etc/inputrc"
declare -x LANG="zh_CN.GB18030"
declare -x LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
declare -x LOGNAME="root"
declare -x LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*NaNd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:"
declare -x MAIL="/var/spool/mail/root"
declare -x OLDPWD="/opt/au1200_rm/build_tools"
declare -x PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/opt/au1200_rm/build_tools/bin"
declare -x PWD="/opt/au1200_rm/build_tools/bin"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
declare -x SSH_AUTH_SOCK="/tmp/ssh-XX3LKWhz/agent.4242"
declare -x SSH_CLIENT="10.3.37.152 2236 22"
declare -x SSH_CONNECTION="10.3.37.152 2236 10.3.37.186 22"
declare -x SSH_TTY="/dev/pts/2"
declare -x TERM="linux"
declare -x USER="root"
declare -x USERNAME="root"
可以看到,环境变量已经设好,PATH里面已经有了我要加的编译器的路径。

❹ 怎么设置 linux环境变量配置

直接用export命令:
#export PATH=$PATH:/opt/au1200_rm/build_tools/bin
查看是否已经设好,可用命令export查看:
[root@localhost bin]# export
declare -x BASH_ENV="/root/.bashrc"
declare -x G_BROKEN_FILENAMES="1"
declare -x HISTSIZE="1000"
declare -x HOME="/root"
declare -x HOSTNAME="localhost.localdomain"
declare -x INPUTRC="/etc/inputrc"
declare -x LANG="zh_CN.GB18030"
declare -x LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN"
declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
declare -x LOGNAME="root"
declare -x LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*NaNd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:"
declare -x MAIL="/var/spool/mail/root"
declare -x OLDPWD="/opt/au1200_rm/build_tools"
declare -x PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/opt/au1200_rm/build_tools/bin"
declare -x PWD="/opt/au1200_rm/build_tools/bin"
declare -x SHELL="/bin/bash"
declare -x SHLVL="1"
declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
declare -x SSH_AUTH_SOCK="/tmp/ssh-XX3LKWhz/agent.4242"
declare -x SSH_CLIENT="10.3.37.152 2236 22"
declare -x SSH_CONNECTION="10.3.37.152 2236 10.3.37.186 22"
declare -x SSH_TTY="/dev/pts/2"
declare -x TERM="linux"
declare -x USER="root"
declare -x USERNAME="root"
可以看到,环境变量已经设好,PATH里面已经有了我要加的编译器的路径。

❺ 在 win7 64位系统的启动项里有个btmtrayagent,这是什么启动项,有什么用

那是蓝牙驱动的模块

❻ 谁知道在linux下的常用后缀名啊

在Linux系统中,可执行文件没有统一的后缀,系统从文件的属性来区分可执行文件和不可执行文件。而gcc则通过后缀来区别输入文件的类别,下面我们来介绍gcc所遵循的部分约定规则。
.c为后缀的文件,C语言源代码文件;
.a为后缀的文件,是由目标文件构成的档案库文件;
.C,.cc或.cxx 为后缀的文件,是C++源代码文件;
.h为后缀的文件,是程序所包含的头文件;
.i 为后缀的文件,是已经预处理过的C源代码文件;
.ii为后缀的文件,是已经预处理过的C++源代码文件;
.m为后缀的文件,是Objective-C源代码文件;
.o为后缀的文件,是编译后的目标文件;
.s为后缀的文件,是汇编语言源代码文件;
.S为后缀的文件,是经过预编译的汇编语言源代码文件。

❼ linux系统下如何显示关键字颜色

linux下设置ls命令显示文件、文件夹颜色:

1. LS_COLORS

用 dircolors -p 可以 看到缺省的颜色设置,包括各种颜色和“粗体”,下划线,闪烁等定义。

环境变量LS_COLORS时用来设置GNU ls的--color选项中的颜色的。

# Below are the color init strings for the basic file types. A color init
# string consists of one or more of the following numeric codes:
# Attribute codes:
# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed
# Text color codes:
# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# Background color codes:
# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
NORMAL 00 # global default, although everything should be something.
FILE 00 # normal file
DIR 01;34 # directory

故,要设置ls的颜色,则在SHELL的配置文件(以下是tcsh的配置文件:.tcshrc,对于bash略有不同)中添加下面一行:

setenv LS_COLORS 'no=00:fi=00:di=01;33:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;35:*.cmd=01;35:*.exe=01;35:*.com=01;35:*.btm=01;35:*.bat=01;35:*.sh=01;35:*.csh=01;35:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:'

即可,可以参照上面的英文自行配置。

另:/etc/DIR_COLORS 文件为系统默认颜色参数配置文件
如果想修改定义自己的颜色参数配置文件,请执行如下操作:
1) cp /etc/DIR_COLORS $HOME/.dir_colors
2) 修改中的颜色定义 $HOME/.dir_colors

2. CLICOLOR

# CLICOLOR是用来设置是否进行颜色的显示。CLI是Command Line Interface的缩写。
setenv CLICOLOR 1

# LSCOLORS是用来设置当CLICOLOR被启用后,各种文件类型的颜色
setenv LSCOLORS gxfxaxdxcxegedabagacad

LSCOLORS的值中每两个字母为一组,分别设置某个文件类型的文字颜色和背景颜色。LSCOLORS中一共11组颜色设置,按照先后顺序,分别对以下的文件类型进行设置:

directory
symbolic link
socket
pipe
executable
block special
character special
executable with setuid bit set
executable with setgid bit set
directory writable to others, with sticky bit
directory writable to others, without sticky bit
LSCOLORS中,字母代表的颜色如下:
a 黑色
b 红色
c 绿色
d 棕色
e 蓝色
f 洋红色
g 青色
h 浅灰色
A 黑色粗体
B 红色粗体
C 绿色粗体
D 棕色粗体
E 蓝色粗体
F 洋红色粗体
G 青色粗体
H 浅灰色粗体
x 系统默认颜色
所以,如果我们想把目录显示成红色,就可以把LSCOLORS设置为bxfxaxdxcxegedabagacad就可以了
////////////////////////////////////////////
LSCOLORS 的含义:

LSCOLORS The value of this variable describes what color to use
for which attribute when colors are enabled with
CLICOLOR. This string is a concatenation of pairs of the
format fb, where f is the foreground color and b is the
background color.

The color designators are as follows:

a black
b red
c green
d brown
e blue
f magenta
g cyan
h light grey
A bold black, usually shows up as dark grey
B bold red
C bold green
D bold brown, usually shows up as yellow
E bold blue
F bold magenta
G bold cyan
H bold light grey; looks like bright white
x default foreground or background

Note that the above are standard ANSI colors. The actual
display may differ depending on the color capabilities of
the terminal in use.

The order of the attributes are as follows:

1. directory
2. symbolic link
3. socket
4. pipe
5. executable
6. block special
7. character special
8. executable with setuid bit set
9. executable with setgid bit set
10. directory writable to others, with sticky bit
11. directory writable to others, without sticky
bit

The default is “exfxcxdxbxegedabagacad”, i.e. blue fore-
ground and default background for regular directories,
black foreground and red background for setuid executa-
bles, etc.

数字货币btm怎么挖

怎么挖都是不对的,因为这本来就是一种数字货币式的新型泡沫,传-销。

热点内容
eth转账手续费给多少 发布:2025-06-17 14:29:48 浏览:333
usdt泰达币在哪里买 发布:2025-06-17 14:05:02 浏览:855
区块链上的区块周 发布:2025-06-17 13:43:02 浏览:433
eth价值预测 发布:2025-06-17 12:46:39 浏览:380
捡到电信合约机怎么查到期 发布:2025-06-17 12:39:21 浏览:182
eth算力降低为什么 发布:2025-06-17 12:37:37 浏览:980
eth和显卡 发布:2025-06-17 12:35:22 浏览:716
USDT交易所不会风控 发布:2025-06-17 12:04:19 浏览:676
算力股 发布:2025-06-17 11:56:01 浏览:503
区块链网络工程师 发布:2025-06-17 11:55:11 浏览:775