首页 \ 问答 \ linux中的常用命令

linux中的常用命令

更新时间:2023-07-01 17:07

最满意答案

在使用sublime text 3的时候,有自动更新的话再打开的时候总是提醒更新,这让我这个强迫症重度患者非常难受,要取消自动检查更新,点击菜单栏“Preferences”=> "Settings-User"将里面修改为如下:
{
    "color_scheme": "Packages/Colorcoder/Monokai (Colorcoded).tmTheme",
    "font_size": 17,
    "ignored_packages":
    [
    ],
    "update_check": false,
}

其他回答

安装方法1:
通过apt-get install来安装,可以如下来做:

sudo add-apt-repository ppa:webupd8team/sublime-text-2

sudo apt-get update

sudo apt-get install sublime-text-2

安装方法2:

1.官网下载安装包 

2.解压并不难,随便找个目录解压就行,但考虑到后面要能在命令行下方便的快速启动,推荐解压到/usr/lib/目录下,我用的方法是先解压后搬移,命令如下:

tar -xvf sublime\ text\ 2.0.1.tar.bz2

mv sublime\ text\ 2 /usr/lib/

其中的\为转义符

这样做是因为$path这个环境变量自动涵盖了/usr/lib这个目录,不用专门去修改环境变量。

然后键入:

相关问答

