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

learn more… | top users | synonyms (5)

1
vote
2answers
36 views

Get full path of currently open files

I'm trying to code a simple application that must read all currently open files within a certain directory. More specificly, I want to get a list of files open anywhere inside my Documents folder, but ...
1
vote
2answers
53 views

Terminal Startup

my problem is in my account on ubuntu 13.10 when i open terminal the cursor is something like that "$" not something like that root@yunus-ubuntu:~# or yunus@yunus-ubuntu:~# why it is happening i ...
1
vote
2answers
59 views

How to start in background a list of applications on login

I observed the following thing: I login on my computer account. I run in the Terminal some-app I wait about 20 seconds to start. Then I close it. I run same command in terminal. It start in about 1 ...
1
vote
2answers
133 views

Move data from one drive to another drive

I am using Ubuntu 12.10 as a LiveCD in-order to move data from one drive to another drive because my previous OS crashed and I don't have my files backed up. Unfortunately, it is in C: drive. So I ...
1
vote
2answers
130 views

Prevent user from executing history -c command in shell

Is it possible to prevent specific user from executing history -c command in shell.
1
vote
2answers
1k views

Terminal Buffer Size

I'm running Ubuntu 13.04. I perform a lot of work from the terminal and prefer to switch sessions (using CTRL-ALT-F1, F2, F3, etc.). My desktop is less cluttered without the Terminal windows. When I ...
1
vote
2answers
5k views

Mount.cifs vs. SMBClient

I am using Ubuntu 13.04 to connect to a Windows 2008 Server: If I use mount.cifs //server/share /mnt/mountpoint -o username=domain/credentials I successfully connect, but if I try to cp a file, I ...
1
vote
2answers
138 views

Ubuntu Failes to Recognize Java

I've been having an issue with Java since I installed Ubuntu and it has been the main reason I have stopped playing certain Java-based games such as Minecraft. You see, although I've downloaded ...
1
vote
2answers
64 views

How to compile 'stygmorgan-0.29'?

I am trying to compile stygmorgan-0.29.tar.bz2 and got these messages: stygmorganui.cxx:7:28: fatal error: stygmicon128.xpm: No such file or directory compilation terminated. make[2]: *** ...
1
vote
2answers
127 views

Simple shell script

I am quite inexperienced when it comes to Linux and now I am setting up the system. What I want to do is to write a shell script, that will do two things: Start i2prouter - as I do not want it to ...
1
vote
2answers
229 views

How to check what local server is installed in my machine?

How do I know if my machine (Ubuntu) is using some local server? Like wampp, xampp or lampp? And also how do I know my Ubuntu version something like that?
1
vote
2answers
107 views

Guake no longer showing desktop when opening

It used to show the desktop as a background when I open it, but for some reason it's just overlying (so the top most window is now the background). Is there a setting somewhere to prevent this? ...
1
vote
2answers
576 views

Ubuntu 12.10 Wireless Problem; only showing me Bluetooth option

My laptop is Dell Inspiron 15R. I have installed Ubuntu 12.10 a week ago, and realized that the option for wireless is not there. Not even in the network settings, so I went through the problems ...
1
vote
2answers
62 views

Is it possible to change the group of a file if I am not part of that group?

Is it possible to use chgrp or chown to change a file's group to one that I as the owner am not a part of? I own the file, but I am not part of the group that I want to change it to, so can it be done ...
1
vote
2answers
134 views

How to take the first n files from a directory with a letter in alphabetical order to another directory

I need to take the first 3 files from a directory starting with letter b in alphabetical order to another directory. I've come up with this command: find ...
1
vote
2answers
307 views

How can I only show week day and date in my gnome shell clock?

I had to reinstall Ubuntu 12.04 on my desktop pc after something went awry while trying to update to 12.10. Before reinstalling, my clock had the following format: Wed 13:21: And now, this is what ...
1
vote
2answers
33 views

How to reinstall programm without removing it? All programms? Resetting configs?

