0
votes
0answers
5 views

Rows to column conversion of file

Suppose I have a file: File1: PAPER TEAM MANISH NISHA GARIMA JYOUTI ........etc File2 I want: PAPER TEAM MANISH NISHA GARIMA JYOUTI Rows to column conversion of File 1.
0
votes
0answers
3 views

Fedora 8 Live KDE installed on harddrive network problem

Ive been installing fedora 8 on intel atom based cpu I have a running internet connection, the question is : i've set my eth0 using ifconfig and route add, why i cant connect to the internet ?
0
votes
0answers
4 views

Why are my windows highlighted when I first open tmux?

Sometimes after having been away from my computer for a while, when I open tmux all the windows in a session have sort of a background highlight: Once I cycle through them, it disappears, and only ...
0
votes
0answers
5 views

Is there a reason I can't mount with a prefixpath in this scenario?

I'm not sure why this scenario is so weird, but I have a particular combination where this command won't work: mount -o username=guest //192.168.1.70/Volume_1/Movies/Library /storage/movies I get ...
0
votes
0answers
10 views

Update process name in shell, is it possible?

In C/C++ it is in general possible to do strcpy(argv[0], "new process name"). It's a hack used in malicous software to hide real process name. Is such operation possible via shell? What I want to do ...
1
vote
1answer
11 views

find and sed (find and replace) causes illegal byte sequence on Mac OS X

