The command-line is the interactive interface to your shell.
4
votes
0answers
758 views
What do I need to add a virtual IPsec adapter?
I'm trying to set up an IPsec connection manually from the console with iproute2.
What I need is a virtual interface (at best, a virtual IP address could also be sufficient) that IPsec-transforms ...
3
votes
0answers
31 views
Convention/standard on using curly braces around options
Man page for tar in arch linux SYNOPSIS section starts with:
tar {A|c|d|r|t|u|x}[GnSkUWOmpsMBiajJzZhPlRvwo] [ARG...]
I perfectly understand that in this situation it means that exactly one of them ...
3
votes
0answers
99 views
Multiple wget calls in a single session?
I have the following code to retrieve a page from a website that needs authentication (it uses Sungard Higher Education authentication):
wget --delete-after --save-cookies cookies.txt ...
3
votes
0answers
290 views
Import VPN config files to NetworkManager from command line
One can import .ovpn files to NetworkManager through GUI tool nm-connection-editor (right click on nm-applet and click on Edit connections): Add -> Import a saved VPN configuration....
My goal is to ...
3
votes
0answers
5k views
fatal: bad ownership or modes for chroot directory component “/”
I used to be able to connect via ssh with the user I have created but now I keep getting: "Write Failed: Broken Pipe" and I can only connect as root
In the ssh auth.log I get the following:
...
3
votes
0answers
201 views
Xorg Setting checking from Command Line
How do I determined, whether Xorg is using
Xinerama, DDC and Reduced Blanking ??
Just adding few options in Xorg.conf is sufficient ?
If I have to check from command-line, then how can I check ...
3
votes
0answers
174 views
How do I make the CLI run on dedicated graphics?
I just finished my Gentoo minimal install and the first thing I wonder is why I get no picture. I did have signal on the live CD, so that was pretty odd. I plugged the monitor into the Intel HD ...
3
votes
0answers
92 views
Importing hdhomerun channels into MythTV
I am setting up a MythTV backend, to stream Live TV from.
I scanned for channels with the hdhomerun_config utility, and got this
However, I really don't have a clue how to import it into MythTV.
2
votes
0answers
15 views
Why reading from and writing to framebuffer shows no effect ?
I read a very short description of how to make a Screenshot by making use of the file which represents the framebuffer /dev/fb0.
in order to write the screen content:
cat /dev/fb0 > file
in ...
2
votes
0answers
36 views
How to display entire subject line in `mail`?
There are two messages in /var/mail/test.
mail
Mail version 8.1.2 01/15/2001. Type ? for help.
"/var/mail/test": 2 messages 2 new
>N 1 test@test Tue Feb 17 15:07 18/628 *** SECURITY ...
2
votes
0answers
40 views
Show connected printers in CUPS
Is there a way to list the available/connected printers in CUPS using the command line or better yet using the CUPS API ?
I already tried lpstat -a but it only lists the installed printers and not ...
2
votes
0answers
71 views
How to access KVM guest console without password?
How can I configure a KVM guest running CentOS to allow passwordless console access from the hypervisor? I want to be able to use the following command to log straight in to the VM from the hypervisor ...
2
votes
0answers
321 views
How to use terminal to access iCloud Drive when Finder is not running
I would like to access iCloud drive from Terminal in order to create an emergency backup. Unfortunately, my installation of Mac OS Yosemite is not operational, so I am using recovery mode to create my ...
2
votes
0answers
82 views
Open a program (VLC) and move it to the foreground
On a Mac, specifically, when I use the VLC command line to open a video file, it opens in the background by default. How can I instead move it to the foreground whenever I run the command to open a ...
2
votes
0answers
27 views
Close All Piped Commands if one close
I'm running at least 3 commands (with progs) using pipes. For example
program1 bla bla | program2 blabla | program3 bla bla
Is possible to close all programX PIDS automatically if at least one ...
2
votes
0answers
65 views
How to make grub Command Line Default?
I'd like to make grub by default load it's command line instead of automatically booting from it's list of options generated by update-grub.
How can I do this?
2
votes
0answers
50 views
rlwrap-like tool with command autocompletion
I am often using rlwrap sqlite database.sqlite to browse an SQLite table. It works great but I would like to have a tool that would create an index tables (and possible its columns as well) and let me ...
2
votes
0answers
86 views
Why does the kernel boot faster with less memory allocated?
This is not a important question, I'm just curious. Something strange happened, which isn't quiet clear to me:
In the kernel command line, the amount of the memory can be set statically with the ...
2
votes
0answers
1k views
rsync multiple files to multiple directories
I need to move a large number of files that need to go to different directories i.e.
file1.mpg to /mnt/s3/directory1/file1.mpg
file2.mpg to /mnt/s3/directorya/file2.mpg
file3.mpg to ...
2
votes
0answers
160 views
Can “grub-emu” make any changes to my system?
Can "grub-emu" make any changes to my system? I understand that the command "grub-emu" opens a GRUB emulator. However, since it loads the configuration files used by the "real" GRUB, I am a little ...
2
votes
0answers
106 views
Command-line file reader (like “less”) that can tell the line where the user stopped reading
[Context] I'm developing a little app, as a hobby to learn ncurses, that catalogs and lists and searches within a set of documents (for now, they are the HOWTOs from TLDP).
The most tricky part of ...
2
votes
0answers
172 views
How to emulate a KWin effect by command line?
I would like to apply the Toogle Invert Effect when I start my system.
So, I need to know how to call this KWin effect using the terminal.
OBS.: I'd tried xte "keydown Meta_L" "key i" "keyup ...
2
votes
0answers
907 views
Using Image Magick Convert to Change Channel Depth?
I want to change an image depth of bitmap for testing purposes. Right now I am trying to get a 2 bit palette image, and a 4444 Hicolor image.
I have a true color bitmap. I used the below command ...
1
vote
0answers
40 views
How to generate a list of configuration files accessed by a tool (eg bash or vi)?
Many times, there are slight inconsistencies between two similar linux machines, where (for example) tmux supports colours on Machine M1, and does not support colours on Machine M2, or vi adds ...
1
vote
0answers
5 views
Is it possible to make a key word search of all existing channels of all the irc networks from the command line ?
I am new to IRC (internet relay chat), as I understand it,
an IRC network has a unique name like DALnet, is made of a chain of servers, a person can connect to one of them in order to connect to the ...
1
vote
0answers
30 views
Printing to the terminal after boot
I am attempting to start a script that echos to the terminal once matchbox-terminal is loaded. I am able to run the script if I execute it in the existing xsession script located in ...
1
vote
0answers
12 views
How to start the twm manager on a system which already has a window manager ?
I am using linux mint codename rebecca with xface.
I tried to follow a description how to start a window manager of once choice:
created an empty .xinitrc file in my homefolder
filled the file with ...
1
vote
0answers
21 views
Check if there is no GUI
Is it possible to check if a UNIX machine (Mac / Linux) has a GUI?
Basically I would like to distinguish between:
UNIXes with GUI (i.e. normal Macs, Linuxs)
UNIXes with no GUI (i.e. Mac server/ ...
1
vote
0answers
61 views
What is the meaning of the string **/* when used with grep?
I came across this picture (below), obviously it is a pun or some kind of allusion incorporating command-line expressions. Frankly speaking I do not understand anything of it except for grep -n. ...
1
vote
0answers
16 views
mkvmerge Backward Spliting not supported why?
I tried this:-
mkvmerge -o new_file.ogg --split parts:0s-104s,+94s-208s,+8s-12s,+312s-410s,+17s-21s 500.ogg
Thrown this error:
"The start time must be bigger than or equal to the previous part's ...
1
vote
0answers
75 views
Unable to create a configuration directory for [FishShell] Please set the $XDG_CONFIG_HOME variable
I'm getting this error when starting fishshell:
melanie:~ melanie$ fish
fish: Unable to create a configuration directory for fish. Your personal
settings will not be saved. Please set the ...
1
vote
0answers
49 views
How to abort/cancel a running command in initramfs?
When I invoke a long-running command, e.g. du, I don't see a way to abort/cancel it (Strg/Ctrl+c doesn't work), other shells/ttys aren't available. Am I completely doomed after having started a long ...
1
vote
0answers
38 views
Control iPhone music from linux command line
Is this possible? Could one, for example, send a command to an iPhone which tells it to start playing a certain song?
1
vote
0answers
76 views
How do I recursively apply default ACLs of a directory to its descendants?
If I have a directory with default ACL entries assigned to it, but some or all of its descendant files and sub-directories have access or default ACLs that do not agree with those defaults, how do I ...
1
vote
0answers
88 views
How to connect tata photon in X window manager in ubuntu 14.04 using command line
Due to some reason I had to shift from Gnome to X(basic X). So here on the desktop nothing appears (no launcher, no menu bar, nothing) but we can open command line in it using Ctrl+Alt+Tab. (I have ...
1
vote
0answers
194 views
Changing KDE's mouse theme and buttons settings from a shell script
I'm trying left handed mousing, and I want to be able to easily switch between right handed mode and left handed mode. There is a utility for Windows called SwapMouseButtons that allows to bind a key ...
1
vote
0answers
86 views
Error mounting shared folder for KVM Solaris guest
Followed this guide on how to set up a shared folder between a KVM Host(Ubuntu 12.04) and Guest (Solaris 10 Sparc). On the last part of the it requires you to mount the shared folder and typed in this ...
1
vote
0answers
73 views
Telnet IAC commands
I want to turn off character echoing in Telnet via linux command line by sending "IAC DON'T ECHO" command. I have been searching everywhere, and I couldn't find how to to do.
Basically, I don't know ...
1
vote
0answers
30 views
How to correctly set kernel command parameter for sdboot
Thease are the kernel command line parameter
Kernel command line (user set)
root=/dev/mmcblk0p2 rw rootwait console=ttyPS0,115200
I am trying to run linux from sd card, and the file ...
1
vote
0answers
256 views
How to use fslint (in particular findnl) on the command line to actually mimic the behavior of the fslint-gui?
So I am trying the fslint tools. However, the help included in those tools as well as the man page don't indicate that the cleanup actions offered by the fslint-gui are also available through fslint ...
1
vote
0answers
85 views
CLI network management
I've set up a console typewriter: a laptop with a minimal Debian install and no X server. I use it as a typewriter and I use wifi to sync my documents.
I connect to wifi using wpa-supplicant. That ...
1
vote
0answers
132 views
List/query Open X11 Display Connections?
I am hitting this bug: NEWT errors when closing sketch on Linux · Issue #1651 · processing/processing · GitHub, when using Processing on Linux (Ubuntu 11.04); my messages are:
X11Util.Display: ...
1
vote
0answers
157 views
Character encoding issue with my linux install?
I just installed Ubuntu 12.04.4 64 bits, all seemed to be ok, when I started to work on console I noticed:
that I couldn't get some accented characters typed in to the console, for example, if I ...
1
vote
0answers
42 views
Multi-file simultaneous downloader with live statistics for all files
(I recently asked the question "Console download accelerator that downloads *multiple* files simultaneously" and learned about lftp, an excellent program which can download multiple files ...
1
vote
0answers
533 views
Console Terminus Font Size in Slackware?
I am running Slackware 14.1 mostly from the command line on a 1366x768 monitor (using a vesa mode appropriate for the resolution, 0x34c if it matters, giving me a screen resolution of 1366x768x32 in ...
1
vote
0answers
157 views
Tmux hidden input at command line
I've just started using tmux recently, and have run into this problem a few times.
Whatever I type on the command line, is hidden from view until I press enter and it is executed. I don't know how I ...
1
vote
0answers
193 views
Can't unlock a file for path change
I'm trying to order the path entries on my mac, but it seems that my /etc/paths file is Locked.
I tried the instructions on this link, but I can't save the file as it is locked. I even tried chflags ...
1
vote
0answers
102 views
boot updated kernel image on beagleboard
Boot updated kernel image on beagleboard.
I had installed a kernel on Beagle-board to update image of kernel to it. I've used this command:
$ sudo apt-get install linux-image-3.2.0.49-omap
It ...
1
vote
0answers
229 views
Super slow internet requests
My Internet connection seems to be extremely slow on loading pages, specifically (it appears) when the browser sends the request for the first time. It takes like 5-6 seconds just to send the request ...
1
vote
0answers
79 views
add audio from playing file to microphone stream
I need to add a sound to what the microphone is capturing, is it possible?
I started with
man aplay
and found that I can do
aplay -D PCMdevice filepath.wav
so then I listed the PCM devices with
...