Blogging All About BSDs
  • About
  • Blog Submission
  • Contact

Posts by nixCraft

scp: Do not Overwrite Existing File O...

May 10, 2013 ~ Written by nixCraft
I am a new Linux user. I use scp to upload files to net-storage provided CDN company. I do not want to overwrite the existing files. How can I prevent overwriting of files when using scp command under Linux, Mac OS X or Unix like operating systems?Read answer to: \"scp: Do not Overwrite Existing File On Linux or (Read more...)
~ read more ~

Vi / Vim: Wipe and Undo All Changes S...

Apr 28, 2013 ~ Written by nixCraft
I am a new vi / vim text editor user and I know how to quit without saving changes. What if I want to wipe out all of the edits I have made in a session and get back to the original file? How do I wipe all changes since opening a file?Read answer to: \"Vi / Vim: (Read more...)
~ read more ~

SSH: WARNING: UNPROTECTED PRIVATE KEY...

Apr 09, 2013 ~ Written by nixCraft
I\'m setting up server on an Amazon EC2 compute instance powered by Suse Enterprise Linux server. I am using the following command to login into the my EC2 compute from OS X/Ubuntu desktop: ssh -i suse-ec2-server-jp.pem root@ec2-xx-yy-zzz-yyy.compute-1.amazonaws.comI am getting the following error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ [...]
~ read more ~

Linux / Unix Bash Shell List All Buil...

Mar 19, 2013 ~ Written by nixCraft
Builtin commands are contained within the bash shell itself. How do I list all bash builtin commands under Linux / Apple OS X / *BSD / Unix like operating systems without reading large bash man page?Read answer to: \"Linux / Unix Bash Shell List All Builtin Commands\"    
~ read more ~

Linux / Unix Find Command: Avoid Perm...

Mar 10, 2013 ~ Written by nixCraft
When I type find . -type d -name \"foo\" command I get Permission denied error messages. How do I exclude all \"permission denied: messages from the find command under Linux or Unix like operating systems?Read answer to: \"Linux / Unix Find Command: Avoid Permission Denied Messages\"    
~ read more ~

HowTo: Use pwd Command In Linux / UNI...

Mar 09, 2013 ~ Written by nixCraft
How do I use the pwd command in Linux or Unix like operating systems? How can I use pwd command in UNIX or Linux shell scripts for automation purpose?Read answer to: \"HowTo: Use pwd Command In Linux / UNIX\"    
~ read more ~

Vi / Vim: Save And Quit The Editor Co...

Feb 21, 2013 ~ Written by nixCraft
I am a new vi (vim) text editor user. How do I quit the vi editor and save my changes under Linux or Unix like operating systems?Read answer to: \"Vi / Vim: Save And Quit The Editor Command\"    
~ read more ~

Linux/Unix: Cat Command Display Line ...

Feb 03, 2013 ~ Written by nixCraft
How do I use the cat command to display the line numbers for a file called myapp.c under Linux or Unix like operating systems?Read answer to: \"Linux/Unix: Cat Command Display Line Numbers\"    
~ read more ~

Vi / Vim: Quit Without Saving Command

Jan 21, 2013 ~ Written by nixCraft
I am a new vi / vim text editor user. How can I quit the vi / vim text editor without saving my changes to a file under Linux / Unix like operating systems?Read answer to: \"Vi / Vim: Quit Without Saving Command\"    
~ read more ~

Squid Proxy Server Change Outgoing IP...

Jan 15, 2013 ~ Written by nixCraft
I have Squid caching proxy server deployed on Rackspace based server in UK. This server has four IP address. I would like to change outgoing IP addresses from default 1.2.3.1 to 1.2.3.4. How do I change proxy server outgoing IP address under Linux or Unix operating systems?Read answer to: \"Squid Proxy Server Change Outgoing IP Address\" &nbs [...]
~ read more ~

MySQL Server: Bind To Multiple IP Add...

