#linux commands
Explore tagged Tumblr posts
learnstowin · 3 years ago
Text
4 notes · View notes
Text
Alternative to Session/Display Manager:
I hate display managers, because they’re set up to work with desktop environments, not bare window managers. Here’s my solution.
I write a .xinitrc-style file for each window manager I care to have on my system.
I put them each in directories under a directory I made, ~/.sessions, like so.
~/.sessions/”1 i3-gaps” ~/.sessions/”2 CWM”
and so on. Lastly, I put an empty folder called “6 Console.”
then I put the following script in a file called z-login.sh in /etc/profile.d:
if [[ "$LOGNAME" == "alloca" ]] # substitute your username here then        if [[ "`tty`" == "/dev/tty1" ]]        then                clear                figlet Welcome                echo ls -1 /home/alloca/.sessions | /bin/sh | fzf +m --layout=reverse-list --prompt="Choose a Desktop: " --no-info --height=7 | read sessionpath                if [[ "$sessionpath" == "6 Console" ]] # Replace this with whatever number your empty folder ended up being.                then                        clear                else                        startx /home/alloca/.sessions/"$sessionpath"/init                        logout                fi        fi fi
Make sure you have fzf and figlet installed for this. If you don’t want an ascii art “Welcome” banner you can just delete the “figlet Welcome” line instead. Also make sure you don’t have a session manager activated in systemd.
fzf is like dmenu for the terminal. I’ve used several programs that badly want to be fzf, but it took me this long to find fzf itself!
You’ll login at the console logind prompt, then after all the other login scripts, z-login.sh will be run automatically, and you will see a very elegant and minimalist menu.
This is what it looks like, though this is a dry run in a terminal:
Tumblr media
3 notes · View notes
protechguides · 4 years ago
Text
In this session, You will learn how to use the sort command in Linux. It is used to sort the content of a file. Let's see how you can use it,
3 notes · View notes
edumotivation1 · 4 years ago
Link
In my previous article, I had explained how to create a new user in Linux. Today you will learn how to modify an existing user account in Linux using the usermod command.
usermod stands for “User Modification”.
As a Linux Administrator, many times you get requests for modifications in existing User such as change the primary group of the user, add a user to one/multiple supplementary groups, change login name, Lock or Unlock an account, change the Home directory, change UID or GID and so on.
You have to run the usermod command as a root user because upon running this command, it makes changes to the following important configuration files whose owner is root.
/etc/passwd
/etc/shadow
/etc/gshadow
/etc/group
3 notes · View notes
fu11circ1e · 11 years ago
Link
The wargames offered by the OverTheWire community can help you to learn and practice security concepts in the form of fun-filled games.
3 notes · View notes
tpointtechblog · 2 years ago
Text
Essential Linux Commands: Mastering the Basics of Command-Line Operations
Linux, a powerful and versatile operating system, offers a command-line interface that empowers users with unprecedented control over their systems. While the graphical user interface (GUI) provides ease of use, understanding the fundamental Linux commands is essential for anyone seeking to harness the full potential of this open-source platform. In this article, we will explore some of the…
Essential Linux Commands help users navigate, manage files, and control system processes. Here are some key ones:
ls – List directory contents
cd – Change directory
pwd – Show current directory path
mkdir – Create a new directory
rm – Remove files or directories
cp – Copy files or directories
mv – Move or rename files
cat – View file contents
grep – Search text in files
chmod – Change file permissions
top – Monitor system processes
ps – Display running processes
kill – Terminate a process
sudo – Execute commands as a superuser
Mastering these commands boosts productivity and system control!
2 notes · View notes
womanpowerpkb · 2 years ago
Link
2 notes · View notes
techtutorial-ark-blog · 7 years ago
Text
Linux Commands can be used in Regular Day to Day Activities
Linux Commands can be used in Regular Day to Day Activities
There are N Number commands in Linux Operating system for doing different kind of works. Out of all I am going to provide you an 80 Linux commands List which are mostly used in Day to Day Activities. Of-course Learning important Linux commands first is the most easy to go.
Linux Commands Starts from Here
1. alias Linux Command A way…
View On WordPress
2 notes · View notes
protechguides · 4 years ago
Text
2 notes · View notes
likegeeks · 2 years ago
Text
1 note · View note
linuxshelltips · 3 years ago
Link
1 note · View note
frugalisminds · 3 years ago
Text
1 note · View note
techiio · 3 years ago
Link
In this Linux/Unix command line cheat sheet, you will learn: Basic Linux commands, File Permission commands, Environment Variables commands, User management commands of Linux Networking command Process.
1 note · View note
sqrt4819136400 · 4 years ago
Link
1 note · View note
techyinfo · 4 years ago
Text
Linux pentesting tools in android. Best hacking tools that will make you a professional. let's Install them in Termux
1 note · View note
protechguides · 5 years ago
Text
LINUX Is One Of The Most Popular Operating System. Almost All Servers around The World is linux Based. So I Recommend Everyone Must learn Atleast Basic of Linux | How linux works | It's Filesystem | Basic Commands.
2 notes · View notes