Skip to main content

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
0 votes
0 answers
12 views

MGLTools Segmentation Fault

I'm currently working as an intern for computational chemistry. One of the applications that we need is MGLTools which I installed using this website: https://bioconda.github.io/recipes/mgltools/...
Jacob Isaac Delfin's user avatar
0 votes
0 answers
10 views

How can I access my root directory to save file in ```/etc/environment/``` [duplicate]

while setting up java-jkd-22, I write the code sudo gedit /etc/environment/ in terminal, after authentication, I am getting this message Authorization required, but no authorization protocol specified ...
BHANU PRATAP SUTHAR's user avatar
0 votes
0 answers
10 views

error: externally-managed-environment [duplicate]

sudo pip3 install InquirerPy error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the ...
Sarthak Tiwari's user avatar
0 votes
1 answer
40 views

How do I change Ubuntu Server wifi ssid and password

I have Ubuntu server on an old laptop which I built at home connected to my home wifi. So this is a portable server and during the course of the day I change location and I need to connect to a new ...
Jim J'Kla's user avatar
-1 votes
1 answer
27 views

Konsole | How do I make a .json or a .sh file to open a tab with three terminals with root privileges?

I'm working with docker lately, and everything (or almost) you do in docker needs root privileges, and I end up always with the same layout in my Konsole: docker commands | docker logs ...
Carlos González's user avatar
0 votes
0 answers
14 views

Wine not properly uninstalled [duplicate]

So i installed wine a long time ago, However its pretty heavy so i decided to uninstall it. However, There's still a wine folder in the x86 64 linux gnu Folder: thearchcoder@thearchcoder-HP-EliteDesk-...
OSEnjoyer's user avatar
0 votes
0 answers
28 views

What to do when it gives a screen like this it needs commands

When I open my laptop it’s just this screen it seems like it wants commands, but I don’t know how to use commands to get to the login screen of my laptop.
Benjamin Powell's user avatar
0 votes
0 answers
10 views

How to use SDKMAN tools in a Kubuntu 24.04 linux box like SDKMAN gradle or groovy for instance to be used in desktop operations

Hi I have installed SDKMAN for JDK purpose, but found other tools like Gradle & Groovy. I want to use them in my gradle & groovy operations in my Kubuntu 24.04 laptop. What is the Linux ...
GPS's user avatar
  • 1
0 votes
0 answers
35 views

Can I know which is the correct command to upload the file to the Ubuntu server?

I am trying to upload the file using the terminal to the Ubuntu python3 virtual environment but I am below two getting error. 1. If I am not logged in using the terminal and trying to upload a file ...
user9437856's user avatar
-1 votes
1 answer
46 views

Why does the ls command output in Windows Terminal running Ubunt start with a ''$'\001''?' string in WSL2 using zsh?

I get an encoding issue with the ls command as seen here: When I change ~/.zshrc to have a LC_ALL in UTF8 encoding, the output changes to \001\357\277\275. What do I need to do to fix this?
Jake Nixon's user avatar
1 vote
0 answers
32 views

Changing bash doesn't work

I'm using Starship, but don't get the proper changes, and I have to run the command bash just to see the starship terminal. I want this to happen by default. I also have Tmux, when I load that, it ...
Fizcakez's user avatar
-1 votes
0 answers
16 views

Can´t execute on Ubuntu 22.04 Gnome version 42.9 sh files

I have created a file named Notebook.sh, but when I go to Preferences, I don't have the option Preferences -> Behavior -> Ask what to do, so I cannot directly open Jupyter Notebook by clicking ...
Ornella Gigante's user avatar
-3 votes
0 answers
52 views

How do I leave the "root" account [closed]

Problem: I am not signed into an account. Can someone help me with this? I have tried to use this: ubuntu config --default-user User but ended up lopsided.
user1848329's user avatar
-3 votes
1 answer
78 views

script does not work

I can successfully execute this command from the terminal: sudo cp -R -u "/media/gabriela/Windows/Data/Untitled Folder" /media/gabriela/USB But the following script does not work, with the ...
Gabriela Remow's user avatar
-1 votes
0 answers
53 views

Ubuntu 24.04 unable to enable dark theme

I can not enable dark theme on my newly installed ubuntu 24.04. I have tried bunch of techniques but nothing changes. Can I get some help?
AVIJIT JOY's user avatar
-1 votes
1 answer
91 views

find a file name using command line

I would like to determine the location of a file using command-line. I have tried: find ./tor.keyring I must be missing something here
Rye Moe's user avatar
0 votes
1 answer
23 views

"E: Unable to locate package VirtualBox" Error when I try to install virtualbox in command line

So first off I'm using Ubuntu 22.04LTS So I was going off this tutorial on how to install virtualbox https://www.geeksforgeeks.org/how-to-install-virtualbox-in-linux/ and it says to go in command line ...
SpaceX's user avatar
  • 37
