I would like to export my emails from my email account on a linux email server to Gmail. So I was wondering how to get its incoming and outgoing hostnames and ports and get to know if it supports POP3 or IMAP? For example, by some commands that I can run on the server's bash shell?
Thanks and regards!
Every time I reopen the MSYS console (not cmd.exe) I find that the aliases that I have added to the shell are cleared. How can I save my aliases so that I do not to reenter them on every use?
For example:
$ alias desktop="cd=C:/Users/Superuser/Desktop"
$ alias
clear='clsb'
desktop='cd=C:/Users/Superuser/Desktop'
Upon restarting:
$ alias
clear='clsb'
How can I preserve my aliases?
Case:
A Windows share mounted using samba over a flaky VPN connection (sometimes very slow, sometimes it drops)
When doing tab-completion on filenames, my bash shell can freeze up if the VPN is slow or dropped when I am attempting the tab completion.
Example:
$ cp myfile.zip /mnt/winbox-c/Progr<tab> key pressed here
Is there a bash key I can press to get bash out of its hung state when something like this happens?
I'm right now busy with moving the first steps into Linux, i'm using a bash shell within a mac osx
I see in all tutorials that in order to launch an application from the bash its necessary to cd to its directory and simply type the name of the app.
This is exatly what i'm doing and it does not work (i have on my desktop a 'Eclipse' folder with the launcher icon in it):
cd Desktop
cd Eclipse
Eclipse.app
Why will this not work?
I read everywhere that typing the name of the app its enough
In a linux shell, I want to make sure that a certain set of files all begin with <?, having that exact string and no other characters at the beginning. How can I grep or use some other to express "file begins with"?
Hi I have HP pivilion dv2-1117e entertainment nootbook.I have installed window XP but I don't have the vedio,audio,WLAN drivers Pleas help me and if possible informe me on "[email protected]"
I shell be very thankful to you forever.
Note, there's already a question on this regard, but it's totally useless.
I need to blur, or put a small opaque mask to a moving object on a movie I took, I am using Mac OS X. Clearly, I don't want to shell out a lot of money for something so simple, so getting Adobe Premiere or similar software is a no go. I could however consider paying a small software (max 30 dollars) for this specific task.
I can connect remotely to my unix server via SSH, both ftp and shell mode using port 22. However I am not able to do so in Visual Studio. I want to be able to edit files live in a GUI interface.
Any solutions for this?
Thanks!
I am using gprint as a shell call to print pdf files. I have to install the network printer first, but the program runs under a different account. Is there anyway to install a network printer under Windows XP so that it is available to all accounts on the machine?
I have Fedora 19 as Dom0. To create image I run
# xen-create-image --hostname=debian-wheezy --memory=512Mb --dhcp --size=20Gb --swap=512Mb --dir=/xen --arch=amd64 --dist=wheezy
After generation finished I start vm and see:
# xl create /etc/xen/debian-wheezy.cfg
Parsing config from /etc/xen/debian-wheezy.cfg
libxl: error: libxl_dom.c:409:libxl__build_pv: xc_dom_ramdisk_file failed: No such file or directory
libxl: error: libxl_create.c:919:domcreate_rebuild_done: cannot (re-)build domain: -3
In the /etc/xen/debian-wheezy.cfg i have
#
# Kernel + memory size
#
kernel = '/boot/vmlinuz-3.11.2-201.fc19.x86_64'
ramdisk = '/boot/initrd.img-3.11.2-201.fc19.x86_64'
and ls -1 /boot/*201* shows
/boot/config-3.11.2-201.fc19.x86_64
/boot/initramfs-3.11.2-201.fc19.x86_64.img
/boot/System.map-3.11.2-201.fc19.x86_64
/boot/vmlinuz-3.11.2-201.fc19.x86_64
Then if I fix ramdisk directive in .cfg file to /boot/initramfs-3.11.2-201.fc19.x86_64.img vm will start but os inside will not boot. In a tail of xl console I get
[ OK ] Reached target Basic System.
dracut-initqueue[130]: Warning: Could not boot.
dracut-initqueue[130]: Warning: /dev/disk/by-uuid/085883ad-73ca-45cc-8bc5-e6249f869b26 does not exist
dracut-initqueue[130]: Warning: /dev/fedora/root does not exist
dracut-initqueue[130]: Warning: /dev/fedora/swap does not exist
dracut-initqueue[130]: Warning: /dev/mapper/fedora-root does not exist
dracut-initqueue[130]: Warning: /dev/mapper/fedora-swap does not exist
dracut-initqueue[130]: Warning: /dev/xvda2 does not exist
Starting Dracut Emergency Shell...
Warning: /dev/disk/by-uuid/085883ad-73ca-45cc-8bc5-e6249f869b26 does not exist
Warning: /dev/fedora/root does not exist
Warning: /dev/fedora/swap does not exist
Warning: /dev/mapper/fedora-root does not exist
Warning: /dev/mapper/fedora-swap does not exist
Warning: /dev/xvda2 does not exist
Generating "/run/initramfs/sosreport.txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/sosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.
dracut:/#
.img files in /xen/domains/debian-wheezy exists and listed in disk section of debian-wheezy.cfg
So what should i do?
Update:
I've found that xl does not mount images. In debian-wheezy.cfg I have that:
root = '/dev/xvda2 ro'
disk = [
'file:/xen/domains/debian-wheezy/disk.img,xvda2,w',
'file:/xen/domains/debian-wheeze/swap.img,xvda1,w',
]
And there is no /dev/xvda* or /dev/sda* or /dev/hda* files in VM.
I am using Curl, and am having a problem trying to get it to recognize the $http_proxy environment variable when using sudo curl. I tried putting export http_proxy=.... in my /etc/profile and restarting the shell, to no avail. I would rather not use su -l and run the command while logged in as root.
Hi,
We are organizing a Linux 101 Workshop for undergrad and grad students. Can you share some ideas/topics that are must for people who are just starting with Linux.
Preconditions: No knowledge of Linux OS, philosophy and technical aspects (kernel, shell, commands)
Post conditions: A basic crash course of Linux which will give them a good start and answer some basic questions asked on it.
I need to run a (Tcl, or whatever) script on a remote Unix machine, from a (local) Windows command shell, and I want the stdout/stderr of the script to show up in the Windows CLI. The exit code would also be useful.
Is this possible using ssh (putty)? Or by any other means?
Thanks!
I have enable the ips in WHM for remote mysql but still i am not able to connect it.
Is there any shell command for mysql which i can type to check the remote connectivity
I mean any command to execute on server itself where mysql is installed
or
Any command to execute of local linux to check connectivity on remote MYsql server
OS remote :Centos 5.4
local OS : Ubuntu
Hi,
I want to use a *nix shell command to find all UTF-16 encoded files (containing the UTF-16 Byte Order Mark) in a directory tree. Is there a command that I can use?
Regards,
Jochen
I've got a team of web programmers that need to edit HTML and CSS that is stored on a linux server. They're all using Windows on their desktops. Rather than either teaching them to use vi/vim in a shell window or editing locally and copying using an SFTP client, I think it'd be easier to install a text editor which can transparently do the network negotiation.
To reiterate, here are the requirements:
Runs on Windows
Can open file over sftp/ssh
syntax highlighting for css/html
Hi,
I have a uploader using applet and jsp,so after it is uploaded the owner is tomcat so it is not accessible by php i mean apache. its throughs error.i changed chown in php and directly in shell access. still i ant access that directory through php. please check my image.
How do you allow a user to log in using "su - user" but prevent the user from login in using SSH?
I tried to set the shell to /bin/false but the when I try to su it doesn't work.
Are there several ways to only allo logins by su?
Is SSH's AllowUser the way to go? (how would I do this if it's the way to go)
I added Linux boxes to /etc/hosts.equiv and .rhosts file for rsh connectivity to HP box.
I am able to do rsh as root from Linux to HP. But if I run in a root shell as different user connection times out. Any reason?
How can restore windows power shell to windowed mode? ive set it to open in full screen, however i now cant find a way to restore it to windowed mode.?
Is there is any way I can copy locked files on windows xp machine without having admin rights? I used unloker tool its great but needs admin rights to install and run. how it could be done in some programming language like perl/shell/c c++ etc. or if there exists some workaround for this.
The Windows 7 Aero interface looks great, but after looking at it for months it gets boring. So I was wondering - is it possible to create advanced skins for Windows 7 that use full Aero capabilities but are redesigned from ground up, including common controls, animations, effects, etc? Windows XP allowed that, although only with a patched uxtheme.dll.
Or do you have to implement a custom shell for that?
hey guyz i have a function
$result = create_watermark( 'input_file_name' ,'output_file_name');
i have dir called /images n have 500 images in it and all images are link images_(some_unknown_numbers).png (all png) now i want run them thru function in loop and want out put like /markedimage/images_1.png images_2.png images_3.png
i need help how can i run them in loop and how out put name can change
want run script on Ubuntu so we can use shell too
if any body want check function it is here
http://paste2.org/p/789149
plz provide me code because i m newbie
thanks in advance
We have hp rp2470 server running hp-ux 11.00, with LVM mirroring. As for redundancy we have second rp2470 same hw (same two processors, same ram, same two hdd’s, same number of lan cards).
I want to clone first one to the second. For that purpose I am making ignite tape with the following command: make_tape_recovery -x inc_entire=vg00
Ignite tape finishes without problems. When I boot second server from this ignate tape, server is starting to boot, and ignite restore finishes without any errors, only few notes, which are normal.
However vmunix is not booting and when restore finishes, it boot to ISL prompt.
From this I cannot boot /stand/vmunix.
I tried to run recovery shell but no success. When recovery shell ask to do frecover to restore critical files, then I receive error: frecover(5405): unable to open /dev/rmt/0m
At first I thought that the problem might be in the difference of the firmware version of the servers:
fw version of production server is: Firmware Version 43.50
and fw version of backup server is: Firmware Version 42.19
So i did a fw upgrade of my backup server so that both servers are v43.50, and tried a recovery but again cant boot the system.
Next I did another archive tape with -I (Interactive) flag:
make_tape_recovery -I -x inc_entire=vg00
and tried recovery with it, again no good.
I cannot find any error or warnings on ignite log, and I cannot boot hpux. I am only on ISL prompt.
This is what i've noticed on the gsp logs:
************* SYSTEM ALERT **************
SYSTEM NAME: mcnfwim1
DATE: 07/27/2003 TIME: 10:18:49
ALERT LEVEL: 6 = Boot possible, pending failure - action required
REASON FOR ALERT
SOURCE: 8 = I/O
SOURCE DETAIL: 6 = disk SOURCE ID: 0
PROBLEM DETAIL: 0 = no problem detail
LEDs: RUN ATTENTION FAULT REMOTE POWER
FLASH OFF ON ON ON
LED State: Boot Failed. Running non-OS code.
Check Chassis and Console Logs for error messages.
0x00000060860010B0 00000000 00000000 - type 0 = Data Field Unused
0x58000860860010B0 00006706 1B0A1231 - type 11 = Timestamp 07/27/2003 10:18:49
And another gsp log:
Log Entry # 3 :
SYSTEM NAME: mcnfwim1
DATE: 07/27/2003 TIME: 10:12:20
ALERT LEVEL: 6 = Boot possible, pending failure - action required
SOURCE: 8 = I/O
SOURCE DETAIL: 6 = disk SOURCE ID: 0
PROBLEM DETAIL: 0 = no problem detail
CALLER ACTIVITY: 1 = test STATUS: 0
CALLER SUBACTIVITY: 0B = implementation dependent
REPORTING ENTITY TYPE: 0 = system firmware REPORTING ENTITY ID: 00
0x00000060860010B0 00000000 00000000 type 0 = Data Field Unused
0x58000860860010B0 00006706 1B0A0C14 type 11 = Timestamp 07/27/2003 10:12:20
Type CR for next entry, - CR for previous entry, Q CR to quit.
Please note that I can not change anything on the production server. I can only make changes to the backup server.
Any help is appreciated.