Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Ubuntu resolve sudo: source: command not found error     - How to prevent page five invisible killer (Linux)

- High-performance JavaScript DOM programming (Programming)

- Linux common commands MEMO (Linux)

- Install minimize RHEL / CentOS 7 things to do (Linux)

- Linux configuration startup mount: fstab file (Linux)

- MySQL Data Types (Database)

- MongoDB relations, references, index query coverage (Database)

- AngularJS - Custom instructions (Programming)

- OpenSSH version smooth upgrade method (Linux)

- X security settings in Ubuntu (Linux)

- Oracle row and column switch to turn columns (Database)

- To compile and install Redis Linux and master-slave replication configuration (Database)

- ORA-04091 and Compound Trigger (Oracle 11g) (Database)

- MySQL full-index scan bug (Database)

- Using DBMS_STAT function closes mission (Database)

- Java implementation linear table - represents the order of representation and chain (Programming)

- Fedora && Arch Linux - the most romantic thing to happen now (Linux)

- Node.js development environment deployment (Server)

- How do you change the default browser and Email Client in Ubuntu (Linux)

- Oracle view object space usage show_space (Database)

  Ubuntu resolve sudo: source: command not found error
  Add Date : 2017-05-23      
  Execute the following command on Ubuntu Server, you can see the default open file limit of 1024.

$ Ulimit -n


Edit / etc / profile configuration file, add a line at the end:

ulimit -SHn 65535

Let the configuration to take effect:

$ Sudo source / etc / profile

sudo: source: command not found

We direct execution ulimit -SHn 65535 command what will happen?

$ Ulimit -SHn 65535

-bash: ulimit: open files: can not modify limit: Operation not permitted

$ Sudo ulimit -SHn 65535

sudo: ulimit: command not found

But can not find the command prompt, and how to solve this problem after the ordinary user to obtain root privileges?

$ Sudo -s

# Source / etc / profile

Execute ulimit again, we can see that limit the number of open files has been changed to the 65535.

# Ulimit -n

- Rely on IP chain established Linux firewall (Linux)
- Oracle 11g contraction table space error ORA-03297: file contains used data beyondrequested RESIZE value (Database)
- CentOS ClamAV antivirus package updates (Linux)
- Linux Powerful IDE - Geany configuration instructions (Linux)
- Use NTFS-3G to mount NTFS partitions under Linux U disk and removable hard disk (Linux)
- Shell commonly commands (Linux)
- Do you know how to build the Linux kernel (Programming)
- Ubuntu 14.10 How to install office suite Calligra Suite 2.8.7 (Linux)
- Git common skills (Linux)
- Linux command line to put on your coat GUI (Linux)
- Quick Install software RAID on Linux (Linux)
- Offline (local) Yum source structures (Linux)
- Linux 6 use UDEV binding shared storage (Linux)
- Android Notification (Programming)
- Ubuntu update bug fixes Daquan (Linux)
- Download Manager uGet 2.0 installed in Debian, Ubuntu, Linux Mint and Fedora (Linux)
- Deepin Tutorial: Depth Description Installer expert mode (Linux)
- Sniffer install applications in Linux supplement (Linux)
- CentOS 6.5 using Virtualenv under development environment to build Python3 (Linux)
- Xshell upload files to achieve Windows host Linux (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.