首页
📁归档
⏳时光机
📫留言
🚩友链
💰资助名单
推荐
🎧音乐
🏜️ 壁纸
❤ 捐助
Search
1
【NPN/PNP三极管】放大电路饱和失真和截止失真的区别
19,438 阅读
2
论文写作中如何把word里面所有数字和字母替换为新罗马字体
10,279 阅读
3
【高数】形心计算公式讲解大全
8,827 阅读
4
【概论】一阶矩、二阶矩原点矩,中心矩区别与概念
7,548 阅读
5
Vivado-FPGA Verilog烧写固化教程
7,050 阅读
🪶微语&随笔
励志美文
我的随笔
写作办公
📡电子&通信
嵌入式&系统
通信&信息处理
编程&脚本笔记
⌨️IC&系统
FPGA&ASIC
VLSI&IC验证
EDA&虚拟机
💻电子&计算机
IP&SOC设计
机器学习
软硬件算法
登录
Dem(共15篇)
找到
15
篇与
Dem
相关的结果
- 第 2 页
2021-03-23
考研英语作文笔记-刘晓燕
文章目录 一、简单句的满分表达 被动 there be句型 比较句型 as...as...和...一样 (原级的比较) the more...the more....越....越.... 并列句满分表达 1、and but 句型 2、not only ....but also...句型 复合句的满分表达 一)主语从句 二)同位语和同位语从句 1、名词作同位语 2、同位语从句 三)定语和定语从句 1、定语的成分 2、定语和定语从句在写作中的使用 3、定语从句的满分表达 四)状语和状语从句 1、什么是状语 2、状语在写作中的使用 3、状语从句的满分表达 ①让步状语从句 ② so...that... 如此...以至于.... ③分词作状语把分词放在句中的主谓之间作为插入语使用 二. 英语的特殊结构的满分表达 1)插入语: 2)双重否定 3)强调句型 4)修辞 一. 比喻 二. 排比 5)虚拟语气 1、if 引导的虚拟语气 6)倒装 1、否定词放句首用倒装 2、so...that...的倒装 3、only+状语放句首用倒装 三、段落:段落的论证方式 1、定义和解释 2、统计和事实(推荐英语2) 3、引用名人名言 一、简单句的满分表达 被动 当汉语中出现我们、人们、大家或有人等人称代词做主语时,都可以写成被动。 被动句型推荐在第一段的最后一句话,引出文章中心时使用,或者是第三段的第一句话,文章总结的时候使用。(使用一次就够了) 举例1:我们应该孝敬父母 parent should be respected by us. superiors are supposed to be respected by their descendants. 单词替换: ①parent----->superiors(父母,长辈,上司)/ the elderly/ senior citizens. ②should----->ought to/ be supposed to(应该做)/ be obliged to(有责任有义务做,带强制的感情色彩) ③we、us和people的替换----->human beings/ the public/ private individuals 写作时要注意单词的准确性!!1 1)我们不应该盲目追星 我们------>teenagers and youngsters. 2)我们应该节约 undergraduates(本科生)、youngsters on campus(大学生) 3)我们应该孝敬父母 children/ kids/ offspring(子孙后代,单复数同形不加s)/ descendants(子孙后代) 4)人们应该讲诚信 businessmen 5)我们应该有自信 all children and adults/ men and women in all walks(各行各业的男男女女们) 6)我们应该关注环境问题 experts and professors 示例2、我们不应该盲目追星 celebrities (名人;明星) should not be pursued by youngsters. not的替换:------never /by no means/ under no circumstances/ fail to(★) 示例3、污染很严重 environmental contamination is though very serious by increasing amount of experts and professors. pollution-----> environmental contamination think------> maintain/ claim/assume/ be of the opinion that/ cling to the perspective that very-----> distinctly /remarkably/ exceedingly/ outstandingly/ strikingly/ extraordinarily [ɪksˈtrɔːdnrɪli] (选三个记忆) serious----> fatal/ grave/ severe/ fearful/ be of great severity there be句型 there exists/seem/remain(都翻译成有) 示例1: 有很多的原因解释我的观点 There exist many reasons to explain my idea. 本句型推荐写在第二段的第一节话引出原因分析的时候使用,或者是第三段的最后一句话喊口号的时候使用。 Many ----a sea of/ a multitude of/ a host of / a train of /an army of 许多、大量 -----immense(巨大的) amounts of -----numerous Reasons—causes/factors/elements Explain—account for /give rise to/contribute to/be responsible for 产生、导致、致使 Idea----outlook/viewpoint 比较句型 as…as…和…一样 (原级的比较) 只要作文中出现形容词或副词的地方都能写出as…as…句型 本句型推荐写在第一段的最后一句话引出文章中心的时候使用,或者是第三段第一句话,文章总结的时候使用。 示例1:她很漂亮 She is as beautiful as a red rose, which managed to take away the breath of a sea of children and adults. 她能成功带走很多人的呼吸。 be动词的替换(不适合被动和现在进行时,此时be作为助动词)------ ①look/taste/sound/feel…所有的感官动词都可以替换be动词 seem、 appear(好像,似乎) ②keep, remain ③become,get ④prove Beautiful----graceful/ elegant/ attractive/ charming/ gorgeous(美丽到极致) 示例2:自信很重要 Confidence proves as important as sunshine, which plays an essential role in the normal growth of all creatures. Important-----vital/crucial/critical/indispensable/significant ------be of great importance ------be of great importance 示例3:过渡捕捞很严重 Sth becomes as grave as AIDS,which has threatened the health of patients or taken away their lives. the more…the more…越…越… 这个句型叫做the+adj/adv比较级+句子,the+adj/adv比较级+句子。(主将从现哟!) the后面加形容词还是副词取决于后面这个句子的谓语动词是系动词还是实义动词,如果谓语是实义动词用副词,如果是系动词用形容词 本句型推荐写在作文的第二段分析原因的时候使用 Eg:文化交流的越频繁,经济发展越迅速 The more frequently cultures are exchanged, the more rapidly Chinese economy will develop. 可数名词永远不能单独使用,如果不确定是不是可数,加the最保险。 例句1:你爬的越高看的越远 (没有特指的一个人用one,没有特指的多个人用those) The higher one ascends , the farther he will overlook. (farther指真实距离的远,further指抽象距离的远) 例句2:你学习的越努力,你越容易取得成功。 (努力:diligent) The more diligent one keeps,the more easily he will achieve glories. 一句话需要动词又没有动词用be动词; keep是系动词后面跟形容词diligent,‘容易’是修饰‘取得’的,‘取得’是实义动词,副词修饰实义动词,使用副词easily。 例句3:越努力,越幸运。(所有人都是) The harder all children and adult remain, the more fortunate they will become. 作业:用the more …the more…句型写为什么做人一个有自信 并列句满分表达 1、and but 句型 And------->likewise/similarly/in the meanwhile/at the same time 都翻译为‘并且’ But-------->conversely/by contrast/On the contrary/ conversely/nevertheless都翻译为‘但是’ 描述图画的分类 1)一幅图 1、一幅图,一个主体,两个动作(主要/次要) 2、一幅图,两个主体,两个动作 2)两幅图 在描述图画的时候记住:除非有明显的过去时间,描述图画都用现在进行时,因为现在进行时描述更生动。 描述图画----一般现在时 描述图表----一般过去 In the picture, the goalkeeper is imagining himself exceedingly small. On the contrary, the player is assuming his rival(对手)as big as a hill. 在第一幅图画当中,温室里的花朵生长的很健康,但是在第二幅图画中,这朵花就凋零了。 In the former picture, the flower in the greenhouse is growing healthily. Conversely, in the latter one, it is dying. And but句型推荐写在作文的第一段,描述一幅图两个主体两个动作的时候使用,或者是两幅图的时候使用。 替换Picture----> picture/cartoon/drawing/painting/caricature/photograph 作业:描述追星这幅作文 2、not only …but also…句型 本句型推荐写在作文的第二段,分析原因的时候使用 例句1:养宠物的好处 养宠物能减少老人的孤单 Raising pets can reduce the loneliness of senior citizens. 养宠物能培养小孩子的善良 Raising pets can cultivate the kindness of kids. 合并: Raising pets not only can educe the loneliness of senior citizens but also can cultivate the kindness of kids. 例句2:为什么应该孝敬父母 孝敬父母不但是一个中华民族的传统美德,而且是子女的法定义务。 Supporting the elderly not only keeps a Chinese conventional virtue but also proves the legal responsibility of their offspring. 例句3:合作/自信/乐观/文化交流 不但能够使我们交到更多的朋友,而且还能使我们取得更大的成功。 Enable sb to do sth/ have sb do sth 使某人做某事 成功、成就、荣耀:glories 表扬、嘉奖、荣誉、荣誉、成就:credits Cooperation not only enables all children and adults to make more intimate friends but also has them achieve greater credits. 复合句的满分表达 一)主语从句 l (That you never fail to fascinate me) is obvious. It is obvious (that you never fail to fascinate me) 主语从句的满分表达就是把主语从句放到句末去,加it做形式主语。 主语从句常见的满分表达是it…that… It proves common knowledge that…显而易见,总所周知 It proves self-evident that… 显而易见,总所周知 It seems beyond dispute that…超越了争论---->显而易见,总所周知 It is universally acknowledged that…显而易见,总所周知 It has been widely accepted that… 显而易见,总所周知 It keeps my perspective that= i think that… 我认为 (选两个记忆----大作文写一个小作文写一个) 可以写在作文中任何一句话的前面来拉长句子 本句型推荐写在大作文第一段第一句话的前面,用来引出推荐的图画或图表。 更好的主语从句的变体是把it写成what,在that前面加is Eg: What proves common knowledge is that… 已经变成了两个从句:1、what引导的主语从句 2、that引导的宾语从句 二)同位语和同位语从句 1、名词作同位语 只要在作文中见到名词,都可以在后面加一个名词,作为它的同位语出现。 大作文最多出现两次名词作同位语。 My boyfriend, a rich businessman, really has no much time to accompany me, an attractive girl. 一个男人把贝克汉姆的名字写在他的脸上 A man,a soccer fan, is writing the name, a symbol of someone, of Beckham , an esteemed sportsman, on his face, some part of the body. 2、同位语从句 1、她长着一双大眼睛这个事实表明她是一个美女; The evidence( that she has a pair of big eyes )manifests(表明) (that she keeps a beauty.) 同位语从句+宾语从句 2、很多女生都已经穿上了漂亮的花裙子,这个事实表明夏天已经来了。 The evidence that a host of girls have wore beautiful colorful skirts manifests that summer is around the corner. …样的事实表明了… 本句型推荐写在作文第二段分析原因的时候使用,它的模板是the evidence that + 一个表示原因的简单句+ manifests that +文章的中心句。 为什么说污染很严重? 我们再也见不到明亮的星星和皎洁的月光了,这个事实表明污染变得越来越严重了。 The evidence that bright stars and pure moonlights fail to be detected manifests that environment contamination is becoming increasing fatal. 例句:国产车的价格变得越来越低了,这个事实表明国产车在中国更受到欢迎 他们能够享受到一个更高质量的生活水平,这个事实表明,更多的农民涌入大城市。 The evidence that farmers can enjoy high quality life, manifest that most of them would like to swarm into big cities. 三)定语和定语从句 1、定语的成分 ①形容词修饰名词 ②介词短语修饰名词 ③名词修饰名词 ④非谓语动词修饰名词 ⑤从句 2、定语和定语从句在写作中的使用 只要在作文中见到名词,都可以给它加一个定语的成分,把句子拉长。但是在第一段描述图画的时候只要见到名词通常都要加定语,使图画的描述显得很生动。 一个…美国小女孩正穿着少数民族的传统服饰 An American girl young as well as graceful is wearing Chinese conventional costume which keeps pervasive(遍布的,普遍的)in the south of China. Immense amounts of children and adults sitting in seperate rooms are surfing on the internet. 描述图画的万能定语: 1、好的: 用as well as连接两个形容词:cute,lovely,little; graceful elegant; young; Enthusiastic,passionate; confident,energetic; Aggressive ambitious Who looks distinctly impressive to readers(给读者留下深刻印象的—>万能定从) 2、坏的: Fat, cruel, ugly Negative, dispassioned 消极悲观的 Terrible, disgusting,disgraceful 不好的 Who looks rather less impressive to readers. 3、定语从句的满分表达 他是一个色狼是显而易见的 He looks like a lady-killer, which has been widely accepted. 定语从句的满分表达就是which可以引导修饰前面整个句子的定语从句,和前面的句子用逗号隔开。 定语从句的满分表达可以写在作文中任何一个陈述句后面,但是推荐写在中文第二段某个比较短的原因后面用来拉长句子。 1)which leaves us a deep impression 2)which provokes the public’s widespread concerns. 3)which brings up the unnecessary/unexpected trouble 4)which gives rise to dreadful consequences 国产车的价格变得越低,越多的人愿意买国产车 The lower the price of cars made in China becomes, the more Chinese would like to purchase them, which leaves businessmen a deep impression. 四)状语和状语从句 1、什么是状语 只要在句子中见到一下的一坨东西就是状语:adv,时间,地点,原因,条件,让步,方式,结果,目的,伴随,比较状语 2、状语在写作中的使用 中文中的任何一句话都可以加给它加一个状语的成分把句子拉长,但是在第一段描述图画或图表的时候一定要加状语,使图画或图表的描述更完整。 描述图画的万能状语 In the center of the vivid picture. 描述原因的万能状语 推荐写在那个原因的中间作为插入语使用 1、as every one can see it. 显而易见,总所周知 2、With the rapid advance of science and technology. 3、In our contemporary society目前 4、In the general routine of everyday living在我们日常生活中 3、状语从句的满分表达 ①让步状语从句 Although Although引导的让步状语从句可以写在作文中任何一句话的旁边,但是推荐写在第二段分析原因的时候使用。 第二段原因分析句型已经讲了:the more…the more…/not only…but also…/同位语从句/although引导的让步状语从句 第二段第一句话用there be 引出原因分析 为什么不应该盲目追星? 例句:盲目追星会影响青少年的身心健康 影响:exert great influence on Pursuing celebrities blindly might exert great influence on physical and mental health of youngsters on campus although their singing sounds touching. 发展中国家的人变得越来越富有了 Private individuals from developing nations are becoming increasingly wealthy although Although 引导的万能状语是: Although many people fail to pay attention the issue. 虽然很多人还没有关注到这个问题 Pay attention to 的替换(记两个) 关注,重视: Place great emphasis on; Attach great importance to; Shed light on; Pour attention into problem替换:issue phenomenon现象 subject话题 the current situation现状 ② so…that… 如此…以至于… 只要作文中出现形容词或副词的地方,都能写成so…that…句型,但是推荐写在第一段的最后一句话引出文章中心的时候使用或者是第三段的第一句话文章总结的时候使用。 已经推荐过 被动,as … as, so…that…可以写在第一段最后一句话和第三段第一句话 生命如此短暂,以至于如何的度过都是一种浪费 Life proves so short that it is a waste how to spend it. Sth keeps so vital that the problem should have been brought into the limelight. 带到聚光灯下 Sth becomes so fatal that the problem should have been brought into the limelight.引起我们关注 ③分词作状语把分词放在句中的主谓之间作为插入语使用 I hate you, i will kill you.(x) Hating you , i will kill you.(分词作状语) I, hating you, will kill you.(★) 本句型推荐写在作文的第一段,描述一幅图一个主体两个动作的时候使用。 它的模板是: sb(定语),doing sth1.(次要)+定/状,is doing sth2(主要)+定/状 A boy is smiling, a boy is rushing to the destination ------> A boy confident as well as vigorous(充满活力), smiling in the center of the vivid cartoon, is rushing to the destination which becomes a new start. 文化火锅 The hotpot delicious as well as health, smoking in the center of the vivid cartoon, is full of cultures from different nation in the world. 二. 英语的特殊结构的满分表达 1)插入语: 以下都是万能的插入语,可以插在任何一句话的主谓之间 本句型推荐写在第一段的最后一句话,第二段的第一句话或者是第三段第一句话的主谓之间 Needless to say显而易见,总所周知 In my judgement To my knowledge Exactly speaking To tell the truth To put it in another way换句话说 I suppose我认为 As i see it==in my opinion As we all know 2)双重否定 Never fail to 从来没失败过…---->没有意思表示强调(谓语),可以写在任何一个肯定句的主谓之间 双重否定推荐写在:同插入语(第一段的最后一句话,第二段的第一句话或者是第三段第一句话)用了双重否定就别用插入语了 3)强调句型 It is…that… 唯一不能强调谓语 Eg: I love the girl in a restaurant 有很多的原因解释这种现象: There exist numerous factors here to account for the phenomenon. ---->It is to account for the phenomenon that there exist numerous factors here . 作文中所有的句子都可以写成强调句型,但是推荐写在:同上(第一段的最后一句话,第二段的第一句话或者是第三段第一句话) 4)修辞 一. 比喻 Confidence is to humans as water is to fish. 自信对于人类来说就相当于水对于鱼来说一样 sth很重要。(confident可替换) Sth1 is to 人 Sth proves to 人 as solid foundation is to high skyscrapers.就像坚固的地基对高楼大厦同样重要 As the foundation is to high skyscrapers. As mothers are to little babies. As the infinite blue sky is to flaying eagles. 就像剧烈的病痛对于晚期的病人同样严重 Sth proves to 人 as intensive pain is to incurably ill patients as horrible nightmares are to innocent kids. 比如:就像经济危机对于一个国家的经济发展一样严重。 xxx很严重 本句型推荐写在第一段的最后一句话引出文章中心的时候使用或者是第三段第一句话文章总结的时候时候。 这个图画告诉我们一个道理就是城镇化进程对一个国家就像坚固的地基对高楼大厦同样重要 二. 排比 总之我们应该采取措施 Action is supposed to be adopted quickly, effective and actively It is quickly, effective and actively that action is supposed to be adopted 定语从句的排比: 本句型推荐写在第三段最后一句话喊口号的时候使用(罗斯福那句话) 5)虚拟语气 1、if 引导的虚拟语气 如果你要远行,我会掩上所有的窗户 If you travel to a long distance , i will close all my windows. —>if you traveled to a long distance , i would close all my windows. 本句型推荐写在作文第二段最后一句话,反面论证的时候使用,或者是第三段的第一句话文章总结的时候使用。 如果每个人都沉迷于网络 abandon oneself to doing sth沉迷于做某事 If every one of teenager and youngster abandoned himself to surfing on the internet, he would pay a heavy price in the near future(万能). 单复数不一致问题 (every用单数) Be indulged in 沉溺(迷)于做某事 Be addicted to abandon oneself to doing sth If every university student were indulged in surfing on the internet, it would be hard for them to graduate smoothly. It is imperative/ essential/ urgent that… …很紧急,很重要 本句型推荐写在作文第三段具体措施的时候使用。 让父母采取措施(很多人都会写政府) 从小教育孩子支持国货是很重要的 should+V原表示虚拟 It is urgent that kids should be educated/inspired to support Chinese goods 6)倒装 把一句话写成一般疑问句的形式 1、否定词放句首用倒装 ①我从来不是一个彪悍外向的女人。 I am never a woman tough and outgoing. Never am i a woman tough and outgoing. ②他不但看起来很贫穷,而且事实上他的内心也很贫穷 He not only looks poor but also in fact is poor in his mind. Not only does he looks poor but also in fact is poor in his mind. ③Respecting parents keeps not only a Chinese conventional virtue but also proves the duty of their offspring. —>not only does respecting parents keep a Chinese conventional virtue but also proves the duty of their offspring. ④Confidence not only can make you find more happiness in your life but also can have you make more friends. —>not only can confidence make you find more happiness in your life but also can have you make more friends. 2、so…that…的倒装 把so引导的部分放句首用倒装 我妈妈很善 My ma is so kind that she will never kill an ant. —>So kind is my mother that she will never kill an ant. 我很开心 I am so delighted that i cannot help laughing at midnight. So delight am i that i cannot help laughing at midnight Sth keeps so significant/fearful that the issue should have been brought into the limelight. —> so fearful/significant does sth keep that the issue should have been brought into the limelight. 3、only+状语放句首用倒装 只有通过采取这些措施,这个问题才能得到改善。 Only by taking those action can the issue be improvement a lot. 只有这个问题得到改善,人们才能安居乐业 [Only when the issue can be improved a lot ]can the common lead a happy and comfortable life. 三、段落:段落的论证方式 段落论证方式也就是写作无话可说的时候怎么办。 1、定义和解释 什么是追星? Pursuing stars is a social trend which means that we listen to their songs, we buy their CDs and we imitate their hairstyle when we have passion for them. (排比主语句式最好一致) 什么叫孝敬父母? 好事----一个中华民族传统美德 坏事----全世界普遍存在的问题/话题 Supporting the elderly is a Chinese conventional virtue(传统美德)which means that we cook for them, we buy gift for them and we wash feet for them when they become gradually old. 定义和解释用在第一个原因分析 A server global issue An active/ negative mentality心态 Sth1 is sth2 a Chinese tradition virtue + which means that+三个并列简单句 A hot social topic (主语一致) A social pervasive trend普遍趋势 when引导的时间状语从句 污染是什么? 2、统计和事实(推荐英语2) In light of=on the basis of=in line with根据;按照 Lastest=current=proximate 最新的;最近的 Statistics/survey/data/data统计 In light of lastest statistics by the Chinese academy of social science(中科院),an increasing amount of us harbor the idea that… By the department of social science in Peking university社会科学学院 harbor the idea that=think 持…观点 A recent study revealed the shocking /surprising/ delightful fact that…+中心句 3、引用名人名言 Once, there seemed a writer who has gained great reputation in Japan stating that: 推荐句型 ①比喻 ②as…as ③the more…the more句型 ④so…that… ⑤if虚拟语气
我的随笔
刘航宇
5年前
0
2,017
3
2021-03-14
liunx系统创建并运行实战一个c程序及常用指令指导
{mtitle}liunx系统运行实战一个c程序{/mtitle} 学习liunx系统有利于嵌入式、云服务器等学习。 下面我们实战创建并运行一个三角图形c程序 首先 su rooot 进入超级管理员模式 如果你没有超级管理员账号,想搞一个可以看本站嵌入式其他帖子创建永久超级管理员账号办法,或者按课本上代码临时进入root模式 然后输入 ls 指令查看目录 然后输入 cd 你选的目录名 创建c程序 vim test.c 键盘“a”键可以直接进入编辑模式 输入代码例如: #include <stdio.h> int main() { int i,j,n; printf("input ranks n\n"); scanf("%d",&n); for(i=0;i<n;i++) { for(j=0;j<n-i-1;j++) printf(" "); for(j=0;j<=i;j++) printf("*"); printf("\n"); } return 0; }或者更换 for(i=0;i<n;i++) { for(j=0;j<n-i-1;j++) printf(" "); for(j=n-i-1;j<n;j++) printf("*"); printf("\n"); }输入完C代码后,记得“ESC”键切换,输入“:wq”保存退出 然后gcc test.c 打完gcc test.c编译完C源文件。然后就可以看见a.out的文件。一般linux系统就默认为a.out为编译完的文件。现在运行a.out文件。在a.out文件的目录下打开终端并输入 ./a.out 就是运行文件了。 示例图解: 图片 对于回文数可以参考下面代码,我们不妨先取倒序,将本数先输出,再输出倒序数则生成回文数。要让计算的结果倒序输出.现总结一下思路: 1.如果要把一个数倒序输出,即对10求模,可以得到尾数; 2.然后将这个数除以10;这样个位就被舍去;然后如此循环即可 3.直到求模结果为0;证明这个数已经求到个位; #include <stdio.h> int main() { int h; printf("Enter the number\n"); scanf("%d",&h); if(h==0) { printf("%d",h); } printf("%d",h); while(h>0) { printf("%d",h%10); h=h/10; } return 0; } 参考图例: 回文数图片 {mtitle}Linux基本命令{/mtitle} uname -a 查看内核版本 ls -al 显示所有文件的属性 pwd 显示当前路径 cd - 返回上一次目录 cd ~ 返回主目录 date s 设置时间、日期 cal 显示日历 cal 2006 bc 计算器具 man & info 帮助手册 locale 显示当前字体 locale -a 所有可用字体 /etc/sysconfig/i18n设置文件 LANG=en 使用英文字体 sync 将数据同步写入硬盘 shutdonw -h now & half & poweroff 关机 reboot 重启 startx & init 5 进入图形介面 /work & ?work 向上、下查找文档内容 chgrp 改变档案群组 chgrp testing install.log chown 改变所属人 chown root:root install.log chmod 改变属性 chmod 777 install.log read=4 write=2 execute=1 cp 复制 cp filename rm 删除文件 rm -rf filename 强制删除文件 rmdir 删除文件夹 mv 移动 mv 123.txt 222.txt 重命名 mkdir 创建文件夹 touch 创建文件 更新当前时间 cat 由第一行开始显示 cat |more 分页 nl 在内容前加行号 more & less 一面一面翻动 head -n filename 显示第N行内容 tail -n filename 显示后N行内容 od 显示非纯文档 df -h 显示分区空间 du 显示目录或文件的大小 fdisk 分区设置 fdisk -l /dev/hda 显示硬盘分区状态 mkfs 建立各种文件系统 mkfs -t ext3 /dev/ram15 fsck 检查和修复LINUX档案 ln 硬链接 ln -s 软件链接 whereis 查找命令 locate 查找 find 查找 find / -name "." which 查看工具 whoami 显示当前用户 gcc -v 查看GCC版本 chattr +i filename 禁止删除 chattr -i filename 取消禁止 lsattr 显示隐藏档属性 updatedb 更新资料库 mke2fs 格式化 mkfs -t ext3 dd if=/etc/passwd of=/tmp/passwd.bak 备份 mount 列出系统所有的分区 mount -t iso9660 /dev/cdrom /mnt/cdrom 挂载光盘 mount -t vfat /dev/fd0 /mnt/floppy 挂载软盘 mount -t vfat -o iocharset=utf8,umask=000 /dev/hda2 /mnt/hda2 挂载fat32分区 mount -t ntfs -o nls=utf8,umask=000 /dev/hda3 /mnt/hda3 挂载ntfs分区 umount /mnt/hda3 缷载 ifconfig 显示或设置网络设备 service network restart 重启网卡 ifdown eth0 关闭网卡 ifup eth0 开启网卡 clear 清屏 history 历史记录 !55 执行第55个指令 stty 设置终端 stty -a fdisk /mbr 删除GRUB at 僅進行一次的工作排程 crontab 循環執行的例行性命令 [e]编辑,[l]显示,[r]删除任务 & 后台运行程序 tar -zxvf 123.tar.gz & --------->后台运行 jobs 观看后台暂停的程序 jobs -l fg 将后台程序调到前台 fg n ------>n是数字,可以指定进行那个程序 bg 让工作在后台运行 kill 结束进程 kill -9 PID [9]强制结束,[15]正常结束,[l]列出可用的kill信号 ps aux 查看后台程序 top 查看后台程序 top -d 2 每两秒更新一次 top -d 2 -p10604 观看某个PID top -b -n 2 > /tmp/top.txt ----->將 top 的資訊進行 2 次,然後將結果輸出到 /tmp/top.txt pstree 以树状图显示程序 [A]以 ASCII 來連接, [u]列出PID, [p]列出帐号 killall 要刪除某個服務 killall -9 httpd free 显示内存状态 free -m -------->以M为单位显示 uptime 显示目前系统开机时间 netstat 显示网络状态 netstat -tulnp------>找出目前系統上已在監聽的網路連線及其 PID dmesg 显示开机信息 demsg | more nice 设置优先权 nice -n -5 vi & ----->用 root 給一個 nice 植為 -5 ,用於執行 vi renice 调整已存在优先权 runlevel 显示目前的runlevel depmod 分析可载入模块的相依性 lsmod 显示已载入系统的模块 modinfo 显示kernel模块的信息 insmod 载入模块 modprobe 自动处理可载入模块 rmmod 删除模块 chkconfig 检查,设置系统的各种服务 chkconfig --list ----->列出各项服务状态 ntsysv 设置系统的各种服务 cpio 备份文件 压缩命令: *.Z compress 程式壓縮的檔案; *.bz2 bzip2 程式壓縮的檔案; *.gz gzip 程式壓縮的檔案; *.tar tar 程式打包的資料,並沒有壓縮過; *.tar.gz tar 程式打包的檔案,其中並且經過 gzip 的壓縮 compress filename 压缩文件 加[-d]解压 uncompress gzip filename 压缩 加[-d]解压 zcat 123.gz 查看压缩文件内容 bzip2 -z filename 压缩 加[-d]解压 bzcat filename.bz2 查看压缩文件内容 tar -cvf /home/123.tar /etc 打包,不压缩 tar -xvf 123.tar 解开包 tar -zxvf /home/123.tar.gz 以gzip解压 tar -jxvf /home/123.tar.bz2 以bzip2解压 tar -ztvf /tmp/etc.tar.gz 查看tar内容 cpio -covB > [file|device] 份份 cpio -icduv < [file|device] 还原 深圳-广州-郑州-长沙嵌入式系统实训,凡通过本帖添加咨询报名学习可免费赠送学习现金卷及学习资料一份。详情联系郭老师QQ754634522 vi一般用法 一般模式 编辑模式 指令模式 h 左 a,i,r,o,A,I,R,O :w 保存 j 下 进入编辑模式 :w! 强制保存 k 上 dd 删除光标当前行 :q! 不保存离开 l 右 ndd 删除n行 :wq! 保存后离开 0 移动到行首 yy 复制当前行 :e! 还原原始档 $ 移动到行尾 nyy 复制n行 :w filename 另存为 H 屏幕最上 p,P 粘贴 :set nu 设置行号 M 屏幕中央 u 撤消 :set nonu 取消行号 L 屏幕最下 [Ctrl]+r 重做上一个动作 ZZ 保存离开 G 档案最后一行 [ctrl]+z 暂停退出 :set nohlsearch 永久地关闭高亮显示 /work 向下搜索 :sp 同时打开两个文档 ?work 向上搜索 [Ctrl]+w 两个文档设换 gg 移动到档案第一行 :nohlsearch 暂时关闭高亮显示 认识SHELL alias 显示当前所有的命令别名 alias lm="ls -al" 命令别名 unalias lm 取消命令别名 type 类似which exprot 设置或显示环境变量 exprot PATH="$PATH":/sbin 添加/sbin入PATH路径 echo $PATH 显示PATH路径 bash 进入子程序 name=yang 设定变量 unset name 取消变量 echo $name 显示变量的内容 myname="$name its me" & myname='$name its me' 单引号时$name失去变量内容
嵌入式&系统
# 嵌入式
刘航宇
5年前
2
498
2
2021-03-09
虚拟语气特殊用法及考点分析
虚拟语气特殊用法 1)以下情况从句用“should + v原型.”表示虚拟,并且 should 可以省略。 以防in case,lest,forfear that 命令order,direct,command 建议advise,suggest,propose 要求ask,request,demand,require 用虚拟是必要的 举例 • 以防得传染病,你最好呆在家里。 In case that you should develop fatal infections,you had better stay at home. • 我应该参加更多的活动是非常重要的。 It seems crucial that more activities should be attended show myself. • 老师要求我们交研究报告。 The teacher asks that we should had 2) 以下情况从句用过去时表示虚拟 常见的有两个:would rather 和 It is high time that… 举例 • 是时候培养孩子的独立性了。 The independence of kids should were cultivated by senior citizens. 3) 以下情况要区别对待 把本来的时态变成相应的过去时就行了。 常见的词有:wish; if only; but for; or/otherwise; as if/as though 等 举例 • 如果我是你的孩子该多好啊。 If only I were your child. If only I had been your child. 考点分析 1) 写作 举例 • 对于普通市民来说,保护小区环境,不乱丢垃圾是非常必要的。 It is important that the community environment should be protected and rubbish be never dumped for the common. 2) 长难句分析 虚拟语气和非虚拟语气都是直接翻译 练习 • If that happened, passionate consumers would try to persuade others to boycott products, putting the reputation of the target company at risk. 如果这种情况发生,激情的消费者会尝试劝说其他人,抵制这种产品,使目标公司荣誉受到破坏。 • The millions of calculations involved, had they been done by hand, would have lost all practical value by the time they were finished. 如果用手工计算,等他们结束时候,所涉及的数百万次计算将会失去他的存在价值
我的随笔
刘航宇
5年前
0
617
2
上一页
1
2