0 votes
2 answers
130 views

How to use asterisk (*) in bash array

I want to stored all command args in an array but it only works when all args have no any (*). Here is a test without using array: mkdir -p /tmp/hello echo "hello" > /tmp/hello/hello.txt ...
stackbiz's user avatar
  • 393
0 votes
0 answers
26 views

Laptop updating by CMD

Can I fully upgrade or update my laptop by CMD like new Windows, sometimes I am unable to install it from Microsoft Windows and I haven't DVD disk or Bootable USB, So, am I able to do this in an ...
Atif Aziz's user avatar
2 votes
0 answers
34 views

Batch Conversion of MP4 to re-encode audio codec to MP3

I have 100s of MP4 videos that were ripped using using WinX DVD Ripper (Personal use only). However after I finished them my Samsung TV wouldn't play them without the sound disappearing ...
NoKnees's user avatar
  • 21
-1 votes
0 answers
26 views

Setup Static IP for USB Ethernet Adapter Ubuntu Server

im using a USB Ethernet Adapter for my machine and I would like to setup static IP for that. Ive been following tutorials from other sources but it only applies to cable ethernet. Im using Ubuntu ...
Vu Le therealvubeoo's user avatar
0 votes
0 answers
25 views

Ubuntu Server Wifi Issues

I am trying to set up an 24.04 LTS Ubuntu server. In the installation GUI, I was able connect to my WiFi. I have added my WiFi information to /etc/netplan/50-cloud-init.yaml file, and added the 99-...
Caeleth's user avatar
-1 votes
0 answers
25 views

is this a bug in ubuntu 22.04 lts [duplicate]