I am attempting to perform a find and replace of underscores to dots in a directory for certain filetypes only (.mkv, .mp4, .avi). This is the code that I am using (I'm on Mac OS X 10.9): find . \( ...
0
votes
0answers
2 views

Debian Squeeze: TCP/ICMP stops working suddenly (R8169 Driver)

we suddenly see our NETWORKING stops (TCP/UDP/ICMP) in our client system. tcp: We tried reaching our server every 5 seconds.But , there was no connection establishment TCPDUMP REF: ...
0
votes
0answers
7 views

Configure wget to ignore a specified domain, or treat it differently?

I'm using wget to mirror an old website with all of its --page-requisites. Unfortunately, one of the domains which used to serve some of these requisites - is now offline. Every time wget tries to get ...
0
votes
2answers
10 views

httpd error: Address already in use: AH00072

I have a server, CentOs 6.5 which were installed xampp by a friend of mine. But I thought it's best to install apache, php and mysql from yum. I have it removed simply by using this #rm -rf ...
1
vote
0answers
6 views

configure error when trying to install LASH: “configure: error: C compiler cannot create executables”

Following the LASH manual step by step, got stuck trying to run the configure script. (LASH's dependencies are ALSA, JACK, libuuid, libxml2, GNU Readline lib, and some derivatives require GTK+2. I ...
1
vote
0answers
7 views

How to do x2go Remote Login for Machine Initialization?

I am a cloud computer user. In order to create a new virtual machine in the cloud, usually I have to initialize it using vnc viewer in the cloud control panel before I can access it with x2go client. ...
1
vote
0answers
6 views

Connect OpenVPN server on Ubuntu Guest VM

Setting up OpenVPN server on Ubuntu Server VM and trying to connect to it from HOST Windows 8 but had no luck. There is no connection. Whats wrong? Everything was did with this tut: ...
1
vote
0answers
17 views

Restore Trash Script not working

I made a script to send a file to a trash folder... echo "Are you sure you want to move this file to the Recycle Bin?" "(Yes/No)" read ans case "$ans" in Yes) echo "$(readlink -f "$1")" >> ...
0
votes
0answers
5 views

Connect Asus Zenfone 5 to Linux box

I have Asus Zenfone 5 phone and now I want to connect the device to my Debian 7 via USB to mount inner phone storage as external disk. So after it was connected I see in logs: dmesg [79836.644019] ...
2
votes
1answer
16 views

Windows 7 boot option missing after installing CentOS 7, how can I get it back?

After installing Centos7, windows 7 is not showing at the boot time. Centos 7 is accessible. My boot folder entries: [root@localhost boot]# ls -ltr total 89176 -rw-------. 1 root root 2840084 Jun ...
0
votes
1answer
8 views

Cannot stat error?

Running a "restore" script which moves a file previously deleted (moved to a trashbin folder) back to where it came from. Running the secondary script I receive this error... "mv: cannot stat `test': ...
4
votes
1answer
39 views

extracting a subset of lines from a large text file

I have a large file with 9 columns, tab delimited. This file is about 39MB, with about 250,000 lines. The last column, column 9, has information like this (note that this is all one column - thie ...
0
votes
0answers
4 views

rtl8812au wireless driver installation on Centos 7

I have a fresh install of Cent OS 7 with the Gnome desktop environment. I have been trying to install rtl8812au wireless drivers found at https://github.com/gnab/rtl8812au for my Netgear A6100 WiFi ...
2
votes
2answers
17 views

Man page highlight color

To colorize my man pages, I put this code from archlinux.org into .bashrc: man() { env LESS_TERMCAP_mb=$'\E[01;31m' \ LESS_TERMCAP_md=$'\E[01;38;5;74m' \ LESS_TERMCAP_me=$'\E[0m' \ ...
1
vote
0answers
7 views

Openbox shortcut double click

I wonder, is it possible in openbox to create shortcut to application where click one button twice triggers some command. For example to run dmenu I want to click ` twice fast. If it's not possible ...
0
votes
0answers
5 views

Uninstall apache2 when apt-get claims it's not installed?

I restarted the VPS today only to find out that Nginx refused to start. As it turns out, Apache2 was running on the server already. Naturally, I stopped it and started Nginx, but I never installed ...
0
votes
1answer
25 views

Mount .img file

I'm trying to mount an img file but I can't seem to do it successfully. When I fun the file command on that .img it returns the following: $ file file.img file.img: data When I try to use mount ...
1
vote
0answers
19 views

trash and restore script - issue restoring

#!/bin/bash echo "Are you sure you want to move this file to the Recycle Bin?" "(Yes/No)" read ans case "$ans" in Yes) echo "$(readlink -f $1)" >> "$HOME/TrashLog" && mv "$1" ...
1
vote
1answer
7 views

How do I adjust kubuntu's maximum screen resolution?

I have seen multiple solutions to problems similar to this online, but not one that worked for me. I am kind of a Linux newbie. I am running Kubuntu 14.10. My screen resolution is currently at 1024 x ...
0
votes
0answers
14 views

editing a document opened by vi in CentOS 7

When I type vi $var_name/pathto/somefile.xml in the terminal in CentOS 7, it opens the requested file as read-only. This is true even though I am using the terminal as root after first typing su -. ...
2
votes
1answer
20 views

Change Text File Encoding without knowning the source encoding

I want to change the charset encoding for a file in unix with a single command but since this will be an automated process it's impossible for me to know the source encoding. So I want a command that ...
0
votes
0answers
7 views

Can rsyslogd write to more than one named pipe

If I have the following two lines in the rsyslogd.conf *.* |/var/run/rsyslog/pipe1 *.* |/var/run/rsyslog/pipe2 Will all messages be sent to both pipes? I have two programs that want to inspect ...
0
votes
0answers
9 views

No login prompt on serial console

I have connected a USB-to-serial cable from OS X to a Banana Pi board running Arch Linux ARM, distributed by Lemaker. The connection itself works well - I see all the boot messages on startup, I can ...
2
votes
0answers
12 views

Programmatically get CPUs 'detailed' usage, like top/htop

htop has a great way to show CPU usage. It shows the activity (usage in %) of each cores, and each core gauge is divided into three parts : blue: low priority processes green: normal processes red: ...
0
votes
0answers
3 views

Bluetoothctl: No default controller available

I'm having issues with connecting my Logitech K810 Bluetooth keyboard in Debian Jessie with BlueZ version 5.23-1, kernel 3.16.0-4. The keyboard works fine most of the time but sometimes it doesn't ...
0
votes
1answer
13 views

defining rename command scope; replace word; replace entire file name; wildcards

Im looking to use the rename command to edit file names. More specifically, Im trying to isolate specific pieces to change, or in some cases, the whole name. For example: Lets say I have three ...
0
votes
2answers
11 views

moving a file to a folder with root privileges in CentOS 7

I am reading a tutorial that wants me to place a script file called script.sh into a folder called /etc/profile.d/. However, when I try to save the script.sh file in that directory, the gedit tool ...
0
votes
0answers
7 views

Unable to type input to serial command interface

I am trying to communicate with a device with a serial command interface. dmesg shows that: [ 2465.467579] usb 3-1: FTDI USB Serial Device converter now attached to ttyUSB0 ls -pla /dev/ttyUSB* ...
3
votes
1answer
21 views

Reverse DNS does not match SMTP Banner for multidomain hosting

We are planing for mail hosting, we are going to host multiple customer mail domain on single public IP. Now how i am going to set PTR record per customer? because i have single IP and it has to be ...
-1
votes
0answers
29 views

ssh: connect to host xyz port 22: connection timeout

Hi I am relatively new to ssh and trying to connect to remote computer via SSH using bash in unix environment. I was able to connect the first time. But later on got a connection timeout error. I ...
0
votes
0answers
11 views

LAMP CentOS page/folder Outbound Inbound bandwidth monitor

I have a site, the server provide only allow 2000GB/month ($0.02/GB extra). I have monitor the bandwidth in my control panel, every day, i have about 12GB Inbound, but 100GB+ Outbound, a number very ...
1
vote
0answers
7 views

How to remove XTerm button from the Icewm taskbar

I'm using preinstalled on opensuse icewm-lite as distraction-free environment, and already got rid of the menu/start button. Is there an option to disable XTerm button too?
2
votes
3answers
47 views

Writing a script that outputs local users and their password expiration date

I'm new to Linux and scripting, and was doing a practice problem and am stuck on it. I'm supposed to write a script that outputs local users real name and their password expiration information. This ...
3
votes
2answers
66 views

Using `case` to handle script arguments

Can I use the case statement to handle arguments? So, using -restart I'd like execute "-umount" and "-mount" #!/bin/bash case "$1" in -mount mount /ip/share1 /local/share1 ;; -umount umount ...
1
vote
1answer
16 views

systemd keeps unmounting a removable drive

I have following line in /etc/fstab: UUID=E0FD-F7F5 /mnt/zeno vfat noauto,utf8,user,rw,uid=1000,gid=1000,fmask=0113,dmask=0002 0 0 The partition is freshly created by gnome-disks under the ...
0
votes
0answers
15 views

udev rule not working with su [duplicate]

I want to run a simple script when I plug in a monitor, and here is my rule: KERNEL=="card0", SUBSYSTEM=="drm", ENV{DISPLAY}=":0", ENV{XAUTHORITY}="/home/user/.Xauthority", RUN+="/home/user/auto.sh" ...
1
vote
0answers
4 views

monkeysphere to gnupg 2.1 workflow change

So, like many people, I was using my GPG key for SSH authentication with the help of monkeysphere , so I could load my private key to agent with monkeysphere s command and be free to connect anywhere ...
2
votes
2answers
42 views

setting mysql root password in CentOS 7

How can I log into the mysql 5.6 command line client and reset the root password in Centos7? I read the following at this link, but it does not work: 1) sudo service mysqld stop 2) sudo service ...
11
votes
2answers
662 views

What does `kill -0` do?

I recently came across this in a shell script. if ! kill -0 $(cat /path/to/file.pid); then ... do something ... fi What does kill -0 ... do?
1
vote
1answer
19 views

How do I put a time stamp with: wget --output-file=[FILENAME] [URL]

So I've been trying to put a timestamp on some images I'm downloading from a webcam, but so far it's been saving the images with the names camera3_date' here's my line that I enter: wget ...
0
votes
0answers
18 views

How sane are my hard disks? [on hold]

Some time ago, my professor dropped a fact(oid) in lecture about Microsoft researchers finding a correlation between data integrity and hard disks passing through flight (i.e. their people taking ...
0
votes
0answers
10 views

Lot of dependencies while uninstalling libimobiledevice2 library

I want to remove package libimobiledevice2 and install package libimobiledevice5. Unfortunately there is a problem: libimobiledevice2 has many odd dependencies. When I type: apt-get remove ...
0
votes
0answers
13 views

Installing Debian 7 (Wheezy) on VMWare Fusion

I'm trying to install Debian 7 x64 on to VMWare Fusion Professional 7.0.1 (on Mac OS X 10.10.1): I downloaded debian-7.7.0-ia64-netinst.iso and tried to start a VM with it and got the following: ...
4
votes
3answers
20 views

Horizontal scrolling in smaller increments with less -S

I'm using less to parse HTTP access logs. I want to view everything neatly on single lines, so I'm using -S. The problem I have is that the first third of my terminal window is taken up with metadata ...
1
vote
0answers
11 views

Shared NTFS partition conflict, files written under Debian gone

I have a dual-boot W7-Debian Jessie on my laptop, and a NTFS partition initially left for sharing data between OS and keeping big files. With myself getting used to Linux, rebooting to windows became ...

15 30 50 per page