Questions tagged [command-line]

This tag is for questions that are about using the command-line interface (CLI), including the use of standard command-line tools and shell commands. However, for questions that are specific to each shell (like Bash, ZSH etc.), use the tag of that particular shell as well.

Filter by
Sorted by
Tagged with
1 vote
0 answers
16 views

How to make ports listening with the ncat command in a script since i always times out?

This is the script opening multiple ports. However without me doing a single thing it times out after a while. How can i make the scripts stay open indefinitely or atleast for a long time. Would ...
Samir Fink's user avatar
0 votes
0 answers
24 views

I cannot open anaconda navigator in Ubuntu

Can anyone give me a suggestion to solve this problem? I installed Anaconda in Ubuntu and ran anaconda-navigator but it doesn't work and shows this error: Thanks so much for your help.
Giang Hoàng's user avatar
2 votes
1 answer
216 views

What's wrong with my use of the netcat command?

I can run this netcat command to listen to ports only when I'm listing a single port, for example: sudo ncat -lp 80 -w 10 However when I attempt to enter multiple port numbers it says the port number ...
Samir Fink's user avatar
0 votes
0 answers
24 views

Can I enable Wayland sharing from the command line?

Is there any way to enable Wayland sharing from the command line? When I try to access Ubuntu 22.04 LTS with Teamviewer it's blocked because of this popup on the target: Note that removing a monitor ...
parsley72's user avatar
  • 368
0 votes
0 answers
17 views

virt-manager Error connecting to graphical console

I've had this problem now for several months and haven't been able to find a suitable solution. When searching I find a lot of very old posts about the problem but none seem to related. Mostly talk ...
FeedTheChunk's user avatar
-1 votes
0 answers
24 views

gio set command don't work for root user

On Ubuntu 23.10.8. I'm trying to do the same as right-clicking on the file and clicking 'Allow Launching' pragmatically in my bash script. And command: gio set /home/myUser/Desktop/"$app_name&...
Bondar Anton's user avatar
-1 votes
0 answers
13 views

How to add indic lauage like hindi bengali on ubuntu 22.04

I have already installed wine, .NET SDK & .NET Runtime on Ubuntu. But Indic Hindi.exe file not running on terminal. I also want to run .exe file for Bengali language.
Raktim Mitra's user avatar
1 vote
1 answer
18 views

Fixing title of xterm even during editing a file inside it

To write a document I need to put a picture that I can capture from the screen. The picture is supposed to have an xterm which displayout uart output during rtl simulation. But I didn't capture it ...
Chan Kim's user avatar
  • 1,981
0 votes
0 answers
55 views

How do I call an executable as root without the need of using sudo?

I've created an app that also uses TPM for signing/encryption/decryption (with the tss2-fapi library)... But I am a newbie when it comes to Linux (Ubuntu) permissions. Now, when I am running the app I ...
Croksie's user avatar
0 votes
0 answers
25 views

Adding ++ctrl+enter++ key combination in bash (to allow for nvim enter key combinations)