How to reinstall programm without removing it? All programms? Resetting configs?
1
vote
2answers
970 views

Create startup terminal program

I would like Ubuntu to open up a terminal window and apply the following code upon login: xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync xrandr ...
1
vote
2answers
211 views

Is there any way to log windows log messages using rsyslog?

Is there any way to log windows log messages in linux using rsyslog? even if any other open source methods are available, then your suggestions would be appreciated. thanks in advance.
1
vote
2answers
513 views

Alternative terminal for Ubuntu that supports predefined sessions

I am looking for a better (GUI) terminal for Ubuntu that supports: tabs, preferably colored ones change notification - output is changed on an inactive terminal define a list of servers to connect ...
0
votes
2answers
91 views

Uninstalling app/program/service installed through *.sh script

I have installed a program using install.sh from command line, but it is not responding hence need to remove it. How to remove such program? Thanks a lot in advance. Here is the shell script. #! ...
0
votes
2answers
166 views

How to grab a youtube channel

I always use youtube for getting many information I need. What i want is a script or a command line that grabs and installs all videos from a given channel path. I.e. I want to download all videos ...
0
votes
2answers
50 views

How to remove redirection unexpected syntax errors

I am loading using Ubuntu for beagleboard-xm sd card partition so after last stage of partition I have entered a command like this ./omap3-mkcard.sh /dev/sdX I have got ti-lab@KILBY:~/angstrom-wrk$ ...
0
votes
2answers
48 views

unable to type commands in terminal

I was install mpi and I have given the path for it in the .bashrc and I closed my terminal and after some time again I opened terminal it's showing following error in the very first line followed by ...
0
votes
2answers
29 views

How to list the size of a directoy and subdirectories and files inside it by terminal?

Is there a command to list a directory total size and then each sub-folder and files inside it . Its good to sort them by increasing order also so i can know which is the grater folder size . Any ...
0
votes
2answers
41 views

When I use the text command line interface it says my login is incorect

I need to install a .run file. So I went to the text command line interface ( The thing that you do by pressingAlt+Crtl+F1). I put my login information correctly but it tells me my login is ...
0
votes
2answers
61 views

Change directory

I'm trying to ADB up and going but having a bit of a hard time. I'm not a noob by any means when it comes linux. In order to install Android SDK Tools I need to change directory and this is what im ...
0
votes
2answers
25 views

How to open applications after booting a purely Command line interface?

After booting linux in purely command line mode how can I open an application eg web browser or Libre Office? For example if I use the command "play" with any audio file it starts to play it. I want ...
0
votes
2answers
93 views

Ctrl+Alt+F1 - incorrect login

I have pressed the keyboard combination Ctrl+Alt+F1, because I wanted to see the output of my commands as they were being executed, but I got the following error: incorrect login.
0
votes
2answers
512 views

accessing MySQL using terminal in Ubuntu 13.04

accessing phpmyadmin db from terminal now in ubuntu 13.04 i firstly installed mysql server with sudo apt-get install mysql-server mysql server version 5.5 now in terminal i can check if it is working ...
0
votes
2answers
59 views

ubuntu terminal & operator

What does the following command do: COMM1 & COMM2 and how is it different from: COMM1 && COMM2
0
votes
2answers
51 views

Wi-Fi browsing history

Is there a way of viewing a Wi-Fi network's browsing history? (probably using the command line) Is there a package which serves this purpose? My OS is Ubuntu 13.10
0
votes
2answers
301 views

force format an encrypted/read only memory card

I had 1 GB memory card which I was using with my blackberry mobile. I suppose it was encrypted and read only. When is insert the memory card it shows the following file in it 9棥z.C6 pretty weird ...
0
votes
2answers
110 views

Save enviroment PATH once I added one

I'm trying to add an environment path for android studio, and I've done the following steps: checking is there is already: echo $PATH add my path: export ...
0
votes
2answers
37 views

