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
1 answer
65 views

Fail to open terminal from desktop but not from nautilus

I'm trying to open a terminal from my desktop through the shortcut Ctr+Alt+T, icon or mousse right-bottom "Open in terminal" but it fails (it gets stuck like trying to open and eventually ...
Dani's user avatar
  • 17
-2 votes
0 answers
26 views

How to solve the syntax error while importing reflex in python3.7 [closed]

I installed pip3 using curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" and did pip3 install numpy and pip3 install pandas which work fine and did the same for reflex as ...
Miriam Samson's user avatar
0 votes
2 answers
38 views

How to get latest development release info of Ubuntu?

How can I get the latest development release info of Ubuntu? For example, do-release-upgrade --devel-release will upgrade to Ubuntu 23.10 right now: Checking for a new Ubuntu release New release '23....
tfstwbbnb's user avatar
  • 117
0 votes
0 answers
30 views

Are the build scripts of packages in the Ubuntu main/universe repos public?

Are the build scripts of packages in the Ubuntu Main/Universe repos public? An example package is Blender. I want to compile a package by myself, but it is not well-documented on the package's main ...
tfstwbbnb's user avatar
  • 117
0 votes
0 answers
37 views

Regarding ffmpeg in ubuntu 22.04

I need to convert a rtsp and a rtmp link to two different UDP link at the same time using ffmpeg in ubuntu server 22.04. I need to run this as background process only. Also is there any option to ...
Mohammed Fawaz M's user avatar
0 votes
1 answer
47 views

I'm having trouble installing grapejuice

I'm working on a Chromebook running Linux, and after copying the zip file, I put in 'sudo apt install -y grape juice', but it doesn't find the package. I have tried copying and pasting the contents ...
saxtonloveshisgrandma1265's user avatar
-1 votes
0 answers
26 views

How to print command and then 5 live lines of command?

When I'm building a docker image, it prints the current RUN command, and a 5 or 6 line summary with the latest live output from that command. Is there an easy way to do this but for a bash script? I ...
Rafaelo's user avatar
  • 135
0 votes
1 answer
30 views

Screen Flickering Issue on Incorrect Terminal Commands in Ubuntu

After recently installing Ubuntu on my laptop, I've encountered an unusual issue. Every time I mistakenly enter an incorrect command in the terminal, my entire screen flickers momentarily. To help ...
Rick Laster's user avatar
0 votes
2 answers
35 views

question about how navigate fast in directory [duplicate]

image if i want to go to ObliqueShock I need to write: cd ObliqueShock so every time i need to go in a specific folder i have to copy and paste the directory where i want to go, is it possible to ...
Giuseppe Sammarro's user avatar
-1 votes
1 answer
40 views

Desktop Shortcut from a Command in 22.04

trying to create a desktop shortcut for flatpak run org.gimp.GIMP//beta Not sure how to use a command instead of an executable. I saw another answer but it was 2013. It said to create a .sh file based ...
user227495's user avatar
  • 3,947
0 votes
1 answer
53 views

"make" command not working

I'm currently trying to install graphics.h to do C programming, but I've been having a problem that I've been unable to solve so far. Every tutorial explaining the process is the exact same, and they ...
BlunterWeb's user avatar
-3 votes
0 answers
37 views

I need beginner level commands and explanation to run gparted from terminal using the version of ubuntu inDr Webs live disk [closed]

my hard drive is nonfuntional due to sudden power loss while installing windows 11. Black screen, blinking curser. Dr Webs live disk is the only free software i can find that will boot. Trting to run ...
Joe Monk's user avatar
0 votes
1 answer
55 views

zeek command not found

I have installed zeek, mongo, rita on my SANS SIFT vm, however I cannot get zeek to read a wireshark pcap. I am running Ubuntu 20.04. I get the following error when running the command: sansforensics@...
9br3ak3r's user avatar
0 votes
0 answers
27 views

Ubuntu 22.04.3 LTS "cal" cmd is not working [duplicate]

I attempted to install 'ncal' using 'sudo apt install ncal,' but I encountered multiple errors: I also tried 'sudo apt install command-no-found,' and the results were identical: .
Abdul Mumeet Akhter's user avatar
0 votes
0 answers
46 views

How to answer "Which services should be restarted?" after apt dist-upgrade in console

After running apt dist-upgrade in a root shell in ubuntu server 22.04.3, sometimes the question "Which services should be restarted?" is shown. Example: Restarting services... Daemons using ...
x-ray's user avatar
  • 101
-3 votes
0 answers
28 views

Windows 11 os crash into temporary linux ubunto becasue the banking and financial services wont fix and the storage full plus code edits [closed]

Some of the previous applications that I was using on windows 11 are not accessible in the linux systems and when trying to use traditional windows applications in linux I am finding errors and then ...
John Patrick Oldfield's user avatar
3 votes
2 answers
769 views

How (abc) is parsed in bash

I'm using a program designed for windows that I compiled myself for GNU/linux. The program works in the command line, and one argument looks like this: prgm -arg1 abcd(10)(22) -i files.ext Where (10) ...
JRR's user avatar
  • 195
0 votes
1 answer
38 views

How to find a string in files, said string including line breaks, ", @

I know grep allows me to search for a string in files, however I did not manage to find the right method to search for the following string: "snapshot3" : { "@custom_name" : ...
Vinz M's user avatar
  • 73
1 vote
1 answer
48 views

How can I write my input down to file?

Recently, I needed to write my terminal output down. And I've read this question to find the answer. But now, I would like to write my commands down (which I type in terminal, for example:sudo apt ...
Reiji Akkerman's user avatar
0 votes
1 answer
43 views

I closed the terminal while updating and did not reboot because upgrading apt is in progress

I closed the terminal while upgrading, and did not reboot the PC because upgrading with apt is in progress. The desktop doesn't show everything that it usually does. For example, the icons in the Dock ...
Manas Bhatt's user avatar
-2 votes
0 answers
21 views

Error running pycharm program

I am quite new to using Linux and would appreciate some help. I have installed PyCharm, buy every time I try to run the program I get an error message. To install it, I followed the commands provided ...
Makayla Galbraith's user avatar
1 vote
0 answers
22 views

starship cannot access/edit starship.toml

Whenever I try to import a starship.toml file by typing starship preset tokyo-night -o ~/.config/starship.toml I get the following error: Error writing preset to file: Permission denied (os error 13) ...
maze's user avatar
  • 11
1 vote
1 answer
76 views

Why Cronjobs Run According to UTC Time?

I am in Singapore and the server (Ubuntu 22.04 EC2 instance) is set according to the my local timezone (UTC+8H), at least so the date command tells me. $ date Wed Sep 20 09:07:42 +08 2023 Is this a ...
Della's user avatar
  • 505
0 votes
0 answers
27 views

Shell color theme vs Terminal theme

Could someone explain how terminal and shell work in terms of theming? Shell frameworks, like oh my zsh, allow you to change color theme. However, terminal emulators, like Blackbox, also allow you to ...
mnj's user avatar
  • 193
0 votes
0 answers
52 views

Is it possible to get the TeamViewer Session Password by command line?

On my lubuntu 22.04 distribution is installed TeamViewer (Classic) version 15.41.7. I know that for enable a remote assistance session by TeamViewer I have to send the Code ID and the session password ...
frankfalse's user avatar
1 vote
1 answer
44 views

Why is the manual of apt incomplete? [duplicate]

I would like to see what are the command-line switches of apt list but after 30min of research I don't manage to find a lot of information about it... I tried to type apt list --help, man apt and man ...
Tesla123's user avatar
  • 113
0 votes
1 answer
18 views

installing opera as second browser on ubuntu 22.04

i just started to use Ubuntu so i am not familiar with this software. please send me link where i can learn if it is possible to leave Firefox as main browser and install opera as second one? i need ...
natasha's user avatar
0 votes
0 answers
23 views

Terminal starts Blank on Ubuntu

Hi I am new to ubuntu and I am using version 23.04 Suddenly my terminal went blank and I even tried rebooting the terminal and the machine too but still it didn't work. Even in VS Code, It does not ...
Ahmad Habib's user avatar
0 votes
0 answers
15 views

I found this issue on the terminal

linker Warning: "[vdso]" unused DT entype 0x70000001 arg (nil)) (ignoring) WARNING: linker Warning: "[vdso]" unused DT entype 0x70000001 arg (nil)) (ignoring) phablet@ubuntu-...
Cristian's user avatar
-1 votes
0 answers
37 views

How to run and debug C++ project in VScode on WSL Ubuntu [closed]

I am trying build and run project, but I don't know. Executing task: g++ -g /home/homa/SSAC/src/.cpp /home/homa/SSAC/bin/.cpp /home/homa/SSAC/include/*.h -mpclmul -msse4.1 -std=c++17 -Wall -...
homa khajeh's user avatar
0 votes
1 answer
23 views

`expr: non-integer argument`

num1=20 num2=5 echo $( expr $num1 + $num2 ) I ran this code but it shows this error message. What can I do to solve this?
dhebbie Godspride's user avatar
0 votes
0 answers
85 views

Login loop both from GUI and console

Whenever I try to login to my Ubuntu desktop, it asks for login in a loop. I tried to login from console (Ctrl+Alt+F3), but it's also not working. Console also asks for login in a loop. Now I am ...
Ishika chauhan's user avatar
0 votes
0 answers
25 views

cp to a previous directory using the shortcut - [duplicate]

I am a beginner with Ubuntu and I tried searching for an answer for this but I can't find one that covers this and I am confused by the output I am getting. I know you can use cp to copy to a parent ...
Dean Cole's user avatar
0 votes
1 answer
37 views