I'm trying to make the ++ctrl+enter+ key work in nvim to be able to create a new line above in incert mode without leaving <ESC>oi similar to vscode but the following don't work: keymap("i&...
Mike's user avatar
  • 11
5 votes
2 answers
499 views

What is the signal sent when the charger is unplugged/plugged

I would like to know which signal is sent to the kernel when I unplug my laptop. I need this information to make a program to switch my power mode automatically. I am currently on Ubuntu 23.10.
Stanislas Martin's user avatar
0 votes
2 answers
50 views

Installing Java

I am trying to install Java. but I am getting following Issue: - I downloaded jdk-8u201-linux-i586.tar.gz from oracle web site. Then I created directories as sudo mkdir /usr/local/java After that i ...
khushvinder singh Jasrotia's user avatar
0 votes
0 answers
16 views

I have a problem with the Java path on my computer not being compatible with the bucket dependencies for Gradle Android Studio

Unsupported Java Your build is currently configured to use Java 20.0.1 and Gradle 8.0
Zozo Zizi's user avatar
-2 votes
0 answers
30 views

Cannot access the serial port of YDLIDAR SDM15 in Ubuntu [closed]

I'm not able to access the serial port for the tool of YDLIDAR SDM15 lidar sensor in Ubuntu. I also tried running the Wine code in root mode in the terminal.
Vijith s's user avatar
0 votes
0 answers
32 views

Remove docx metadata with Linux command line? [duplicate]

How to delete hidden information (metadata) from a Microsoft Word document (.docx) on a Linux system using terminal commands. Can any suggest me some good tools for that as exiftool not supported docx ...
Pratham's user avatar
-1 votes
1 answer
51 views

My terminal prompt is "PC%" - How can I fix this? [duplicate]

My terminal prompt looks like this: PC% How can I fix this? Here is picture of my terminal.
Hayk Ghazaryan's user avatar
0 votes
1 answer
58 views

How do I find files of a certain extension(s) except in paths that contain certain strings and then print the result to a file?

Upon a little search, I came up with this command: > find . -type f \( -name "*.exe" \) | egrep -v > 'games_1|rei|games|tor|jogos|mods|text' > 1 What I wanted to do was find files ...
Nuno Fonseca's user avatar
0 votes
0 answers
69 views

Nmcli and nmtui can't read password for wifi network

Ubuntu 23.10 here. When using Network Manager in KDE, I can connect to the wifi network via the Network Manager applet. Connections are saved with passwords so I don't need to enter a password for ...
QkiZ's user avatar
  • 1,225
0 votes
1 answer
48 views

Mail command line

I am using a application called Mail but i can't send to my own email-adresses? But i can't send any emails what is wrong? mail -s "Test Email" [email protected] Cc: Testing jonathan@jonathan-...
Jonte YH's user avatar
  • 1,961
0 votes
0 answers
19 views

Shell script doesn't recognize Python even after setting its path [duplicate]

I'm having trouble calling Python code from a shell script on Ubuntu. First of all, I confirm that Python is installed: username@Ubuntu22:~/Documents/Script$ python Python 3.10.12 (main, Nov 20 2023, ...
Ogiad's user avatar
  • 1
-1 votes
0 answers
32 views

How to access this device in order to delete some files [duplicate]

I run a dedicated root server and its space got full. I'm trying to access that device in order to clear up some files, but I don't know how to get in without cd. I'm trying to cd into /dev/md2
real vgi real_vgi's user avatar
1 vote
1 answer
164 views

Bash terminal has become extremely slow. 22.04 [duplicate]

My bash terminal has become extremely slow, I until 22.04. I don't have any extensions installed but I think it might be related to some form of auto complete/search. Additionally gnome-shell has high ...
FourierFlux's user avatar
0 votes
0 answers
29 views

Error when trying to use the `sudo apt update` command [duplicate]

I am trying to use the sudo apt update command, but I keep getting the following error: N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-...
user1777569's user avatar
0 votes
0 answers
53 views

Regarding backup of Ubuntu account [duplicate]

I have deleted my Ubuntu account. But now I want to restore it. I have deleted it using the userdel command. How can I get back my account? I did not use any options like -r --remove.
21CSB0B07 B BHARADWAJ's user avatar
1 vote
1 answer
85 views

How do I create partitions on Ubuntu Server?

Does anybody know how I am supposed to create a partition? I've tried to create one on SDA, but nothing happens, It just errors out saying: Permission Denied I am using a "Dell PowerEdge R610&...
Windows_XP's user avatar
0 votes
0 answers
38 views

Why does xterm output regulartly freeze, and how to fix it?

I use xterm in Ubuntu desktop 22.04. For some reason, the output from xterm regularly freeze, and I have to press a key to unfreeze it. It is quite easy to reproduce by just running a simple command ...
Mikael Ståldal's user avatar
0 votes
1 answer
33 views

Where is the documentation that describes and explains the output of the ip link command?

Here is some fake/sample output of the ip link command. 2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000 3: eno1: <NO-CARRIER,...
raul's user avatar
  • 131
-1 votes
0 answers
13 views

i am getting this error in the terminal when i do (sudo apt-get update) [duplicate]

i am getting this error in terminal about the update about the package architecture some recommeded to remove i386 but i don't want to since 32bit is important if there is any way to fix this please ...
Siva Karthik's user avatar
-4 votes
1 answer
112 views

What Makes pgrep Utility Unique Despite ps | grep Availability? [closed]

Could someone please explain the purpose of the pgrep utility when it seems like its functionality can be replaced with ps | grep? P.S. My teacher assigned me this question and asked me to explain why ...
gsagagsa's user avatar
0 votes
0 answers
31 views

Why My WSL virtual disk ext4.vhdx comes into 0 KB? [closed]

My windows crashed. So I want to access my WSL2/Ubuntu 22.04 virtual disk to backup some .rc config files in it. But I found the ext4.vhdx of it is 0kb. Try to mount I tried some commands to mount it ...
VOCALOID's user avatar
0 votes
0 answers
28 views

Problem while compiling git repo

I'm trying to compile a git repository of a bioinformatics package (https://github.com/MBoemo/DNAscent) and I have been running into some problems and was hoping somebody could help with this. I'm ...
Tyhalj's user avatar
  • 11
2 votes
2 answers
435 views

How to replace a file path with whitespace using sed?

I have many different files with a string in them. I need to replace this string with a path, although the path contains whitespace. So far, I have this: for a in files_[a-z][a-z]_all\.conf ; do ...
Spaghetti's user avatar
-1 votes
0 answers
20 views

CloudStack on Ubuntu [duplicate]

E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/n/ntp/ntp_4.2.8p15%2bdfsg-1ubuntu2_amd64.deb Temporary failure resolving 'in.archive.ubuntu.com'
Anushka kriti's user avatar
0 votes
0 answers
49 views

Ubuntu Docker containers not retaining the history (After stop and start command)

I have recently started playing with containers but I have noticed an issue that the history does not persist after I stop and start the container (Note:- not build it). I also made a directory to ...
Mubeen's user avatar
  • 21
0 votes
0 answers
48 views

Installing kwin window manager isn't working

When I run the command: sudo apt install kwin-x11 --no-install-recommends it says this: The following packages have unmet dependencies:    libkf5newstuff5 : Depends on: libkf5newstuffcore5 (= 5.92.0-...
Musa's user avatar
  • 1
2 votes
1 answer
614 views

How to solve the response of my terminal that works very slow and badly? [duplicate]

The problem is that my terminals not work great anymore. The typing is very bad in terminal and each command response not if I press a key. Sometimes the command runs but it ends not, but when I hit ...
Cl4udi4's user avatar
  • 21
0 votes
0 answers
62 views

CLI alternative(s) to UbuntuStudio Controls? (20.04.3 LTS)

I run UbuntuStudio 20.04.3 on a somewhat old Macbook (2013), and was listening to some music through my external SuperDrive, which I doubt is as relevant as what I was using for sound output: ...
baudoinia's user avatar
-2 votes
0 answers
58 views

How to deal with "one of the commands exit with non-zero exit code" [closed]

I've been confused about the error message: one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode! Snakefile parameters: Shell command: This is the definition ...
sybil's user avatar
  • 1
-1 votes
0 answers
58 views

Cannot install/uninstall tweak in sileo? [closed]

I have a problem in my Sileo. Now I cannot install or uninstall any tweak in Sileo.
Bất Khả Chiến Bại's user avatar
-4 votes
0 answers
41 views

How to convert a folder with images with the extension .tmp (for some reason) to jpg, in Ubuntu 22.04? [duplicate]

I searched the web for a solution and I was greeted with the following errors in the Ubuntu terminal, when using the following commands: convert *.tmp *.jpeg convert-im6.q16: unable to open image `*....
Nuno Fonseca's user avatar
-1 votes
0 answers
24 views

Multicraft Daemon not being found

I'm running Ubuntu 23.10 on my PI 5. Here is the screenshot of the Multicraft Panel window: Here is the Daemon Message: quickmash@raspberrypi:~/multicraft/bin$ sudo ./multicraft start Multicraft 2.5....
QuickMash's user avatar
0 votes
0 answers
31 views

Mark previous notification from list as read?

I am running a service that will notify as frequently as every 5 minutes on condition. These notifications are important, but in addition to every popup, I only ever want to see the most recent ...
saltyeggs's user avatar
45 votes
5 answers
8k views

input delay on Terminal Ubuntu 22.04.4

I have been using Ubuntu since Christmas, and just recently I have been receiving delayed input while using the Ubuntu terminal. It especially takes affect when using vim or man commands, which is ...
Oeshen Playz1036's user avatar
0 votes
1 answer
50 views

Password doesn't work if type too fast [closed]

So basically when I type my user password I HAVE to type it pretty slow for it to register, e.g. ~sudo, it says "Sorry, try again" but when i type it slowly it accepts the password. I think ...
TrapVegeta's user avatar
2 votes
0 answers
63 views

id3v2 reports "No ID3 tag" on MP3 file but VLC shows tags on same file

On my NAS I have a lot of MP3 files ripped from audio CDs I own and tagged with EasyTAG. The tags show just fine when playing the files in VLC. EasyTAG also shows them correctly when opening the files ...
Tilman's user avatar
  • 3,614
-3 votes
0 answers
63 views

Every time I tried to install through terminal this pop-up comes up. English language is not there [closed]

Every time I try to install through terminal this pop-up appears. English language is not there.
Tuhin Sarkar's user avatar
0 votes
0 answers
21 views

Ways to disconnect or connect power cable with a command without physically unplugging it in Ubuntu?

On ubuntu 20.04, I start looking for ways to automate the charging period of a laptop, this means that the power cable stays always plugged in, but the system must effectively internally disconnect or ...
fany's user avatar
  • 11
0 votes
0 answers
29 views

uninstalling angular globally doesn't work

How can I fully uninstall angular in Ubuntu 22.04? (dimo-labeling) (dimo-labeling) mona@ada:~/dimo-labeling/frontend$ npm uninstall -g @angular/cli up to date in 164ms (dimo-labeling) (dimo-labeling) ...
Mona Jalal's user avatar
  • 4,545
1 vote
0 answers
65 views

Can't open nautilus in home path

I'm unable to open Nautilus or Nemo in my home directory. Behavior: They crash immediately upon opening (when the default home path is opened). However, I can use other paths. For example, nautilus ~/...
VOCALOID's user avatar
0 votes
0 answers
42 views

Ubuntu boot errors

I'm a new Ubuntu user (I'm just starting out), and after spending hours and hours configuring my system, I noticed that my PC was taking much longer to shut down (not even 5 seconds at first, compared ...
Gybbs's user avatar
  • 1

1
2 3 4 5
451