Some time-saving tips for Linux Users Last Updated : 08 Apr, 2017 Comments Improve Suggest changes Like Article Like Report Are you making most out of the Linux? There are lots of helpful features which appears to be time saving Tips and Tricks for many of Linux Users. Sometimes these time saving Tips and Tricks become the need. They help you to get productive with the same set of commands yet with enhanced functionality. Here are some of my favorites time-saving tips that every Linux user should know : Better way to change directory: If you are a command-line user, autojump is a must have package. You can change directory by just specifying a part of directory name. You can also use jumpstat to get a statistics of your directory jumps. $ j log /var/log $ j ard /home/ab/work/arduino Switching between Windows: The windows you create in screen are numbered starting from zero. You can switch to a window by its number. For example, jump to the first window with Ctrl-a 0, the second window with Ctrl-a 1 and so on. It's also very convenient to switch to the next and previous windows with Ctrl-a n and Ctrl-a p respectively. Ctrl-a 0 Ctrl-a 1 Need to execute the last command with sudo, use sudo !! ls -l /root sudo !! # This is equivalent to sudo ls -l /root Quickly locate a file on disk: locate filename System debugging: To know disk/cpu/network status, use iostat, netstat, top (or the better htop), and (especially) dstat. Good for getting a quick idea of what's happening on a system. To know memory status, run and understand the output of free and vmstat. In particular, be aware the "cached" value is memory held by the Linux kernel as file cache, so effectively counts toward the "free" value. Java system debugging is a different kettle of fish, but a simple trick on Sun's and some other JVMs is that you can run kill -3 and a full stack trace and heap summary (including generational garbage collection details,which can be highly informative) will be dumped to stderr/logs. Use mtr as a better traceroute, to identify network issues. For looking at why a disk is full, ncdu saves time over the usual commands like du -sk * To find which socket or process is using bandwidth, try iftop or nethogs. Free up disk space: bleachbit is a neat utility to find and remove files based on application specific knowledge. Undelete for console: libtrash provides trashcan/recycle-bin like functionality for console users. Mute / Unmute Sound: $ amixer set Master on|off Wireless network listing: $iwlist INTERFACE scan Example: $ iwlist wlan0 scan | grep ESSID Finding the biggest files: ls -lSrh Package search: dpkg -S /path/to/file rpm -qf /path/to/file rpm -qa, apt-file are additional useful commands to take a look at. Getting help: man - Make this as habit and learn how to use man whatis - To know the short description of command type - Gives info whether the command is shell built-in, alias or actual path of command Splitting Files: Splits Files into 1024 Megabyte chunks split -b 1024m filename Editing the Command Line: Many highly practical shortcuts can make you faster and more efficient on the command line in different ways: Find and re-run or edit a long and complex command from the history. Edit much more quickly than just using the backspace key and retyping text. Move around much faster than just using the left- and right-arrow keys. Other tips for Everyday use: In bash, use Ctrl-R to search through command history. In bash, use Ctrl-W to kill the last word and Ctrl-U to kill the line. pstree -p is a helpful display of the process tree. Use pgrep and pkill to find or signal processes by name (-f is helpful). To go back to the previous working directory: cd – Comment More infoAdvertise with us Next Article User Management in Linux V Vikas Acharya Improve Article Tags : Linux-Unix Similar Reads Types of User Profile Management in LINUX User profile management is an essential topic in the profile management system, and it describes how the user can handle the profile. Various types of user-profiles management in Linux are - bashrcbash_profilebash_historybash_logoutbashrc Procedures Open the terminal and add the user.useradd t1Switc 1 min read User Management in Linux User management is a core function of Linux system administration. It controls system access, enforces security, and ensures users have the correct privileges for their tasks. Linux supports multi-user environments, making it ideal for everything from personal laptops to large enterprise systems. Ef 8 min read 7 Linux Commands For Managing Users Linux is a fantastic platform that allows multi-user access options. Different users can access the same Linux OS for working simultaneously. A user account allows multiple people to access directories, terminals, the Internet, etc. There are three types of user accounts: User Account: This account 3 min read Top 10 Linux Server Security Tips There are many tools and methodologies to safeguard servers from illegal access and other cyber threats. It is essential for system administrators and cyber-security teams to secure the servers correctly. Most users consider Linux a great system to have a highly secure system. To keep your servers f 8 min read Correct your time in Linux to solve multiple problems Time is of the essence in the digital realm, playing an important role in simple computer systems. For Linux, maintaining accurate system time isnât just a convenienceâitâs important for a variety of interesting reasons. Correcting and optimizing the timing of your Linux system can be key to avoidin 7 min read Pros of using Linux based Operating Systems for Programming Programming is an intricate task that requires a stable, effective, and flexible operating system. Linux-based operating systems have become increasingly popular among inventors due to their multitudinous advantages. This composition explores the benefits of using Linux-based operating systems for p 5 min read Like