AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-659050

Sanjay Prajapat's questions

Martin Hope
Sanjay Prajapat
Asked: 2020-05-16 05:29:30 +0800 CST

如何在 Ubuntu 20.04 启动时禁用 grub 菜单?

  • 7

我已经在 Windows 旁边安装了 Ubuntu 20.04。当我启动系统时,它会显示 grub 菜单 10 秒钟以在 Ubuntu 和 Windows 之间进行选择。我不想要那个菜单,只想在按下电源按钮后立即启动它。我查看了这个线程并添加GRUB_HIDDEN_TIMEOUT_QUIET=true 甚至更改GRUB_TIMEOUT为0然后运行sudo update-grub。但它没有用,菜单仍然在启动时显示。这是我的/etc/default/grub文件-

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

如何禁用它?

grub2 boot dual-boot 20.04
  • 2 个回答
  • 15841 Views
Martin Hope
Sanjay Prajapat
Asked: 2020-03-07 05:46:16 +0800 CST

“echo $?”的别名 不工作

  • 0

我正在尝试为其echo $?返回最近执行的命令的退出状态设置别名。我已经投入alias status="echo $?"了~/.bashrc。但它不起作用,它总是返回 0。

user@host:~$ lll
bash: lll: command not found
user@host:~$ echo $?
127
user@host:~$ lll
bash: lll: command not found
user@host:~$ status
0
user@host:~$ 

如何为此设置别名。

command-line bash alias
  • 1 个回答
  • 886 Views
Martin Hope
Sanjay Prajapat
Asked: 2018-03-19 11:33:55 +0800 CST

从命令行拨打 Skype 电话

  • 3

我正在使用 skypeforlinux(版本 8.17.0.2),我想使用命令行拨打号码,我试过skypeforlinux --callto: +91XXXXXXXXXX了,但它不起作用(它只是打开 skype)。

command-line skype
  • 2 个回答
  • 1964 Views
Martin Hope
Sanjay Prajapat
Asked: 2017-08-29 10:38:29 +0800 CST

如何使用 ufw 阻止 HTTP 和 HTTPS?

  • 0

我安装了Ubuntu 16.04 LTS,我想使用ufw拒绝HTTP和HTTPS请求。

我启用了ufw并使用这些命令设置防火墙规则 ~>

sudo ufw deny http

和

 sudo ufw deny https

但是当我在浏览器(谷歌浏览器)中打开一个网站(http/https)时,它们工作正常,我想阻止它们。

我怎样才能做到这一点 ?

https
  • 1 个回答
  • 7797 Views
Martin Hope
Sanjay Prajapat
Asked: 2017-07-18 11:26:58 +0800 CST

如何同时在多台 Ubuntu 机器上播放音乐?

  • 4

我的笔记本电脑上安装了 Ubuntu 16.04。我想同时在其他 Ubuntu 笔记本电脑上播放音乐,包括我的。所有笔记本电脑都通过局域网连接。

如果许多笔记本电脑不可能,那么在多台笔记本电脑上播放音频的任何方法都会非常有帮助。

sound
  • 1 个回答
  • 168 Views
Martin Hope
Sanjay Prajapat
Asked: 2017-05-28 06:04:27 +0800 CST

如何在 Ubuntu 16.04 中完全禁用统一启动器?[复制]

  • 2
这个问题在这里已经有了答案:
在没有启动器的情况下编译 Unity 1 个答案
4年前关闭。

我正在使用plank dock,所以我想在 ubuntu 16.04 中完全禁用统一启动器。

我使用了自动隐藏方法并将显示压力设置得非常高。但是这种方法有两个问题:

  1. 当我通过按键打开统一破折号Super时,启动器显示.

  2. 当我最小化应用程序时,应用程序图标会从隐藏启动器的左侧弹出。

我想完全禁用它。

unity
  • 3 个回答
  • 7893 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve