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
1k views

What command can mount an SSH share and launch a file?

I have a file on another Ubuntu machine. I want to access it from my machine on my LAN. I don't want to go into Nautilus to mount the share first and then browse to the file. I want a command that ...
nLinked's user avatar
  • 3,347
0 votes
1 answer
532 views

How to I will add jpg or gif or png (logo or emblem) in Terminal [duplicate]

Possible Duplicate: Is it possible to get the tux logo on the text based boot? I want to add jpg logo in Terminal..but not ascii format
erkan şentürk's user avatar
0 votes
2 answers
511 views

Opening terminal takes longer while using Gnome Shell

In ubuntu 11.04, loading the terminal with a keyboard shortcut was really quick. When I started using ubuntu 11.10 (with unity) I noticed it took a little while. Then I remembered about the preload ...
Severo Raz's user avatar
  • 5,971
0 votes
1 answer
402 views

Unity desktop and mouse sensitivity [duplicate]

Possible Duplicate: Only show Unity laucher when left cmd/win key is pressed? I keep accidentally moving the mouse too far to the left of the screen which brings up the unity "taskbar". Is there ...
Eae's user avatar
  • 713
0 votes
1 answer
309 views

Nautilus "open in remote teminal" fails after login

I have installed open-in-erminal package and now I have "Open in Terminal" and "Open in Remote Terminal" in right click menu in Nautilus. First one works perfect, but remote does not. It opens ...
umpirsky's user avatar
  • 4,050
0 votes
1 answer
657 views

Suspending Ubuntu using terminal [duplicate]

Possible Duplicate: How can I suspend/hibernate from command line? How can I suspend Ubuntu using the terminal? Can I schedule it to "wake up"? Another thing that I wanted to know is whether ...
infoquad's user avatar
  • 857
0 votes
0 answers
282 views

I can't open program from remote computer, why? [duplicate]

Possible Duplicate: How to open a remote python program from terminal by ssh? When I open a program from my local account using terminal, it works. For example, I type "firefox"...firefox pops up....
user avatar
0 votes
1 answer
89 views

Can't switch keyboard layout in terminal (Lubuntu 20.04)

I am using a bilingual version of Lubuntu 20.04. In virtual console the primary layout should be English, but I can't switch language to English - it is always secondary one so virtual console is ...
crt_tim5's user avatar
0 votes
1 answer
80 views

Help me to develop a .sh script to start a simple task

I want to connect to a server through AtlasVPN automatically. @user: $ atlasvpn connect 1 - Standard 2 - Streaming 3 - SafeSwap 4 - MultiHop *(IT IS NOT ANOTHER LINE)* Enter a number corresponding to ...
Calma Flamma's user avatar
0 votes
1 answer
232 views

How to Automatically run/stop a script at a certain time of the day

What I want to achieve: 8:00 AM: Runs a sh script (this script does not stop running until the user presses ctrl+c) 8:00 PM: stops the script by sending ctrl+c or other means Repeat I tried ...
Tupopo's user avatar
  • 39
0 votes
2 answers
1k views

Run an application from a newly spawned Alacritty without the window closing after execution

