A terminal is an environment for text input/output. Inside the terminal, one runs command-line and text mode programs (including shells).
0
votes
2answers
26 views
Why screen is not splitting my GNOME terminal?
I am working in a remote Linux box using VNC.I have a single terminal with lots of tabs opened in my system. How can I split them using the screen utility? Does the screen utility work with already ...
1
vote
1answer
63 views
Is there some sort of “no newline at eof” rules for bash scripts?
I have two files, an env file and a run file. When I deploy them to my Ubuntu Server box I get the error:
./start-admin: line 10: syntax error: unexpected end of file
If I deploy and then add a ...
2
votes
1answer
17 views
How can a bash script detect support for window titling escape characters?
I have a debug trap that runs every time I enter a command in bash that sets the window title to indicate what command is running. I'm leaving out all the configuration details and boil it down to:
...
4
votes
3answers
69 views
Is a command's stdout to the terminal being logged?
I am interested in learning whether a command's output to the terminal is logged somewhere.
Since that can be a bit too generic, what about cat (and ccat) in specific? If I use cat on a file, will ...
1
vote
0answers
50 views
Confused about Debian error message from su
On Raspbian, the Debian distro aimed at RPi, I end up getting the following error:
$ sudo su -l root -c /bin/bash
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no ...
0
votes
1answer
41 views
Cannot execute binary file on Mac OS X Lion 10.7.5
I want to execute phylocon on a mac OS X lion but after changing the path and making the file executable, I get the error 'cannot execute binary file'. But the steps that I took to running the command ...
1
vote
1answer
99 views
Endless data loop from dev/ttyUSB while sending AT commands
I have problem sending AT commands to my USB modem.
At first I tried php-serial class, but when i was reading data, I got endless loop with strange data. Then I tried to debug problem and opened putty ...
2
votes
1answer
14 views
messages appearing when not desired
I have SSH access to a CentOS box and I have a strange behavior of that box, I have never seen before.
Lets say I am editing a file with vi or displaying tail -f of a file. Every time the server has ...
1
vote
1answer
74 views
Del key in AIX ksh over PuTTY telnet
At the place where I work we're developing under AIX with ksh and connecting to it via telnet. Most people use ArcTel to connect, while I prefer PuTTY. The only problem I have with PuTTY is that the ...
5
votes
1answer
51 views
Why are multiple command-line terminal consoles available/running at the same time on RHEL systems?
I'm studying for the RHCSA and am trying to wrap my mind around a seemingly basic concept: terminal consoles. I don't understand how/why RHEL systems make 6 terminal consoles (/dev/ttyN) available ...
1
vote
1answer
62 views
Tmux status bar question
I'm fairly new to tmux and to truly master and learn it, I decided to make myself a fresh .tmux.conf
I was wondering, though, if it's possible to hide a path in the status bar.
For example, I have ...
0
votes
1answer
33 views
Looking for an 'all in one' application with a script panel and a console
I'm quite impress with Windows Powershell ISE.
Here is a nice video.
ISE stands for 'Integrated Scripting Environment' and it's an application that has a panel at the top for scripting and a panel ...
1
vote
1answer
46 views
Can I use xterm to read/write to a pts without spawning another process (e.g a shell)?
I have a process which reads and writes to a pseudo terminal. I would like to open xterm and have it open a pseudo terminal and leave it open so I can communicate with this process without creating ...
1
vote
0answers
34 views
How to setup an audio/sound output monitor/listener?
I am working with an Arduino and am trying to get it to respond to sound when it is played on my computer. I'm communicating with it over a serial port.
I need to know if there are any audio/sound ...
2
votes
3answers
68 views
Linux GCC compiler options
I have recently started using Linux as a tool for programing. In my book, I have seen that the GCC is used with 2 options: -g and -o. Now, I know that -o is to set a filename, but what is the purpose ...
23
votes
1answer
362 views
What happens when Ctrl + Alt + F<Num> is pressed?
I am looking for an explanation of what happens in Linux when this key combination is pressed to change the current terminal. In particular, what software component intercepts this key combination and ...
-3
votes
0answers
54 views
mv: try to overwrite `/opt/sana/media', overriding mode 0755 (rwxr-xr-x)? [closed]
I tried to move like as follows:
mv ./* /opt/sana
Then it asked this:
mv: try to overwrite `/opt/sana/media', overriding mode 0755 (rwxr-xr-x)?
Now, how do I override the files in current ...
0
votes
2answers
79 views
Bandwidth, CPU & Memory stats returned in single line from terminal
I'm trying to create a simple monitoring system that will show a graph of sales that is linked entirely to data of bandwidth, CPU and Memory stats as they relate to sales. So if I sale 1 widget per 5 ...
1
vote
3answers
77 views
UNIX be-spoke Shell-Script / Commands
Sorry in advanced if this question would be better suited on SO.
Basically, I'm getting used to using the command line interface (linux etc..) and I come across commands like:
git [command]
.. ...
2
votes
0answers
53 views
tmux status line with blank line on top?
I have a nice tmux status line, but I don't like how the bash/commands run flush along it...that is, if the screen is full, i'm typing things right above the status line.
I'd like a one line break ...
1
vote
1answer
55 views
Why do only some terminals get a pts
When I try to use write to talk to users logged into an X session results vary depending on which terminal they are using. Gnome terminal can pick up writes, but neither lxterminal nor terminator can. ...
1
vote
0answers
51 views
how to make terminal utf-8
How can I make my terminal(bash) window uft-8, that it can show utf-8 characters?
my operating system is : ubuntu 12.04 my desktop : gnome-shell
How about native shell(outside of desktop)?
-1
votes
0answers
52 views
How to get init to start daemons [closed]
I just got init to work and I want to know how to use rc.d with symlinks in order to start a shell like sh or bash.
1
vote
1answer
31 views
How can I find the valid values for TERM to use in tmux?
When starting tmux I need to pass a valid terminal type. Since I am scripting the initial startup of tmux I would like to cover all bases by figuring out the valid values of TERM on the current ...
4
votes
0answers
170 views
Raspberry Pi, serial console, minicom, and gnome-terminal
I'm trying to access my raspberry pi via its serial console on the gpio pins. It's working fine through a USB-3.3v serial dongle. However, there's a problem with long lines and long screens not ...
1
vote
0answers
37 views
Error while importing Compiz profile from Terminal
File name : import.py
#!/usr/bin/python
import sys
import compizconfig
#The last input on the command line will be the path to save the file to.
savefile=sys.argv[-1]
...
0
votes
1answer
81 views
Why does my terminal open the Mint documentation page automatically?
I'm using Linux Mint, today I have a very strange behavior of my terminal. When I type "space" in the keyboard, it opens automatically the page http://www.linuxmint.com/documentation.php and then I ...
3
votes
1answer
52 views
Using xdg-open for accessing network with normal explorer
I'm working with small network and I want to start network explorer from a terminal. When I tried to type xdg-open network:///server it opened google chrome and did nothing. I also tried to type ...
1
vote
2answers
78 views
How to solve the issue that a Terminal screen is messed up? (usually after a resizing)
Sometimes, a terminal screen is messed up, and when we use man ls to read the manpages, or press the UP arrow to go to previous commands in history, the screen will show characters not as the right ...
0
votes
0answers
39 views
Input freeze when X starts on other terminal
I have a Packard Bell F2011HC-125GE running a Debian Squeeze-based Linux.
After a few days of usage i found the system freezes from time to time.
It's obvious the freezes happen, when X starts while ...
1
vote
1answer
108 views
How can I change locale/encoding to avoid getting weird characters in terminal?
I have installed tree on my ubuntu box, when i connect to it from Putty and I launch tree i get this :
$ tree
âââ html.vim -> xml.vim
âââ js.vim -> xml.vim
âââ xml.vim
instead of this :
$ ...
1
vote
2answers
156 views
ALT+F2 doesnt work in Linux Mint Mate
I am trying to install Sublime Text 2 on Linux MINT (Mate) from this tutorial. http://community.linuxmint.com/tutorial/view/907 and I'm stuck on:
Next , to create a menu icon press Alt+F2 and type:
...
0
votes
2answers
41 views
is writing to slow storage in nohup mode blocking the process?
If I have a process writing to nohup and the storage where it writes to is slow, does it block the process which is running in nohup? For example:
process A is running in nohup, it needs to write 10 ...
1
vote
3answers
287 views
What's the difference between these ways of accessing the shell?
From what I know it seems that there are many ways to access the shell on Linux. So far the methods I know are:
To use a program such as Terminal or Konsole
To use the shortcuts CTRL + ALT + F1-6
To ...
0
votes
1answer
108 views
How to change terminal character encoding
Today I uninstalled the GUI packages on my home CentOS installation. Now, when the machine starts, I get the login prompt. It acts finicky. Sometimes pressing enter just once after answering each ...
2
votes
1answer
73 views
How to get rid of special characters in the output of make on centos
I installed centos6.3. When I run gcc, it outputs errors but the function names are surrounded by special characters like this
‘setup_connection’:
This same is repeated with variable names. I ...
15
votes
1answer
275 views
How does “man” restore the screen when I quit the program?
If I open a man page of a program like cat or ls, it prints (may not be the appropriate word) the contents of the man page and when I press q, it shows the screen just like before invoking the man ...
3
votes
1answer
84 views
How to set the bash display to not show the vim text after exit?
My question is simple, but I am finding it hard to frame/explain it easily.
I log into several Unix boxes with different accounts. I see 2 different things for user1 and user2, while editing text ...
8
votes
4answers
392 views
How to scroll in a terminal using keyboard?
How can I scroll in bash using only the keyboard? If it's not possible in bash, are there any other shells that support this?
1
vote
1answer
105 views
run a remote process via autossh in background
In Ubuntu I'm trying to run the geany editor on my local X display via the command:
autossh -o StrictHostKeyChecking=false -XCg me@otherDYNDNShost geany &
Trouble is, after the first ...
2
votes
1answer
40 views
Why do I get this 'Erase is backspace' message after I do a reset in xterm?
So when I do a reset in xterm I get something like this:
Erase is backspace.
[omarg@computer]:
I've already checked my .bashrc and .Xdefaults files but it doesn't seem like that message is being ...
0
votes
0answers
198 views
I can't open the terminal in Cinnamon
I have Linux Mint 13 with Cinnamon installed, but I can't open a terminal using right click nor using CtlrAltt this is just an issue with Cinnamon, why is that happening?
Update
I tried to solve the ...
2
votes
1answer
98 views
Fonts bug in terminal (Arch)
I' ve installed droid fonts, after that in terminal I see the word not well, someone is on another
As you can see the problems are especially with 'm' and 'w'
What's the problem?
3
votes
2answers
116 views
mounting local network folder in Ubuntu
I add a folder in /etc/fstab:
//172.30.12.37/test/ /home/my/test cifs user=afs,pass=123456,auto,exec,umask=002,gid=1000,uid=1000,file_mode=0777,dir_mode=0777 0 0
Now test link can be seen in ...
6
votes
3answers
273 views
Difference between commands in bash script and commands in terminal
Are there any differences between commands that you type into the terminal and commands you include in a script?
4
votes
1answer
68 views
ncmpcpp character problem
This was really wired! All = became q on my xfce4-terminal app, what's wrong with it?
Any ideas?
%> set | grep LANG
LANG=en_US.utf8
LANGUAGE=en_US.utf8
1
vote
1answer
132 views
What is the .screenrc file for?
Just a question for the experts that I know will help me. ;)
What is the .screenrc file for? I have seen it in some dotfiles repos and such but I don't quite understand what it's for.
Judging from ...
2
votes
2answers
111 views
How to stop GUI apps spam the terminal?
I start a gui app from a konsole window and it writes out totally useless information. I do not need that. Is there a way to stop this, once and for all? I tried disown, doesnt help. I guess 2>&1 ...
5
votes
2answers
71 views
Getting or cloning the users current terminal?
I have to work with a script that forks and launches an instance of xterm in order to display log output in one window and have an interactive interface in the other. Personally I prefer rxvt-unicode ...
5
votes
4answers
179 views
Disable colours on terminal and SSH
My local Linux machine has coloured terminal output like this;
When I SSH to a pfSense/BSD box it changes the colours like this;
Even when I SSH from to a machine that doesn't have a coloured ...