更多
  • 不需要安装,去官网下载解压缩,运行sublime_text主程序就行了。
  • 安装方法1: 通过apt-get install来安装,可以如下来做: sudo add-apt-repository ppa:webupd8team/sublime-text-2 sudo apt-get update sudo apt-get install sublime-text-2 安装方法2: 1.官网下载安装包 2.解压并不难,随便找个目录解压就行,但考虑到后面要能在命令行下方便的快速启动,推荐解压到/usr/lib/目录下,我用的方法是先解压后搬移,命令如下: tar -xvf Sublim ...
  • 在使用sublime text 3的时候,有自动更新的话再打开的时候总是提醒更新,这让我这个强迫症重度患者非常难受,要取消自动检查更新,点击菜单栏“Preferences”=> "Settings-User"将里面修改为如下: { "color_scheme": "Packages/Colorcoder/Monokai (Colorcoded).tmTheme", "font_size": 17, "ignored_packages": [ ], "update_check": false, }
  • 这是因为您在主文件夹内的“bin”目录中安装了sublime。 这个'bin'目录不在你的路径中,你的shell在那里找不到sublime。 这个问题有几个解决方案,但一个简单的方法是将'〜/ bin'目录添加到您的路径中。 要做到这一点,只需编辑你的文件〜/ .bashrc(假设你正在使用bash)或〜/ .profile(如果你使用任何其他shell)并添加以下行: export PATH="$PATH:$HOME/bin" 重新启动shell或只是打电话 source .bashrc 如果这个答案对您 ...
  • 暂时尝试将构建系统设置为以下内容: { "cmd": ["C:/Program Files/nodejs/node.exe", "$file"], "file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", "selector": "source.js", "shell":true, } 因为您有一个特定于Windows的部分,所以它在构建系统的第一行上运行而不是"cmd" 。 我怀疑taskkill命令存在某种问题。 如果这确实有效,并且您 ...
  • 我花了一段时间来弄明白这一点,但...... 在Linux中,第4个鼠标按钮不一定被“button4”引用。 实际上在我的系统上,第4个鼠标按钮被“button8”引用。 所有需要的是在我使用“button4”之前使用“button8”。 [ // Map column selection to 4th mouse button ("button8"). { "button": "button8", "press_command": "drag_select" ...
  • --- - hosts: all vars: - my_pkgs: - sublime-text - google-chrome-stable tasks: - name: Install GPG key for SubLimeText apt_key: url: https://download.sublimetext.com/sublimehq-pub.gpg state: present - name: Add spe ...
  • 您的问题是sublimetext构建不能接受用户输入 - 没有连接输入流。 你的Python版本无关紧要。 但是,可以编写一个插件来获取输入! 至于配置文件,只需使用“首选项 - >浏览包”菜单项。 Your problem is that the sublimetext builds cannot take user input - there is no input stream connected. Your Python version is irrelevant. However, it's po ...
  • 我不确定究竟是什么问题,这里有你可以尝试的事情。 0.重新检查 Sublime text 2只在linux和windows上调用python -u $file 。 我会先仔细检查这个命令是否适用于新的cmd窗口。 1.补丁exec.py 在Windows系统上,隐藏了构建过程打开的新窗口。 这会停止GUI,也许python终端不会出现。 您可以通过注释第33行来禁用此修补Packages\Default\exec.py : startupinfo.dwFlags |= subprocess.STARTF_U ...
  • 通过将这些覆盖添加到我的用户键盘映射解决了这个问题: { "keys": ["shift+alt+7"], "command": "insert", "args": {"characters": "\\"} }, { "keys": ["shift+alt+8"], "command": "insert", "args": {"characters": "{"} }, { "keys": ["shift+alt+9"], "command": "insert", "args": {"characters": ...

相关文章

更多

最新问答

更多
  • 如何在Laravel 5.2中使用paginate与关系?(How to use paginate with relationships in Laravel 5.2?)
  • linux的常用命令干什么用的
  • 由于有四个新控制器,Auth刀片是否有任何变化?(Are there any changes in Auth blades due to four new controllers?)
  • 如何交换返回集中的行?(How to swap rows in a return set?)
  • 在ios 7中的UITableView部分周围绘制边界线(draw borderline around UITableView section in ios 7)
  • 使用Boost.Spirit Qi和Lex时的空白队长(Whitespace skipper when using Boost.Spirit Qi and Lex)
  • Java中的不可变类(Immutable class in Java)
  • WordPress发布查询(WordPress post query)
  • 如何在关系数据库中存储与IPv6兼容的地址(How to store IPv6-compatible address in a relational database)
  • 是否可以检查对象值的条件并返回密钥?(Is it possible to check the condition of a value of an object and JUST return the key?)
  • GEP分段错误LLVM C ++ API(GEP segmentation fault LLVM C++ API)
  • 绑定属性设置器未被调用(Bound Property Setter not getting Called)
  • linux ubuntu14.04版没有那个文件或目录
  • 如何使用JSF EL表达式在param中迭代变量(How to iterate over variable in param using JSF EL expression)
  • 是否有可能在WPF中的一个单独的进程中隔离一些控件?(Is it possible to isolate some controls in a separate process in WPF?)
  • 使用Python 2.7的MSI安装的默认安装目录是什么?(What is the default installation directory with an MSI install of Python 2.7?)
  • 寻求多次出现的表达式(Seeking for more than one occurrence of an expression)
  • ckeditor config.protectedSource不适用于editor.insertHtml上的html元素属性(ckeditor config.protectedSource dont work for html element attributes on editor.insertHtml)
  • linux只知道文件名,不知道在哪个目录,怎么找到文件所在目录
  • Actionscript:检查字符串是否包含域或子域(Actionscript: check if string contains domain or subdomain)
  • 将CouchDB与AJAX一起使用是否安全?(Is it safe to use CouchDB with AJAX?)
  • 懒惰地初始化AutoMapper(Lazily initializing AutoMapper)
  • 使用hasclass为多个div与一个按钮问题(using hasclass for multiple divs with one button Problems)
  • Windows Phone 7:检查资源是否存在(Windows Phone 7: Check If Resource Exists)
  • 无法在新线程中从FREContext调用getActivity()?(Can't call getActivity() from FREContext in a new thread?)
  • 在Alpine上升级到postgres96(/ usr / bin / pg_dump:没有这样的文件或目录)(Upgrade to postgres96 on Alpine (/usr/bin/pg_dump: No such file or directory))
  • 如何按部门显示报告(How to display a report by Department wise)
  • Facebook墙贴在需要访问令牌密钥后无法正常工作(Facebook wall post not working after access token key required)
  • Javascript - 如何在不擦除输入的情况下更改标签的innerText(Javascript - how to change innerText of label while not wiping out the input)
  • WooCommerce / WordPress - 不显示具有特定标题的产品(WooCommerce/WordPress - Products with specific titles are not displayed)