I`m trying to open a program from Alacritty with a keybindf without closing the window afterward. (it uses the window to output errors ects) My command is currently: alacritty -t houdiniTerm -e sudo ...
Nic Tanghe's user avatar
0 votes
1 answer
1k views

How to change the window size of the virtual terminal in termux

ccmake ../src Window is too small. A size of at least 65 x 6 is required to run ccmake How to resolve this
user1590000's user avatar
0 votes
1 answer
3k views

dns probe finished nxdomain linux ubuntu 20.04

I'm having problems with my DNS in Ubuntu. The webpage won't show up. I've been trouble shooting for hours. I have tried clearing the cache but none of the commands work. I have tried it this way ...
Henry Stanley's user avatar
0 votes
2 answers
3k views

Copy all from a folder into the project root directory

I have a web project with the following structure: application/ dumps/ nginx/ logs/ .git/ docker-compose.yml Dockerfile README.md .gitignore For several reasons, I would like to dissolve the ...
Maik Lowrey's user avatar
0 votes
2 answers
2k views

Could not connect to in.archive.ubuntu.com [duplicate]

I am new with Ubuntu, so please give detailed answers. I want to fix this error: Could not connect to in.archive.ubuntu.com Each time I try to update, it shows up. I have included the following ...
Karthik J's user avatar
0 votes
1 answer
262 views

Ubuntu has locked , showings password is incorrect

I am using ubuntu 20.04 LTS. I tried to boot my pc via command line because it doesn’t boot up normally. I wrote this commands in terminal “sudo systemctl set default-multiuser.target” then I typed my ...
Safian Ahmed's user avatar
0 votes
2 answers
1k views

How to connect the stderr in netcat?

Suppose i have two shells (A and B). And i execute command below for first shell: nc -lvp 7777 -e /usr/bin/bash And in the second shell i execute : nc localhost 7777 After that, i type 'something' ...
Zozzizzez's user avatar
  • 465
0 votes
1 answer
97 views

Bash Recursive Script Failure

I build the script that is mandatory for use in GUI interface (for a reason). The script is designed to relaunch itself in gnome terminal in all conditions. The basic stub of the script is looking ...
LifeOnNet's user avatar
0 votes
3 answers
12k views

can't find directory and file created with ubuntu

So I downloaded ubunto to start working with command line. It seems ubuntu created a directory that it named my username in my desktop (as discovered via pwd). I since created a file called colors.txt ...
steve's user avatar
  • 1
0 votes
1 answer
697 views

How to change rules for the hidraw0 device?

I am tying to connect Polar Flow with Ubuntu19. The Polar flow works with Wine. However, Ubuntu does not recognize the USB connection (my Polar m400). I tried this and got to the point 11 with no ...
koppuli kappilka's user avatar
0 votes
1 answer
646 views

Cannot install Wine on Ubuntu 18.04 lts [duplicate]

After installing per the installation instructions from Wine: sudo dpkg --add-architecture i386 wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key sudo apt-add-...
caribbeanblue's user avatar
0 votes
1 answer
88 views

Bash, get 3 last files detected by first 3 same characters, and move other files

Issue, I have many files in folder backup. 3tpt_20190810_061011816.csv 3tpt_20190811_060912007.csv 3tpt_20190812_060910510.csv 3tpt_20190813_060911075.csv 3tpt_20190814_060911689.csv ...
genderbee's user avatar
  • 850
0 votes
1 answer
496 views

Run a shell script from another script concurrently in a new terminal window

I'm trying to run a shell script from another and make them display each script's output in a separate terminal window but I cannot. When I run script1 it runs fine and then calls script2 using source ...
Tak's user avatar
  • 966
0 votes
4 answers
3k views

Auto compile alias in .bashrc

How do I create an alias in my .bashrc file so that I can compile my C++ program without inputting this much longer command: g++ -o filename filename.cpp Here the file name is variable.
Aki's user avatar
  • 3
0 votes
1 answer
69 views

Updated Ubuntu 16 to 18, doesn‘t boot properly - graphics troubles?

I updated and when it was done, there was this greyish screen. I used lots of tips from this site to get tis fixed but nothing worked. Finally I was able to boot the system using the command line and ...
elsuzu's user avatar
  • 1
0 votes
1 answer
9k views

Command not found on bash script [duplicate]

I want to run a bash script to access two terminal tabs, each run cd "folder", then "npm run start", as below: #!/bin/bash sudo mysql -u root -h localhost PATH=/var/lib/cloud9/autorun/...
Ichrak Mansour's user avatar
0 votes
1 answer
174 views

How to make desktop launcher execute as program through code in MonoDevelop

I'm creating a program in MonoDevelop that creates a desktop launcher. It writes the launcher, but it's not executable. I've tried using a chmod 755 $AppPath command from the terminal, but I must be ...
Chico's user avatar
  • 1
0 votes
1 answer
1k views

How to enable AMD graphics card

I have a laptop. It has Intel HD and AMD card How to enable AMD card on linux (Kubuntu) So that I can game on it
Domagoj Recc566's user avatar
0 votes
1 answer
1k views

Could not open lock file /var/lib/dpkg/lock [duplicate]

E: Some index files failed to download. They have been ignored, or old ones used instead. E: Could not open lock file /var/lib/dpkg/lock - open (21: Is a directory) E: Unable to lock the ...
Cimohamed Irikaf's user avatar
0 votes
1 answer
1k views

Run commands on system startup [duplicate]

I need some help with running commands on system startup. So, I need these two commands to be executed every time I start my machine, due a problem with my Realtek driver (doesn't really matter): ...
sebamed's user avatar
  • 101
0 votes
1 answer
213 views

Some text display on my terminal

when I open my terminal following text display on it. bash: alias: -o: not found bash: alias: allow_other: not found bash: alias: /media/GalaxyS: not found bash: alias: -u: not found bash: alias: /...
Gihan Chathuranga's user avatar
0 votes
2 answers
494 views

I need to add a new route (terminal) and have my c++ server go through it

I am on a Ubuntu VM version 16.04. I need to add a new route in terminal and have my c++ server application go through it. I tried figuring this out, but I'm a beginner and am having trouble. I ...
A P's user avatar
  • 99
0 votes
1 answer
484 views

Why won't my password work in gksu? [duplicate]

There are other questions similar, but none have answers for this situation. Any time I enter my pw into the terminal, it works fine. But gsku thinks it's wrong. I've tried several times, and ...
Keiva's user avatar
  • 315
0 votes
1 answer
200 views

Attempted removal and reinstallation of LibreOffice failed

I desperately need to get LibreOffice installed and useable on my system (Ubuntu 16.04). I had tried to install it my self using terminal probably using (cannot remember specifically): sudo apt-get ...
V.B.'s user avatar
  • 1
0 votes
1 answer
58 views

How can I find files that I have modified?

I am looking for files that I personally have edited. If it helps, I've used Sublime Text for editing. I have a brand new computer with setup issues, and I'm trying to retrace my steps to see if I've ...
chris's user avatar
  • 101
0 votes
4 answers
26k views

sudo: apt-get: command not found

When I run apt-get update as root user it's working well, but not working for apt-get install build-essential manpages-dev (showing apt-get command not found).
sourav's user avatar
  • 157
0 votes
1 answer
281 views

upgrade error : illegal package name `doc-base/noawait' [duplicate]

