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

learn more… | top users | synonyms (5)

0
votes
2answers
20 views

Help reverting changes to GRUB

Okay, so I tried to use this fix for my blackscreen when going into tty command line sudo sed -i -e 's/#GRUB_TERMINAL/GRUB_TERMINAL/g' /etc/default/grub This did not fix it, but I found something ...
2
votes
1answer
43 views

Can there be two init processes?

I am new to Operating Systems (specifically Linux) and this is my first question here I want to ask, can there be two process with CMD = init (as given by ps - e command). I had two processes on my ...
0
votes
0answers
19 views

command to Close the Archive manager automatically [on hold]

I am trying to unzip the files from source folder and after unzipping them i want to put extracted files in the destination folder for that i am using below command x source folder -o destination ...
3
votes
2answers
69 views

How to stock all files with the same suffix into a table?

i'm making a little shell script and i want to stock all files with same suffix in a table. i want something like that : path=/home/user/Documents suffix="_suffix.txt" and then a function that ...
1
vote
1answer
60 views

Complete List of Terminal Commands and all their parameters [duplicate]

I was wondering if there was any complete guide to the Linux Terminal (don't mind buying a book or something), specifically, I want the list (or book) to do an A-Z of the commands with all their ...
0
votes
1answer
19 views

Can't get IPython to start: “ImportError: cannot import name start_ipython”

I'm trying to start IPython from the terminal. I input: ipython into the terminal and I get this output: Traceback (most recent call last): File "/usr/local/bin/ipython", line 4, in ...
4
votes
1answer
152 views

How to prevent output from '&' and '>' operator (send to background operator and redirection operator)

I have tried various combinations of gedit, &, >/dev/null 2>/dev/null. When gedit is used with the other two it always prints something to the terminal. I understand that the numbers are ...
3
votes
0answers
32 views

Terminal crashes when running lsblk -h [on hold]

Im currently running Ubuntu 14.04 LTS. In the desktop I open a terminal window and type: lsblk -h And the terminal crashes! lsblk on its own runs fine. lsblk --help also crashes the terminal. If I ...
0
votes
0answers
15 views

how to run “acpype” program?

If I want to open this program, I am giving "acpype" in the terminal and getting the following error: sslab1@sslab1-ThinkCentre-Edge72:~$ acpype bash: /usr/local/bin/acpype: Permission denied What ...
0
votes
0answers
17 views

How to install Sublime Text 2.0.2 on Ubuntu 14.10 [duplicate]

I have the latest version of sublime text → Sublime Text 2.0.2 x64.tar How can I install it on ubuntu 14.10 ? Thank you.
0
votes
0answers
12 views

LTSP Ubuntu thinks I'm a different user, but $USER and $HOME are correct

I am running an Ubuntu 14.04 system with the XFCE4 desktop as a fat LTSP client. Ubuntu seems to be under the impression that I'm a different user. When I go into the terminal, the \u portion of PS1 ...
0
votes
0answers
18 views

Executing C programs from HDD or PenDrive [duplicate]

So lately I've been in C programming. On trial and Error and Basis I tried Compiling(GCC) and Executing(./a.out) from my Windows' partition and Pen-drive i.e. precisely I tried executing on NTFS and ...
0
votes
1answer
15 views

--resizebyte: command not found [on hold]

I'm trying to resize my Ubuntu VirtualBox hard drive through my MacBook Air terminal and I'm having a bit of a problem. I used the command VBoxManage modifyhd <uuid>|/Users/(my ...
0
votes
0answers
16 views

How to Compress (More then one at a time) PDF files from terminal

I work with lots of rather large imaged documents ranging from a few bites to multiple gigs of data per file. I need these documents to take up less storage space and especially to be more ...
11
votes
1answer
593 views

How can I redirect what is shown on screen to a file?

I'm trying to view the content of a big file in Terminal by less command and I want to redirect the screen content(the content that currently I'm looking not the entire file, until I press the Q to ...
0
votes
0answers
28 views

ffmpeg not recognized

I am having a problem with ffmpeg. I had it installed and then installed 14.10. I reinstalled it, but I am getting this error message. Also, I went to this website ...
2
votes
1answer
28 views

LibreOffice command line font substitution at pptx to pdf conversion

Question Is there any way to specify to libreoffice, via commandline, to use Cambria for occurences of Calibri in the PDF generation without the need of any user-interaction? Context I am using ...
0
votes
0answers
29 views

Switch from terminal to graphic interface

I have a VPS running Ubuntu 14.10 and it has only a command line. I followed this tutorial to install a graphical interface . Then, after I connect to a VNC xrdp says login failed. I know my password ...
0
votes
1answer
36 views

Configure a command line to execute on log in [duplicate]

Every time I reboot my Ubuntu 14.10, my touchpad drive(synaptics) resets to default configuration. Is there a way to restore my sysclient settings after rebooting? Alternatively; how can I configure a ...
0
votes
2answers
25 views

How to copy and paste all text recovered in Terminal with `strings` command?

I want to recover text from a .doc file that wouldn't open in any text editors (msoffice word, libreoffice writer). I have found this answer saying to use a command like strings foo.doc | less ...
1
vote
0answers
28 views

Running Python script in Abaqus in Ubuntu

I am running a python script through the scripting interface in Abaqus. It's a basic script that writes a value from each element from the abaqus simulation into a a text file. The text file is then ...
0
votes
1answer
20 views

How to install ACPYPE and fix the error in Ubuntu 14.04?

I wanted to install acpype in ubuntu 14.04 and I followed the comments given in ubuntu program installation guide: I have followed the following commands. acpype go to the directory in which you ...
0
votes
0answers
25 views

Use metaflac to rename .flac files from flac tags recursively

I am trying to rename a bunch of songs using metaflac (sudo apt-get install flac) from their respective tags recursively, because I'm dealing with an unknown number of subfolders. Output should be: ...
3
votes
2answers
86 views

Recursively rename all files and folders to Title Case from terminal

I am a newbie and I have searched everywhere for this, I have also tried combining a lowercase renaming command with some regex to get Title Case instead of lowercase but I wasn't very successful. ...
0
votes
0answers
30 views

Ubuntu 10.04 - XAMPP status running but not able to execute files

I am a newbie in Ubuntu. I tried to start XAMPP automatically using the below url start XAMPP automatically I have started xampp services using the following command. sudo /opt/lampp/lampp start ...
0
votes
1answer
49 views

How to install Netbeans 8.0.2 on ubuntu 14.x

I have netbeans downloaded from the netbeans.org site. This is the file name → netbeans-8.0.2-linux.sh I dont know how to install it on ubuntu 14.10 Is there any one can help me install netbeans on ...
2
votes
3answers
203 views

How to find and replace a string by increasing its numerical part?

My input file is, ami21 ami65 ami67 ami66 ami88 ami76 ami29 ami55 ami54 ami32 Using a single command line I need the output as, ami22 ami66 ami68 ami67 ami89 ami77 ami30 ami56 ami55 ami33 I ...
3
votes
2answers
890 views

What is the difference in running script with ./

What is the difference between running the script by calling directly its name and calling the script by adding a with prefix of './' . I can't find any difference in run time.
2
votes
1answer
267 views

removing files older than 7 day

I write below command to delete all files that are older than 7 days, but it doesn't work: find /media/bkfolder/ -mtime +7 -name'*.gz' -exec rm {} \; How can I remove these file?
0
votes
0answers
21 views

Check whatever current user has an active login

I want to check whatever current user (user that launched program) has an active login (is access not blocked by login panel?). How can I do this? For reference - as there is no program as described ...
1
vote
1answer
63 views

In the command line prompt, how do I show the full home path instead of the tilde (~)?

In the terminal prompt, how do I get to see the full path of the home directory? That is, from root@pcname:~ # to root@pcname:/home/username #
0
votes
0answers
23 views

GUI login problem in Ubuntu 14.04/ Doesn't recognize sudo in virtual console [on hold]

My problem is similar to these: Ubuntu gets stuck in a Login Loop GUI login problems in Ubuntu 14.04LTS However, there is are additional complications for me. When I switch to virtual console ...
0
votes
1answer
16 views

Yakuake refusing to open

For some reason after the first time I restarted Yakuake seems to be absolutely dead... The F12 key now only seems to select and deselect my current application. I have tried reinstalling it from the ...
0
votes
1answer
40 views

Excluding hidden files in locate

We have a Ubuntu NAS sharing SMB and Netatalk with some Macs and I often use locate to find my files. Unfortunately since installing Netatalk it has written tons of .AppleDouble cache files to share ...
4
votes
1answer
71 views

How to control Graphical programs from terminal?

I am trying to control Inkscape program from terminal; for example, I want to open the File menu, Edit menu or Extensions menu in Inkscape from the terminal without the need to click on the menu from ...
1
vote
0answers
33 views

How to know if a file in a CIFS network drive is locked from Ubuntu

I've mounted the following network drive in Ubuntu: //192.168.1.11/shared /media/shared cifs credentials=/home/guest/.smbcredentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0 ...
0
votes
0answers
15 views

Connnecting to WPA Through Terminal Edimax ew-7811un error ioctl[SIOCSIWENCODEEXT]: Invalid argument

I've been trying to learn how to connect to my WPA secured wireless router for a while and no matter how much I research I can not find the fix for this error. I get the error(ioctl[SIOCSIWENCODEEXT]: ...
0
votes
0answers
28 views

Rsync error 23: some files were not transferred, when copying files from Windows drive to external HDD

I wanted to copy files from the Windows drive to external HDD using rsync, with the following command: rsync -azv --progress --exclude-from '/home/mint/exclude.txt' '/media/mint/OS/' ...
0
votes
1answer
28 views

bulk image download from piwigo based web gallery

I'd wish to download original sized images from this website, built upon piwigo CM http://mermaid.pink/ Single image download is allowed, but that would take ages Could you suggest me a software, ...
0
votes
0answers
15 views

Unable to install cpu-checker [duplicate]

$ apt-get -f install cpu-checker E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
13
votes
6answers
834 views

How do I check whether a module is installed or not in Python?

In terminal, after I start Python, how will I know what are the modules present in python? Suppose I need to learn the modules NumPy and SciPy. How will I install it if it is not installed? How ...
0
votes
2answers
47 views

open program in xsession from command line environment

I just wondered if some old computers laying around here could still be used for some games if I completely cut off the display manager. Is there a way to start a gui program from the command line in ...
0
votes
1answer
18 views

Unable to use debian/rules clean

I am new to ubuntu and i am trying to use the command fakeroot debian/rules clean but It errors out. Here is some of what is shown, it is rather long so if I need to post it all I will. Error: cp ...
2
votes
1answer
25 views

Some error messages displayed when I start terminal (both as root and as normal user)

I recently installed Android Studio , and to make the changes permanent I changed the PATH environment variable in .bashrc file, as shown in Second answer of this link. I get following error ...
0
votes
0answers
18 views

Long view for tab completion?

Is there any way to show a long view (e.g., timestamp, permissions, filesize, etc) for tab completion of filenames in bash?
0
votes
1answer
21 views

rtcwake‬‬: command not found | ubuntu 14.10 [duplicate]

when i use rtcwake command‬‬: rtcwake‬‬: command not found Searching yields nothing: $ sudo apt-cache search rtcwake $ sudo apt-get install rtcwake Reading package lists... Done Building ...
9
votes
5answers
3k views

Will creating a text file in vi change my computer?

I know that Linux is an operating system built on text files. What I would like to do is create a file using vi of all the various commands I have learned. That way I could find each individual ...
1
vote
0answers
28 views

/usr/sbin/nologin & GUI login

I have an account with /usr/bin/nologin as the login shell. If I try to su to that account, I get the message: This account is currently not available as expected. In /etc/lightdm/users.conf, I ...
0
votes
2answers
41 views

How to change command line executable? [duplicate]

When I open Sublime Text from the terminal, I have type in $ sublime_text <filename> Is there any way I can change it so I can say something like: $ subl <filename>
0
votes
0answers
25 views

No Desktop, Just Dash

This may be a familiar story but I had 14.04 running great on a laptop (ASUS UL80VT). This laptop has Nvidia and Intel graphics, and I had the Nvidia drivers running. I had this set up for a Plex Home ...