scenario when a pc runs ubuntu without root password set , then you can bypass the password of the user. by going to the grub menu and then recovery mode and then root shell prompt and then passwd [...
vijay hari's user avatar
0 votes
2 answers
154 views

Restart all systemctl services that starts with the letters "lc-"

I want to list all services that starts with the letters lc-. Then I want to restart them. How can I attchive this? I was thinking something like: systemctl -l | grep ?? | systemctl restart ???
Europa's user avatar
  • 213
0 votes
1 answer
26 views

Stuck in tty mode

I am stuck in tty mode in Ubuntu. Can't use apt install commands because internet does not work. How do I back to gui mode? Pressing Ctrl + Alt + F7 to switch directly to GUI mode does not work Ubuntu ...
kamazz's user avatar
  • 1
-2 votes
1 answer
29 views

Transmission Remote List magnets/URLs

I use transmission remote terminal command and I want to re-create the current state of my torrent files in other computer using a bash script. I want to create a bash script that will list all the ...
Federico De Rocco's user avatar
-1 votes
0 answers
29 views

My clickable .sh shell script keeps opening in text editor and does not run the command when clicked [duplicate]

I am trying to write a script that when clicked runs commands. For example: "open browser and go to website" etc. etc. Here is what I have done: I have ran chmod +x test.sh on the file I ...
F41k0r's user avatar
  • 1
0 votes
0 answers
18 views

Trouble checking system integrety with Aide "aide.wrapper: command not found"

I used the instructions found in website https://webhostinggeeks.com/howto/how-to-check-system-integrity-on-ubuntu/ and followed them successfully to a point. sudo apt update sudo apt upgrade sudo ...
old geezer's user avatar
-1 votes
0 answers
17 views

Ignore python flags for Task Spooler

I am using task Spooler and have flags in the command line to be able to add inputs through it. Is there a way to make spooler ignore this since currently I am getting an issue that it is an unknown ...
Nikita Belooussov's user avatar
-1 votes
0 answers
31 views

Make shell script output correctly [duplicate]

I am trying to run a shell script to get the PID details and sort them based on memory, while executing in the server. I am getting correct output like this: [inda@jump-server ~]$ ps -eo pid,ppid,cmd,%...
Hari's user avatar
  • 1
1 vote
1 answer
58 views

screen -Logfile option does not seem to work

I can do this: mkdir tmp cd tmp screen -L some_command and I get a screenlog.0 file in the local directory. But when I do this, no log exists: screen -Logfile /tmp/log.txt Giving a full filename ...
Ray Kiddy's user avatar
  • 188
-1 votes
0 answers
13 views

Wifi getting removed or networkmanager not working

I have downloded ubuntu currently on my laptop but there is a issue comming When ever I restart my laptop my wifi get hidden but after again restarting wifi icon comes back reason!
Aniket Jha's user avatar
0 votes
0 answers
32 views

Ufw output doesn't seem right

Is there any possible way that this command: sudo ufw status numbered would output: enabled because I can't think of any reason it would, but it did.
Kristen's user avatar
-1 votes
0 answers
50 views

Process only 2nd line from the utility output

The output of command line utility ./Utility -P consist of two rows of text. I use shell script to capture standard output from this sub shell and show it as notification use zenity: #!/bin/bash ...
Lexx Luxx's user avatar
  • 557
-1 votes
0 answers
51 views

Top command - 100% cpu

I've been using a script to create a log based from information i can get in top and then report when my app is using too much resources, to retrieve the cpu usage i take the entire line %Cpu(s): 13.6 ...
Cesar Chavana's user avatar
0 votes
0 answers
47 views

How to change from Greek keyboard layout in terminal / command line (Ubuntu 24.04)

My Ubuntu 24.04 installation is currently unstable and I want to carry out repairs in safe mode (command line). However, I'm unable to execute any commands because the terminal is stuck in Greek ...
Tapani Simojoki's user avatar
1 vote
1 answer
55 views

Ubuntu Terminal is not working the cursor is blinking

My terminal on Ubuntu is not working. The cursor is blinking, but I cannot type anything. What should I do to fix this issue?
isuri's user avatar
  • 13
15 votes
4 answers
3k views

Ubuntu Terminal with alternating colours for each line

I have poor eyesight that is getting worse and worse, and my work requires me to use a lot of terminal-based programmes with table-based outputs (see below). It can be very difficult to look at ...
Arianna's user avatar
  • 171
0 votes
1 answer
36 views

Shell script to get specific file names as string from particular directory which are modified before 1 day [closed]

I written shell script to get names of all the files that start with a certain name, as well as all the files that have been edited within the previous day. These file names should be assigned to a ...
Sanjay Surve's user avatar
-1 votes
0 answers
45 views

The sudo apt update command doesn't work

I just installed ubuntu and wanted to do this: sudo apt update But it showed the following errors:
Sobhan Saeedi's user avatar
-1 votes
1 answer
88 views

is there a default folder /etc/bin in ubuntu 24.04

I recently tried to move an executable to somewhere as part of the PATH and I accidentally renamed it and put it as /etc/bin instead of inside /etc/bin : sudo mv exec /etc/bin Now my /etc/bin is the ...
Kaki Master Of Time's user avatar
2 votes
1 answer
198 views

chmod responds cannot access

A command chmod -R 775 /home/den/backup/*.sh responds with No such file or directory I know there are shells within that structure, specifically some at /home/den/backup/shells What is wrong ...
quill's user avatar
  • 756
0 votes
1 answer
86 views

ls / hangs indefinitely

This problem started just today: I tried opening nautilus, and it didn't open. Then I opened ranger, and it didn't open. Dolphin also didn't work. Since I needed to do something on /etc, I just opened ...
Julio P.C.'s user avatar
8 votes
2 answers
4k views

VS Code not launching after incorrect command execution on Ubuntu 22.04

I'm experiencing an issue with Visual Studio Code on my Ubuntu 22.04 system. I accidentally executed an incorrect command in the terminal, and since then, VS Code hasn't been working properly. Here ...
Somar kn's user avatar
0 votes
0 answers
30 views

influxdb localhost:8086 Not found web console not opening

root@ABC-PF34ZK3G:~# influx Connected to http://localhost:8086 version 1.8.0 InfluxDB shell version: 1.6.7~rc0 i am able create table and query from table in ubuntu cmd promt But when try to open web ...
chiranth jain's user avatar
0 votes
1 answer
31 views

Terminal windown will not allow me to respond or continue

I had problems installing a package and was instructed in Terminal that: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. I then copy and paste this ...
old geezer's user avatar
1 vote
0 answers
59 views

nautilus file manager slowness on 22.04.4: Is this related to terminal issues?

I have noticed that since the issue of the terminal having slowness and delay (documented here) that I've also been seeing Nautilus File Manager issues where I click a folder and it takes a moment to ...
raddevus's user avatar
  • 1,858
-1 votes
1 answer
41 views

Problem verifying Ubuntu download

I try to follow the steps from https://ubuntu.com/tutorials/how-to-verify-ubuntu#1-overview to verify ubuntu desktop but im having issues. After i request the key from Ubuntu key server i inspect the ...
Xxale137xX's user avatar
3 votes
1 answer
135 views

How can I use Bourne shell on Ubuntu?

I want to use Bourne shell (not Bash) in Ubuntu 24.04, but /bin/sh points to /bin/dash, and I cannot find Bourne anywhere. How can it be installed?
Zh.'s user avatar
  • 61
0 votes
1 answer
25 views

Which pager opens when we view man in terminal? [duplicate]

As we know, there are multiple pagers available like less, more, etc. So, I was wondering which pager opens when we view the manual of any command using: man command I do believe that it’s less, but ...
Akash's user avatar
  • 19

1
2 3 4 5
453