I cannot download anything or upgrade my system. I get the following error message: dpkg: file triggers record mentions illegal package name `doc-base/noawait' (for interest in file `/usr/share/doc-...
Val's user avatar
  • 1
0 votes
2 answers
467 views

Cannot start terminal on Ubuntu 15.10

I have a problem with terminal. When I click on the "terminal" icon on the left side, nothing happens - cursor just stays in wait mode for a few seconds. I tried to reinstall gnome-terminal from tty, ...
Himeiji's user avatar
0 votes
1 answer
44 views

i have tried the apt-get command but it gives the following info . Please help me

/home/user# sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The ...
user3573938's user avatar
0 votes
2 answers
63 views

How to replace symbol in multiplefiles? [duplicate]

I have many files in directory(with folders so i think solution must be recursive in deep) root-folder file-1.png file-2.png file-3.png file-4.png file-5.png folder-1 file-1.png file-2.png file-3....
R.id.pandacoder's user avatar
0 votes
1 answer
1k views

What does the command 'set `who am i` do in Linux?

I was trying to set the shell variables to the output of who am i command by using the command as typed in title, but the results are a bunch of shell information and codes as far as I can figure out. ...
Ruibin's user avatar
  • 58
0 votes
1 answer
173 views

installation of wine

i was trying to install wine on ubuntu 14.04. I used the command sudo apt-get install wine. A complete process was worked out. Around 140 MB data was downloaded from the internet but suddenly it was ...
Samarth Agrawal's user avatar
0 votes
2 answers
3k views

Text Editor Scratch

I am trying to install a text editor named Scratch,which is the default text editor in Elementary OS. I've done the following commands. sudo add-apt-repository ppa:elementary-os/daily sudo apt-get ...
Marvin Mirek's user avatar
0 votes
1 answer
567 views

messed up my /user directory permissions an now cannot run sudo or gksu [duplicate]

while changing the permissions for the /usr folder of owner to root read and write of group to root read and write of other to read and write i ignoratly checked to box to propagate to all contained ...
user1305268's user avatar
0 votes
1 answer
774 views

Problem installing Terminology terminal emulator

When trying to run/install Terminology on Ubuntu 14.04 I get the following error symbol lookup error: /usr/local/lib/libecore_evas.so.1: undefined symbol: _eina_log_state_shutdown I guess the ...
Rafael Díaz's user avatar
0 votes
1 answer
302 views

Problem with terminal transparency

I have a problem with the terminal on my Ubuntu netbook. Whenever I open the terminal it is completely transparent without a menubar or anything, and I can't see the text at all. Right clicking on it ...
Don Doan's user avatar
0 votes
1 answer
650 views

Error When Installing Anything [duplicate]

Every time i try to install wine in the terminal i get these errors Reading package lists... Done Building dependency tree Reading state information... Done wine is already the newest version. ...
Hank Hill's user avatar
0 votes
1 answer
88 views

Keyboard layout related issue - fixed in GUI but receive error in terminal

I run on Ubuntu 14.04. I have an issue related to the keyboard layout in GUI mode. I managed to fix it in the GUI by using: setxkbmap -layout us [1] and adding it to the ~/.bashrc. That works fine. ...
Diesel DL's user avatar
0 votes
2 answers
518 views

Help Starting Minecraft Server Ubuntu 14.04

My .sh file to launch the server is not working. I have the file named 'craftbukkit.sh' with this pasted in it (from the bukkit set up wiki) #!/bin/sh BINDIR=$(dirname "$(readlink -fn "$0")") cd "$...
atter's user avatar
  • 1
0 votes
1 answer
5k views

How do I mount ejected external USB flash Via terminal

After safely remove or eject it, i want to remount it without unplug it, and re-plug it again .. so Any suggestion pls? PS after using eject all usb memories are out of fdisk command scope i don't ...
Ahmed Zain El Dein's user avatar

1
437 438
439
440 441
457