Dec 06, 2012 ~ Written by nixCraft
I have MySQL database system running on FreeBSD. The server has multiple ip address. The mysqld used by many websites hosted on two other CentOS based servers. I would like to bind MySQL sever running on Unix / Linux server to more than one IP address such as 202.54.1.2, 202.54.1.10, and 202.54.1.15. How can I bind mysqld to multiple ips? (Re [...]
~ read more ~

Linux / Unix: Unicode and HTML Charac...

Dec 04, 2012 ~ Written by nixCraft
I need to replace special characters with equivalent hexadecimal unicode under Linux or Unix like operating system. How do I list or find out unicodes for given characters?Read answer to: \"Linux / Unix: Unicode and HTML Characters Lookup By Name or Number\"    
~ read more ~

Fix: VIM UP and Down Keys Inserting A...

Nov 28, 2012 ~ Written by nixCraft
I am login to a remote server using a ssh client. I am annoyed with the arrow key behavior during insert mode in Vim. As soon as I hit arrow keys, vim display A B C D on screen. How do I fix this problem under Unix like operating systems?Read answer to: \"Fix: VIM UP and Down Keys (Read more...)
~ read more ~

Linux / Unix: Rsync Copy Hidden Dot F...

Nov 09, 2012 ~ Written by nixCraft
How do I use the rsync tool to copy only the hidden files and directory (such as ~/.ssh/, ~/.foo, and so on) from /home/jobs directory to the /mnt/usb directory under Unix like operating system?Read answer to: \"Linux / Unix: Rsync Copy Hidden Dot Files and Directories Only\"    
~ read more ~

Linux / Unix: sed Command Print Only ...

Oct 19, 2012 ~ Written by nixCraft
I see many examples and man pages on how to do operations like search-and-replace using sed. But, I want to match a given string or a regular pattern expression and display on the screen. How do I print lines with matching pattern using sed command only under Unix like operating systems?Read answer to: \"Linux / Unix: sed Command (Read more [...]
~ read more ~

Linux / Unix: Find Out DNS Server IP ...

Oct 03, 2012 ~ Written by nixCraft
How do I find out my DNS server IP address assiged my my ISP under Unix or Linux operating system using command prompt? How do I find preferred dns server under Debian / Ubuntu / Fedora Linux desktop system?Read answer to: \"Linux / Unix: Find Out DNS Server IP Address / Names\"    
~ read more ~

Bash History: Correct / Repeat The La...

Aug 12, 2012 ~ Written by nixCraft
I often type the wrong command as follows under Linux bash shell: rsync -av dir1 user@server1.cyberciti.biz:/path/to/dir1 OR cp -av file1*.txt file2*.txt /path/to/dest I need to correct those command as follows: rsync -av dir5 user@server1.cyberciti.biz:/path/to/dir1 cp -av delta1*.txt delta2*.txt /path/to/dest How do I replace dir1 with dir [...]
~ read more ~

Linux / Unix: lftp Command Mirror Fil...

Aug 05, 2012 ~ Written by nixCraft
How do I mirror files from remote ftp server using lftp command? How do put the entier directory from a local disk to a remote ftp server (reverse mirror) using lftp command under Linux and Unix like operating systems?Read answer to: \"Linux / Unix: lftp Command Mirror Files and Directories\"    
~ read more ~

PHP: Require_once(): Unable To Alloca...

Jul 20, 2012 ~ Written by nixCraft
I\'m running PHP version 5.3.3 on CentOS / RHEL 6.x with APC php-pecl-apc-3.1.9. However, I\'m getting the following warnings in my php server log file:[01-Jul-2012 10:50:49] PHP Warning: require_once(): Unable to allocate memory for pool. in /var/www/html/includes/admin.php on line 57 [18-Jul-2012 17:00:08] PHP Warning: include_once(): Un [...]
~ read more ~

Linux / Unix: Rsync Resume Partially ...

Jul 02, 2012 ~ Written by nixCraft
I know wget command can resume downloads. H>ow do I resume partially transferred files using rsync command line under Unix like operating systems?Read answer to: \"Linux / Unix: Rsync Resume Partially Downloaded Files\"    
~ read more ~
Page 1 of 212ยป

Pages

  • About
  • Contact
  • Blog Submission
  • Book review – Absolute OpenBSD 2nd Edition
  • Book review – DNSSEC Mastery

 Subscribe in a reader

Categories

  • aboutBSD.net
  • alp's notes
  • blog.netbsd.org
  • blog.pcbsd.org
  • BSDTalk
  • chfl4gs
  • Dan Langille's Other Diary
  • dan.langille.org
  • DragonFlyBSD Digest
  • Dru Lavigne – A Year in the Life of a BSD Guru
  • FreeBSD
  • FreeBSD Foundation
  • freebsd.stokely.org
  • meetBSD: meet the BSD systems
  • Murray's FreeBSD Notes
  • NetBSD
  • NetBSD Blog
  • nixCraft : FreeBSD
  • Official PC-BSD Blog
  • OpenBSD
  • OpenBSD Journal
  • PC-BSD
  • PsyberMonkey
  • Takizo
  • The FreeBSD Diary
  • Uncategorized
  • Warner's Random Hacking Blog
  • www.alp-notes.blogspot.com
  • www.bsdimp.blogspot.com
  • www.bsdtalk.blogspot.com
  • www.cyberciti.biz
  • www.freebsd.org
  • www.freebsddiary.org
  • www.freebsdfoundation.org
  • www.meetbsd.org
  • www.netbsd.org
  • www.pcbsd.org
  • www.scratching.psybermonkey.net
  • www.shiningsilence.com/dbsdlog
  • www.systems.takizo.com
  • www.undeadly.org

Pure Line theme by Theme4Press  •  Powered by WordPress Blogging All About BSDs