Questions about using the command-line interface (CLI).

learn more… | top users | synonyms (5)

0
votes
0answers
5 views

Xubuntu 14.04 - Have any program that restore or prevent the enviroment issues after log on?

Sometimes the users' desktops bars (Xubuntu 14.04) doesn't appears after log on the session, showing just the wallpaper. I solved pressing ctrl+alt+F1, and: killall -u <user>(to kill the ...
1
vote
2answers
21 views

Recursive chown starting with the directory above current directory

I couldn't log in to my "admin" account and Alt+Ctrl+F1 showed all my files were owned by my "standard" user. Odd. So I carefully changed to /home/admin and did a sudo chown -R admin:admin * (and ...
0
votes
0answers
12 views

gnome-terminal profiles are not being loaded

My terminal crashed recently. After the crash, the only terminal profile that is loaded is unnamed. I have a Default profile at /home/xxxx/.gconf/apps/gnome-terminal/profiles/Default It is also ...
0
votes
0answers
7 views

How to configure ccsm from the command line or a script?

THE GENERAL PROBLEM: I wish to change some settings of ccsm from the command line, or more precisely a script. I imagine there will be some arcane combination of gsettings or gconftool that does what ...
0
votes
0answers
13 views

Can SSH, Cannot Use Terminal Locally

I'm sure this is a rookie mistake I've made, I'm in the middle of the learning process with Linux in general. I have an Ubuntu 14.04 server that I have set up for file sharing. As part of the process ...
-1
votes
0answers
10 views

Explain me how THIS got here with no DE running in Kubuntu 15.04

http://imgur.com/84ByPZC It is simply some commands i typed yesterday in the terminal (fullscreen+no de running) and ubuntu forums parts. Now, seriously, explain how the hell this got here.
0
votes
1answer
19 views

Ubuntu and Django, no module named 'django'

I have a problem with Django on Ubuntu. When I type python in terminal, terminal returns Python 3.4.1 (default, Jun 2 2015, 15:13:43) [GCC 4.8.2] on linux so it's allright. When I type ...
0
votes
0answers
21 views

Path given in Environment variable shows empty after reboot

I am trying to set environment variable CATALINA_HOME for tomcat server. I used the command CATALINA_HOME=/usr/local/apache-tomcat-8.0.22 JAVA_HOME=/usr/lib/jvm/java-7-openjdk-i386 and export ...
2
votes
1answer
96 views

Clearing thumbnail cache from terminal on Ubuntu 14.04

I am looking to free some space by clearing out the thumbnail cache from terminal. Inside the ~/.cache/thumbnails folder, I see 3 folders: fail large normal Is it safe to clear out all three ...
2
votes
1answer
26 views

Use zip command to place in directory after zipping

I'm creating my backup script and have this: DATE=$(date +"%m-%d-%Y") zip -r backup.$DATE /home/folder/folder First creates the date variable for the name, and the /home/folder/folder, I guess, is ...
1
vote
1answer
20 views

gnome-terminal.desktop for key shortcut (ctrl+alt+t)

I want to change default position of terminal. I changed ~/.local/share/applications/gnome-terminal.desktop It works for manually opening terminal from applications menu but not for shortcut ...
1
vote
1answer
12 views

Keyboard layout on laptop is messed up after full system update

Keyboard layout on laptop is messed up after full system update. Running Linux Mint 3.11.0-26 on an HP Pavilion. Example of problem: When pressing the o button it returns a 6, and m=0, j=1, 0=/, ...
-1
votes
0answers
21 views

How can I achieve this requirement for my own shell [on hold]

I need to implement a functionality in my shell that knows how to launch new programs in the foreground and the background. thanks
0
votes
1answer
18 views

Samba wont install [on hold]

I'm trying to install samba via terminal and I am getting a repetitive error. The commands i have used to install are as follows sudo apt-get install samba sudo apt-get install ...
1
vote
3answers
81 views

Using sed to add text to a file before and after word

I have a file with words, one word per line, which I now want to change so that is becomes a .sh-file with an egrep-search string for each word. The search string I want in the end looks like this: ...
0
votes
1answer
14 views

Chromium app closes after executing the bash script by double click

I have a chromium app which i want to execute from a bash script. I am successfully able to execute this command from terminal and able to open the app but when i tried to double click the script the ...
0
votes
1answer
29 views

how to lock LUKS partition from terminal?

I need to lock opened luks partition from terminal as normal user. in other words, I need terminal command do the same as sudo cryptsetup luksClose <name> but without root privileges. ...
3
votes
2answers
68 views

How can I keep the gnome-terminal open after a program closes?

I have the following shortcut which opens an SSH instance. How can I modify it so that when SSH closes, the terminal stays open? [Desktop Entry] Terminal=true Type=Application Name[en_US]=ssh ...
3
votes
4answers
205 views

Append something to files that don't end with “]” recursively

I am trying to append [Full] to all files that don't end with ] in all subdirectories recursively. Example: Untold Story.wav should be renamed to Untold Story [Full].wav Untold Story ...
0
votes
0answers
21 views

What is my problem in VIM?

I am adding to PATH in VIM in terminal but I'm getting an error. I followed this guy's instructions carefully and even though he didnt get the error i did. I was following Android Development for ...
2
votes
1answer
40 views

Terminal And Python console isn't showing Bangla

I am using Ubuntu 14.04 LTS. I can't print anything in Bengali in Python console and Ubuntu terminal! When I try to print some Bengali characters in console or try to write Bengali in the terminal I ...
1
vote
1answer
20 views

iwlist set essid -> Operation already in progress

I am trying to connect to an AP with iwconfig in the command line: sudo iwconfig wlan0 essid "APname" Every time I execute it, I got the following errors: Error for wireless request "Set ESSID" ...
2
votes
1answer
64 views

Can't redirect stdout of `alsactl monitor`

When I run alsactl monitor, I see output as such when I adjust the volume: card 0, #24 (2,0,0,PCM Playback Volume,0) VALUE card 0, #24 (2,0,0,PCM Playback Volume,0) VALUE However, when I try to ...
0
votes
1answer
100 views

Ubuntu Terminal Command “cd -” makes a Loop!

Well I am fairly new in Ubuntu world. New to Terminal too. Asfaik I can use the command cd - to go back to the previous directory. Now lets say I am in a directory which is home/dir1/dir2/dir3/mydir. ...
2
votes
1answer
37 views

How can I ignore errors with specific keywords in bash?

I am aware that I can ignore ALL errors like so: command 2>/dev/null But I want to ignore only specific errors. For example, if I run: cp file I get the error: cp: missing destination file ...
-1
votes
0answers
14 views

Mint 17.1 Rebecca hdmi screen mirroring in hdmi resolution to small for screen. [on hold]

I'm running mint 17.1 on a Lenovo ThinkPad SL510 I'm screen mirroring hdmi to Sanyo 50"plasma. What code do I need to run in terminal to get full screen resolution? Not just 16X9 aspect ratio I want ...
1
vote
0answers
20 views

System freezes during Bash auto-completion with Tab or Ctrl+R

It started about a week ago, don't know why. Now, when I type something like cd somedir and click Tab, my system completely freezes for about 10 seconds. I can move the cursor but can't switch between ...
0
votes
0answers
16 views

Ignoring unknown parameter

Straight to the point , when i do a simple command such like sudo apt-get update this 2 lines always show up : Ignoring unknown parameter "password level" Ignoring unknown parameter "update ...
0
votes
0answers
30 views

How can I make my prompt show the current directory and not the whole path? [duplicate]

I often code from the command line, working in directory: Desktop/NewProject/Project-2015/Project-1/ My prompt shows it as: prakash@pcp:~/Desktop/NewProject/Project-2015/Project-1/ $ But I want ...
1
vote
2answers
22 views

How to specify a filename while extracting audio using youtube-dl?

I can create an mp3 of a YouTube video with the following command: youtube-dl --extract-audio --audio-format mp3 http://www.youtube.com/watch?v=rtOvBOTyX00 It creates an mp3 with the following ...
0
votes
0answers
12 views

using Yad with shell script and user input

im trying to create a simple shell script with interface to download a url inserted to text field yad --title="Wget Downloader" --form --entry --text="Url" --button="gtk-ok:0" ...
1
vote
0answers
12 views

Install quickBooks in Ubuntu server (I have the fedora instructions)

Hi I try to install qb in a server ubuntu 14 64 bits, all the system is for fedora. the steps I make: dowload the package qbdbm_25.0.i386.rpm installer, (don't exist 64bits) add 32 bits ...
0
votes
1answer
27 views

Terminal process locked, wont install new software [on hold]

I am working with Ubuntu 14.04 LTS, decided to try a terminal update for "Install Ubuntu Restricted Extras for media codecs" The process started, and ran and ran. Seems to be hung up. When I try other ...
0
votes
0answers
11 views

Postal 2 Free Multiplayer doesn't start under Xubuntu 15.04

i tried to start the free Multiplayer game of Postal 2 under xubuntu 15.04. But it doens't work the following error appears in the terminal: Postal 2 Copyright 2003 Running With Scissors, Inc. ...
3
votes
1answer
32 views

How to start multi-threading multiple processes with one command

I often multi-thread processes from Terminal by running something like: sudo etherape & But I have noticed that I am unable to start multi-threading two processes at the same time by doing ...
4
votes
1answer
27 views

Use the bang-commands (e.g. '!!') of bash in scripts and aliases?

Is it possible to use the so-called bang-commands (! + command/symbol, like e.g. !! or !$:p) in bash scripts and in bash aliases? I wanted to add the line alias getit='sudo apt-get install !!' to ...
0
votes
0answers
23 views

How do I reset my video driver settings using ONLY the command line?

I recently installed Ubuntu14.04 in virtual box. After installing, all of the software, I installed the nvidia-current driver, as a particular graphics program (pymol) was not working. Following ...
0
votes
0answers
20 views

I have tried to install hla on my computer, but it doesn't seem to work

I have tried following the steps in the installation manual on the website http://www.plantation-productions.com/Webster/HighLevelAsm/LInuxDownload.html, but when I try to run the command "HLA ...
2
votes
2answers
23 views

how to pipe output of traced bash debugging?

I want to pipe the output of traced script as follows: bash -x /path/to/a/script | more or bash -o xtrace /path/to/a/script | more and bash -x /path/to/script > a_file or bash -o ...
-2
votes
3answers
27 views

i want to create single jpg to multiple .. and every jpg have different name..name ill provide [on hold]

i want to create single picture to multiple. and every picture have different name.name ill provide example. image.name image.1 image.2 image.3 image.a image.b image.c please help me.I am stuck on ...
1
vote
2answers
12 views

how to install libGL files

I was just wondering what just wondering what command I would use in front or behind a file name to install (I am very new to Linux and nothing seems to work for me, not even steam).
0
votes
3answers
15 views

Examining EOL characters in a CSV

I have a csv file that I'm intending to import into a mysql table. I would therefore like to make sure I'm reporting it's LINES TERMINATED BY properly. However I cannot figure out what characters ...
0
votes
0answers
23 views

Error executing “./configure” command : bash: ./configure: No such file or directory

I have downloaded CiscoPacketTracer6.2.tar.gz file. Now I want to install it. The command I have use is tar xvfz CiscoPacketTracer62Student.tar.gz Then I navigate to that directory using cd ...
0
votes
2answers
42 views

removing “_” from a very large csv file

I have a large csv file (120GB) that looks like this: "JE",865438083645,2012-12-05T23:07:36.000Z,24,"NQ",142,"658_55525",475035504705 ...
1
vote
0answers
41 views

Script with xdotool not working properly on a fresh reboot

I want to run streamus (chrome app) to stream youtube from terminal and asked a question relating to that in this same SE. I also got a wonderful answer and a script for my problem. But that script ...
0
votes
0answers
9 views

How do I remove syslog after centralizing to a remote server?

How do I remove syslog from a client after I have centralized it to a sever? Here are my syslog configurations of the client server $ModLoad imtcp $InputTCPServerRun 514 @@:192.168.0.101 I want to ...
0
votes
2answers
38 views

Where can I find a compact list of basic commands for the root shell prompt?

My computer is only stable in Recovery Mode. I want to save the files on the HDD before I format the disk and do a fresh OS install. Are the commands for the root shell prompt the same as the ones ...
1
vote
0answers
33 views

CPU number differs in 'About this computer' and /cpu/cpuinfo

Question: I'd like to ask what may cause that there are two different informations about the number of processors. See the reports below. System dialog: If open the System settings/Details tab ...
0
votes
2answers
36 views

How to start Pantheon from the command line

Long story as to why I've chosen to go this route, but I've installed Ubuntu Trusty without a desktop, and then installed pantheon, pantheon-shell, pantheon-greeter and elementary-desktop packages. ...
2
votes
3answers
101 views

Rename file which uses the first 2 letters of every word

I'm currently using a simple script for renaming: for f in *.mp4; do echo mv $f $RANDOM$RANDOM$RANDOM.mp4; mv $f $RANDOM$RANDOM$RANDOM.mp4; done But instead of using the $random, I would ...