How to find erase and line kill character for ubuntu 12.10

I'm new to Unix and have bought today a copy of "The Unix Programming Environment". I'm trying out the stuff from the book. But some of them are not working as expected like : To kill a line and ...
0
votes
2answers
502 views

How can I run gcp without an X server?

I installed gcp because I often copy large directories from one place to another and I want to see a progress bar to know how long it will take, but this is running on a minimal server so I don't have ...
0
votes
2answers
132 views

Vim AutoComplPop issues?

I need auto-completion in vim for programming languages, for that I downloaded the AutoComplPop followed the instructions mentioned there and copied the files cp -r ...
0
votes
2answers
177 views

Can't open terminal from one of the user accounts

I have a administrator account in which if i open the terminal, it like shows up for a fraction of a second and then vanishes. i tried with guest and other user accounts (created from this one). I was ...
0
votes
2answers
2k views

How to clean /var/cache?

When I woke up this morning, I found my root had filled overnight du -hx --max-depth=1 / 132M /boot 4.0K /media 16K /lost+found 16M /root 702M /lib 4.0K /OLDHOME 8.2G /usr ...
0
votes
2answers
454 views

Linux Touch Directory Command

What does the command 'touch' when applied to a directory? dragos@Dragos--XPS-L702X:~$ mkdir test dragos@Dragos--XPS-L702X:~$ ls -l total 52 drwxr-xr-x 2 dragos dragos 4096 Oct 25 00:42 Desktop ...
0
votes
2answers
154 views

How to connect to a network from terminal

I recently updated to 13.10 from 13.04. After rebooting, the system dropped into low graphics mode. I had previously configured a Wireless Broadband connection named:"EVDO Connection". How do I ...
0
votes
2answers
67 views

Make icon for Firefox 24 on Ubuntu 13.04

How does one make a shortcut for Firefox (like any other application that has an icon) that has a command. Firefox 24 run from terminal. Reason I had to uninstall previous version (20) of Firefox was ...
0
votes
2answers
140 views

Cronjob is not running, but works from scheduler

I have this script for file show.sh #!/bin/sh zenity --warning --text "here" in crontab i have this line * * * * * /home/user/Public/show.sh then i restarted my crontab user@user-170:~/Public$ ...
0
votes
2answers
289 views

How to send current of line of code to terminal input in gedit 2013?

I just switched to ubuntu. I want to use R and I am using gedit to write R script. When I was using Mac, I was able to use run a R script line by line. However, I have no idea how to do this now in ...
0
votes
2answers
76 views

Open Ubuntu DIrectory In WIndows?

My Ubuntu has a problem with /etc/rc.local , because of it , my Ubuntu won't boot to desktop . So I want to remove some entries in rc.local on Windows , how can I do it ? Thanks . (I think I can't ...
0
votes
2answers
63 views

append any line that starts with <br> with the previous line in whole document

I wanna remove spaces and join line that starts with specific words at the last of previous line. Example From `<b>any thing that matters<b> what ever, i don't know. <font=any ...
0
votes
2answers
289 views

Why syntax error near unexpected token `fi' is coming

This is my simple script but it is saying that syntax error near unexpected token `fi' mysql --user=root --password= erpint -B -e "select * from user_info;" | sed ...
0
votes
2answers
68 views

How to reboot morethan one remote system?

I am using Ubuntu 10.04. I need to reboot multiple systems at a time from my Ubuntu machine.Tell me the way to reboot multiple systems at a time
0
votes
2answers
236 views

Litle question about ufw command

Hi guys i would like to setup a specific rule for my ufw but i have the problem. How could i type this ? from ip adress 192.168.1.203 on interface eth0 alow port 80 I have on local pc ip address ...
0
votes
2answers
87 views

How to execute a terminal command at boot

What i want to do is get this custom screen resolution with xrandr to run at every boot so i don't have to enter it myself or copy and past it this is the code i want to run at every boot cvt 800 600 ...