Why is my .bashrc caching curl when using as command substitution $(curl -s http://someurl.com)? [duplicate]

Here is an alias I made on my ~/.bashrc: alias rand="echo $(curl -s https://whatthecommit.com/index.txt)" If you enter this url, it simply returns a random message every request, as ...
João Hamerski's user avatar
0 votes
0 answers
45 views

Running OpenFoam command: paraFoam -> Error 420: paraView: not found

I have lately installed OpenFoam v.2212.0 on UBUNTU 22.04.0. All the other OpenFoam commands work fine for me, but as soon as I type "paraFoam", I get the following error: Invalid $...
Lt Ark Angel's user avatar
0 votes
0 answers
12 views

How should this sed command be rewritten to avoid an unterminated 's' command error? [duplicate]

I'm slowly following along with a Linux certification textbook just to bolster my skills a little. Text stream processing is the current topic, and the command I'm working with out of the book uses ...
runujhkj's user avatar
0 votes
0 answers
20 views

./docker-build.sh: ./mvnw: /bin/sh^M: bad interpreter: No such file or directory [duplicate]

I am using Ubuntu 22.04 File docker-build.sh #!/usr/bin/env bash if [ "$1" = "native" ]; then ./mvnw clean -Pnative spring-boot:build-image --projects book-service -DskipTests ...
Vy Do's user avatar
  • 489
0 votes
0 answers
14 views

How to get some lines before and after in log files using tail and grep? [duplicate]

How to get some lines before and after in log files using tail and grep ?
indrajit narvekar's user avatar
-1 votes
0 answers
55 views

Why is gdbus call not working with root user?

In relation with this question or this one. I have the following script change-layout.sh that changes my keyboard layout, using this gnome shell extension. #!/bin/bash gdbus call --session --dest org....
gcousin's user avatar
  • 99
-1 votes
1 answer
62 views

Moving 3 pics randomly to another directory

I am using Linux and I'm in a folder it has 10 .jpg images I want to move 3 pictures only without selection by name or size for example my folder is /sdcard /DCIM/camera/ I want 3 pictures from it to /...
WoLFyy THETHE's user avatar
-3 votes
0 answers
495 views

I install Ubuntu dual boot after reboot i have just black screen with console , i try to remove the installation medium

Please remove the installation medium, then reboot
Sara Mark's user avatar
0 votes
0 answers
19 views

Passing %f conditionally to apps in Exec command of custom desktop launchers

I am trying to customize some desktop launchers for a couple of Wine apps. Namely foobar2000 and Winamp. What I would like to do is to drag-and-drop files/folders onto the launchers on my desktop and ...
Makaveli84's user avatar
0 votes
1 answer
60 views

Loop through file extension Annotate add EXIF Rename and Copy

This script, reads user input from an entry like filename.jpg it creates a directory inside the current directory. Then renames the file and adds the files EXIF data it then copies the original file ...
Off Grid's user avatar
0 votes
1 answer
158 views

In Ubuntu is there a way to configure PS1 so that it does not update the window title?

Question I have a script called title which sets the title bar for a UNIX window, it's simple and just echos an escape sequence. See https://askubuntu.com/a/22417/323009. #/bin/bash ESC=$'\e' BELL='$'...
PatS's user avatar
  • 113
0 votes
0 answers
30 views

Howto change the permission of a directory to root?

Howto change the permission of a directory to root: /mnt/sda9? I tried it with gksudo, but it says "you're not propriertary." The following commands... gksudo nautilus /mnt sudo chown user:...
Rodrigo Enrique Esteves Antelo's user avatar
0 votes
0 answers
64 views

During update, Ubuntu (22.04) goes to crash dump screen from which I can't quit

I'm running 22.04 on an Acer Aspire dual boot with Windoze. Secure boot is off. UEFI enabled. Windows fast start disabled. Also to mention is I haven't started this machine for maybe 2 months so the ...
Raffles's user avatar
  • 672
0 votes
1 answer
40 views

How to remove PDF text layer?

I still want the text to be visible, but not copyable, selectable or otherwise interactable. I have manged to achieve this by converting the PDF to a series of images, and then converting those back ...
Anm's user avatar
  • 101
0 votes
0 answers
18 views

Loud static voice.Echo cancellation script [closed]

Does anyone know which distro won't give me this problem? I am using Linux Lite latest version,and every time I try to use the echo cancellation which I added by using this script load-module module-...
Windows Sucks's user avatar
1 vote
1 answer
42 views

How can I upgrade the "find" command to the latest version?

I got this answer for Is it possible to chain two consecutive find commands? last year. Today I wanted to test the latest recommendation to pipe two find commands together. find ... -print0 | find -...
Saeed Neamati's user avatar
0 votes
0 answers
13 views

Cant get out from command window when accidentaly pressed Ctrl alt F1

When I pressed that command, I couldnt get out, I tried rebooting from command line, restarting the service gmd3 which is the graphics service, I tried ctrl alt f7-f12 and nothing happened, even with ...
Andrés Camilo Díaz Bohórquez's user avatar

1
2 3 4 5
446